@font-face {
  font-family: Button;
  src: local("Arial");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
.estimate-card { margin: 22px 0; padding: 20px; border: 1px solid #c8c8c0; border-radius: 20px; background: #eff4dc; }
.estimate-card .small { font-size: 14px; line-height: 1.5; }
.weekly-pick { font: 700 14px ui-monospace, monospace; margin: 18px 0; }
.estimate-search { display: flex; gap: 8px; margin: 18px 0; }
.estimate-search input { min-width: 0; width: 100%; padding: 12px; border: 1px solid #8c9476; border-radius: 8px; background: #fff; font: inherit; font-size: 16px; }
.estimate-search button { min-height: 44px; padding: 10px 16px; border: 1px solid #110e08; border-radius: 8px; background: #110e08; color: white; }
#estimate-amount { font-size: clamp(24px, 6vw, 36px); font-weight: 800; overflow-wrap: anywhere; }
#estimate-meta { overflow-wrap: anywhere; color: #555b48; }
html {
  color: #110e08;
  background: #f7f7f5;
  font-family: Button, Arial, sans-serif;
}
body {
  margin: 0;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #708b00;
  outline-offset: 5px;
}
header {
  max-width: 1280px;
  margin: auto;
  padding: 28px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dadad4;
  gap: 18px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}
.brand img {
  object-fit: contain;
}
.wallet {
  background: transparent;
  border: 1px solid #c8c8c0;
  padding: 12px 16px;
  border-radius: 100px;
  font-size: 14px;
  min-height: 46px;
  display: flex;
  gap: 15px;
  align-items: center;
  max-width: 100%;
  overflow-wrap: anywhere;
}
main {
  max-width: 580px;
  margin: 32px auto 40px;
  padding: 0 20px;
}
.eyebrow {
  font:
    12px ui-monospace,
    monospace;
  letter-spacing: 1px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 7px;
  height: 7px;
  background: #839500;
  border-radius: 50%;
}
h1 {
  font-size: clamp(36px, 7vw, 54px);
  line-height: 0.99;
  letter-spacing: -2px;
  margin: 22px 0 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.acid {
  color: #869800;
}
.intro {
  font-size: 18px;
  color: #67675c;
  margin: 0 0 28px;
}
.card {
  background: white;
  border: 1px solid #ddddd5;
  border-radius: 20px;
  overflow: hidden;
  padding: 24px;
  box-shadow: 0 14px 40px #171b0710;
}
.card-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font:
    11px ui-monospace,
    monospace;
  letter-spacing: 0.6px;
  color: #6b6b5f;
}
.card-top #badge {
  border: 1px solid #e2e2d8;
  border-radius: 30px;
  padding: 7px 9px;
  font-size: 10px;
  letter-spacing: 0;
  text-align: center;
}
#reward-content {
  text-align: center;
  padding: 22px 0 4px;
}
.hero-button {
  width: min(82%, 320px);
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px #110e0820);
}
h2 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 10px 0;
}
#empty-copy {
  color: #77776b;
  font-size: 15px;
  line-height: 1.5;
  margin: 8px 0 22px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  background: #d5ff3f;
  color: #110e08;
  font-weight: 800;
  border: 1px solid #b7df2d;
  min-height: 60px;
  padding: 16px;
  border-radius: 100px;
  font-size: 17px;
  transition:
    transform 0.15s,
    background 0.15s;
}
.primary:hover:not(:disabled) {
  background: #c8f72c;
  transform: translateY(-1px);
}
.primary:active:not(:disabled) {
  transform: translateY(1px);
}
.reassurance {
  font-size: 12px;
  text-align: center;
  color: #76766a;
  margin: 14px 0 0;
}
#status:empty {
  display: none;
}
#status {
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#status.error {
  color: #a42b25;
}
#transaction {
  display: block;
  font-size: 13px;
  margin-bottom: 15px;
  overflow-wrap: anywhere;
}
[hidden],
#transaction[hidden],
#contract[hidden] {
  display: none !important;
}
.reward-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
}
.token-mark {
  background: #110e08;
  color: #d5ff3f;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}
.reward-amount {
  font-size: clamp(24px, 7vw, 38px);
  letter-spacing: -1px;
  font-weight: 800;
  overflow-wrap: anywhere;
  line-height: 1.15;
}
.reward-unit {
  font-size: 14px;
  color: #727265;
  margin-top: 6px;
}
.reward-row > div:last-child {
  min-width: 0;
}
details {
  border-bottom: 1px solid #d8d8cf;
  padding: 20px 3px;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
summary::-webkit-details-marker {
  display: none;
}
details p {
  font-size: 14px;
  line-height: 1.65;
  color: #6c6c60;
}
details a {
  font-size: 14px;
}
.history-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid #ededdf;
  margin-top: 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.history-row small {
  display: block;
  color: #77776b;
  margin-top: 5px;
  font-size: 12px;
}
.test-note {
  text-align: center;
  font:
    11px ui-monospace,
    monospace;
  color: #89897d;
  margin: 22px 0;
}
footer {
  max-width: 1280px;
  margin: auto;
  border-top: 1px solid #dadad4;
  padding: 25px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font:
    12px ui-monospace,
    monospace;
  color: #666657;
  gap: 15px;
}
dialog {
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  border: 1px solid #deded5;
  border-radius: 20px;
  color: #110e08;
}
dialog::backdrop {
  background: #110e0866;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dialog-head button {
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 28px;
}
.dialog-head h2 {
  margin: 0;
}
dialog p {
  font-size: 14px;
  line-height: 1.5;
  color: #6c6c60;
}
.secondary,
#wallet-list button {
  width: 100%;
  min-height: 50px;
  border: 1px solid #dadad2;
  background: #f7f7f5;
  border-radius: 10px;
  padding: 13px;
  margin-top: 8px;
  text-align: left;
  font-size: 16px;
}
dialog .small {
  font-size: 12px;
}
body.busy #wallet {
  pointer-events: none;
  opacity: 0.6;
}
@media (max-width: 540px) {
  header {
    padding: 18px 20px;
  }
  .brand {
    gap: 6px;
    font-size: 12px;
  }
  .brand img {
    width: 43px;
  }
  .wallet {
    font-size: 12px;
    padding: 10px 12px;
    gap: 6px;
  }
  main {
    margin: 36px auto 36px;
  }
  .card {
    padding: 20px;
    border-radius: 16px;
  }
  h1 {
    letter-spacing: -2px;
  }
  footer {
    padding: 22px 20px;
    font-size: 11px;
  }
  .hero-button {
    height: 115px;
  }
  .card-top {
    font-size: 10px;
  }
  dialog {
    padding: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
@media (min-width: 1000px) {
  main {
    margin-top: 32px;
  }
}

.letter-link { display: inline-block; margin: 18px 0 4px; color: inherit; font-size: 14px; text-underline-offset: 4px; }
.letter-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
