:root {
  --ink: #283129;
  --ink-deep: #1e2927;
  --paper: #fff9e9;
  --ivory: #fffdf5;
  --muted: #6e705d;
  --dim: #6f735f;
  --line: #e0d9c1;
  --brass: #a36b1c;
  --orange: #ed753a;
  --gold: #f7c954;
  --red: #d65d2b;
  --lime: #5d8e79;
}
body {
  background:
    radial-gradient(ellipse at 100% 40%, #fce2a655, transparent 50%),
    var(--paper);
}
.top {
  border-bottom: 2px solid #344338;
  background: #fffdf4;
}
.top-inner {
  min-height: 78px;
}
.brand img {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: 2px solid #283129;
}
.brand span {
  font-size: 27px;
  letter-spacing: -0.025em;
}
.top-right .btn,
.mint-nav a {
  font-weight: 750;
}
.btn,
.mint-btn {
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 3px 0 #283129;
}
.btn.primary,
.mint-btn {
  color: var(--ink);
  background: #ffca55;
  border-color: var(--ink);
  box-shadow: 0 4px 0 #283129;
}
.btn:hover:not(:disabled),
.mint-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 #283129;
}
.btn.primary:hover:not(:disabled) {
  background: #ffd675;
}
.btn.ghost {
  border: 1.5px solid var(--ink);
  box-shadow: 0 2px 0 #283129;
}
.mint-hero {
  color: var(--ink);
  background: #e4f2ef;
  border-bottom: 2px solid var(--ink);
}
.mint-hero .hero-art {
  object-position: 65% 46%;
  opacity: 0.7;
}
.mint-hero::after {
  background: linear-gradient(
    90deg,
    #fff8e8 0%,
    #fff8e8ed 28%,
    #fff8e838 63%,
    transparent
  );
}
.hero-inner {
  min-height: 320px;
}
.mint-hero h1 {
  font-size: clamp(58px, 6.2vw, 102px);
  color: var(--ink);
  text-shadow: 3px 3px 0 #fffaf1;
}
.mint-hero h1 em {
  display: inline-block;
  color: #d95f2c;
  text-shadow: 2px 2px 0 #fffaf1;
}
.eyebrow {
  color: #6a754e;
}
.lede {
  color: #314438;
  max-width: 42ch;
}
.mint-desk {
  gap: 26px;
}
.mint,
.mint-guide {
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow:
    0 7px 0 #e4cc91,
    0 14px 25px #5a422610;
}
.mint::before {
  border-radius: 20px 0 0 0;
}
.mint {
  padding: clamp(22px, 3.1vw, 40px);
}
.mint-head h2 {
  font-size: clamp(27px, 3vw, 40px);
}
.status {
  border-color: #bdcebc;
  color: #4d7051;
  background: #edf4e3;
}
.status .dot {
  background: #78a168;
  box-shadow: 0 0 0 4px #dbe8c8;
}
.bar-track {
  background: #eee7cf;
  border-color: #ccc5a8;
  border-radius: 20px;
}
.bar-fill {
  background: linear-gradient(90deg, #f49b3d, #ffd560);
  border-radius: 20px;
}
.stepper {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 3px #ddcda6;
  overflow: hidden;
}
.stepper button {
  background: #fff6d7;
}
.mint input,
.invite input {
  background: #fffef7;
  border-color: #ccc5ab;
  border-radius: 10px;
}
.mint-btn {
  min-height: 58px;
  letter-spacing: 0.025em;
}
.mint-btn:disabled {
  color: #8a7955;
  background: #f4e9cc;
  box-shadow: 0 3px #c8b795;
  border-color: #c7b694;
}
.mint-guide {
  overflow: hidden;
}
.guide-art {
  height: 265px;
  object-fit: cover;
  object-position: center 42%;
  border-bottom: 2px solid var(--ink);
}
.guide-body {
  background: #fff3ca;
  padding: 27px;
}
.fact b {
  color: #755220;
  font-size: 35px;
}
.fact small {
  font-size: 12px;
}
.agent-prompt-card {
  background: #eaf3ed;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px #b1ccb9;
  padding: 28px;
}
.agent-prompt-actions h2 {
  font-size: clamp(22px, 2.4vw, 34px);
}
.card,
.step {
  border: 1.5px solid #c8bfa3;
  border-radius: 16px;
  background: #fffdf4;
  box-shadow: 0 3px #e6d8b6;
}
.card .big {
  font-size: clamp(26px, 3vw, 42px);
}
.step::before {
  color: #b96a24;
}
.baw-sheet {
  border: 2px solid var(--ink);
  border-top: 6px solid #f3b343;
  border-radius: 25px;
  background: #fffbed;
  box-shadow:
    0 8px 0 #3c493332,
    0 24px 80px #263b3c42;
}
.baw-sheet::backdrop {
  background: #31484970;
  backdrop-filter: blur(8px);
}
.baw-qr {
  background: #fff;
  border: 1px solid #ddd2b4;
  border-radius: 14px;
}
.baw-close {
  background: #f5e5b2;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
}
.baw-heading img {
  border-radius: 50%;
}
footer {
  margin-top: 60px;
  padding-block: 30px;
  border-top: 1px solid #d8cfae;
}
@media (max-width: 800px) {
  .mint-nav {
    display: none;
  }
  .top-inner {
    min-height: 70px;
  }
  .chip {
    display: none;
  }
  .mint-desk {
    grid-template-columns: minmax(0, 1fr);
  }
  .mint-guide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  }
  .guide-art {
    height: 100%;
    min-height: 240px;
    border-bottom: 0;
    border-right: 2px solid var(--ink);
  }
  .hero-inner {
    min-height: 260px;
  }
}
@media (max-width: 500px) {
  .brand span {
    font-size: 21px;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .top-right #contractBtn {
    display: none;
  }
  .top-right .btn {
    max-width: 165px;
    padding: 9px 10px;
    font-size: 12px;
  }
  .top-inner {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .mint-hero h1 {
    font-size: 55px;
  }
  .mint-hero .hero-art {
    object-position: 69% center;
  }
  .hero-inner {
    min-height: 245px;
  }
  .mint-guide {
    display: block;
  }
  .guide-art {
    height: 205px;
    min-height: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
  .guide-body {
    padding: 22px;
  }
  .agent-prompt-card {
    padding: 21px;
  }
  .agent-prompt-actions {
    align-items: start;
    gap: 16px;
    flex-direction: column;
  }
  .agent-prompt-actions .btn {
    width: 100%;
  }
  .mint {
    padding: 22px 18px;
  }
  .invite {
    grid-template-columns: 1fr;
  }
  .invite .btn {
    min-height: 44px;
  }
  .facts {
    margin-top: 12px;
  }
  .mint-desk {
    gap: 24px;
  }
}
@media (max-width: 390px) {
  .brand span {
    font-size: 19px;
    max-width: 97px;
    white-space: normal;
    line-height: 0.95;
  }
  .brand em {
    display: block;
    font-size: 15px;
    margin-top: 2px;
    letter-spacing: 0.12em;
  }
  .top-right .btn {
    max-width: 143px;
    font-size: 11px;
    padding: 9px 8px;
  }
}

/* The terminal is a BabyDoge adventure ticket with a detachable invitation stub. */
.mint-desk {
  align-items: start;
  gap: 36px;
}
.mint {
  padding: 0;
  overflow: visible;
  border-radius: 8px;
  background: #edf6f8;
  box-shadow: 5px 7px 0 #d7cfad;
}
.mint::before {
  display: none;
}
.pass-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px clamp(20px, 2.8vw, 36px);
  border-bottom: 1px solid #b6d1d2;
  border-radius: 6px 6px 0 0;
  background: #e0edf0;
}
.pass-top img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}
.pass-top > span {
  color: #294638;
  font: 800 17px/1.1 var(--display);
  letter-spacing: 0.025em;
}
.pass-top small {
  display: block;
  margin-top: 5px;
  color: #66827a;
  font: 700 9px/1.2 var(--sans);
  letter-spacing: 0.18em;
}
.pass-top > a {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  color: #496b61;
  text-underline-offset: 3px;
}
.pass-body {
  padding: clamp(23px, 3vw, 38px) clamp(20px, 2.8vw, 36px) 24px;
}
.mint-head {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.mint-head h2 {
  font-size: clamp(24px, 2.7vw, 35px);
  letter-spacing: -0.035em;
}
.mint-head .status {
  background: #fffaf0;
  border-color: #9ebdae;
  color: #52715b;
}
.bar-meta {
  color: #5d7a76;
  font-size: 14px;
}
.bar-track {
  height: 9px;
  border-color: #b3c9c4;
  background: #dce9e6;
}
.bar-fill {
  background: #f3b741;
}
.row {
  min-height: 52px;
  border-color: #cbded9;
}
.row .k,
.total .k {
  color: #54716b;
}
.row .v {
  color: #293e35;
  font-size: 21px;
}
.stepper {
  border-radius: 7px;
  background: #ffd779;
  box-shadow: 0 2px #adbdaa;
}
.stepper button {
  width: 39px;
  height: 38px;
  background: #ffd779;
}
.stepper input {
  background: #fff2bd;
}
.mint-btn {
  background: #f28b4d;
  box-shadow: 0 4px #354b3e;
  border-width: 2px;
  border-radius: 9px;
  color: #23362b;
}
.mint-btn:hover:not(:disabled) {
  background: #ffa460;
}
.mint-btn:disabled {
  background: #e4ece5;
  border-color: #abbfb2;
  box-shadow: 0 3px #c2d3c6;
  color: #60756c;
}
.pass-stub {
  position: relative;
  padding: 24px clamp(20px, 2.8vw, 36px) 20px;
  border-top: 2px dashed #7e9b8a;
  border-radius: 0 0 6px 6px;
  background: #fff7dc;
}
.pass-stub::before,
.pass-stub::after {
  content: "";
  position: absolute;
  top: -14px;
  width: 25px;
  height: 25px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}
.pass-stub::before {
  left: -15px;
}
.pass-stub::after {
  right: -15px;
}
.pass-stub .field-label {
  margin: 0 0 10px;
  color: #56654e;
}
.pass-stub .invite input {
  background: #fffdf1;
}
.pass-stub .btn {
  background: #ffe4a0;
  border-radius: 8px;
  box-shadow: 0 2px #314638;
}
.pass-stub-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #8c886c;
}
.pass-stub-line span {
  height: 1px;
  flex: 1;
  background: #d8d2b5;
}
.pass-stub-line b {
  font: 600 8px/1.2 var(--sans);
  letter-spacing: 0.16em;
}
.mint-guide {
  border-radius: 7px;
  border-color: #567b65;
  background: #f1f5e8;
  box-shadow: 4px 6px 0 #b9ccb5;
  transform: rotate(1deg);
}
.passport-photo {
  display: block;
  margin: 17px 17px 0;
  padding: 7px 7px 15px;
  background: #fffdf4;
  border: 1px solid #a8b9a0;
  transform: rotate(-1.5deg);
}
.passport-original {
  color: #66583e;
  text-decoration: none;
}
.passport-source {
  display: block;
  background: #fffaf0;
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
}
.passport-original:hover .passport-source {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.passport-photo .guide-art {
  width: 100%;
  height: 220px;
  min-height: 0;
  object-position: center 47%;
  border: 0;
  background: #d8edf3;
}
.guide-body {
  position: relative;
  padding: 25px 26px;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, #67917a0c 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 31px, #67917a0c 32px 33px),
    #f1f5e8;
}
.guide-body .guide-kicker {
  color: #6e8a61;
  letter-spacing: 0.06em;
  font: 600 11px/1.4 var(--sans);
}
.guide-body h2 {
  color: #355641;
  font-size: 25px;
}
.facts {
  margin-top: 19px;
}
.fact {
  border-color: #ccd9bf;
  padding-top: 13px;
  padding-bottom: 13px;
}
.fact:nth-child(2n) {
  border-color: #ccd9bf;
}
.fact span {
  color: #687b60;
  font-size: 11px;
}
.fact b {
  color: #436b4b;
  font-size: 32px;
}
.fact small {
  color: #6b835b;
}
.passport-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px dashed #a8bb9a;
  margin-top: 6px;
  padding-top: 18px;
  color: #6a7d5f;
}
.passport-footer img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #849a72;
}
.passport-footer span {
  font-size: 11px;
  line-height: 1.6;
}
.passport-footer b {
  color: #46643d;
  font-weight: 750;
}
.passport-allocation {
  margin-top: 9px;
  padding-top: 18px;
  border-top: 1px dashed #a8bb9a;
}
.passport-allocation h3 {
  font: 750 12px/1.4 var(--sans);
  color: #637957;
}
.passport-allocation dl {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 10px;
  gap: 20px;
}
.passport-allocation dl > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.passport-allocation dt {
  font: 600 12px/1.5 var(--sans);
  color: #687b60;
}
.passport-allocation dd {
  margin: 0;
  color: #426343;
  font: 800 31px/1 var(--display);
}
.passport-allocation dd small {
  font-size: 14px;
  margin-left: 1px;
}
.allocation-track {
  height: 7px;
  border-radius: 5px;
  overflow: hidden;
  background: #ddbc7a;
}
.allocation-track span {
  display: block;
  height: 100%;
  width: 95%;
  background: #6b9974;
  border-right: 2px solid #f1f5e8;
}
@media (max-width: 800px) {
  .mint-desk {
    gap: 28px;
  }
  .mint-guide {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    transform: none;
  }
  .passport-photo {
    margin: 17px;
    align-self: center;
  }
  .passport-photo .guide-art {
    height: 250px;
  }
  .guide-body {
    padding: 24px 24px 24px 3px;
  }
}
@media (max-width: 500px) {
  .mint {
    padding: 0;
  }
  .mint-head h2 {
    font-size: 25px;
  }
  .pass-top {
    padding: 15px 20px;
  }
  .pass-top > a {
    font-size: 10px;
  }
  .pass-top > span {
    font-size: 15px;
  }
  .pass-top img {
    width: 37px;
    height: 37px;
  }
  .pass-body,
  .pass-stub {
    padding-left: 22px;
    padding-right: 22px;
  }
  .pass-stub .invite {
    display: flex;
    flex-direction: column;
  }
  .pass-stub .invite input {
    flex-basis: auto;
    min-height: 44px;
  }
  .mint-guide {
    display: block;
  }
  .passport-photo {
    margin: 16px 16px 0;
  }
  .passport-photo .guide-art {
    height: 220px;
  }
  .guide-body {
    padding: 23px;
  }
}


