:root {
  color-scheme: light;
  font-family:
    Geist,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #1b1a2e;
  background: #fbf7ef;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
main {
  max-width: 460px;
  margin: auto;
  padding: 32px 24px max(28px, env(safe-area-inset-bottom));
}
header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 19px;
}
.moon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #1b1a2e;
  color: #e8b54a;
  border-radius: 12px;
  font-size: 27px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin: 42px 0 12px;
  font-weight: 500;
}
p {
  font-size: 15px;
  line-height: 1.5;
}
.notice {
  color: #5a566b;
  margin: 8px 0 24px;
}
section {
  background: #f3e8d2;
  border-radius: 24px;
  padding: 20px;
}
.merchant {
  font-size: 16px;
  font-weight: 500;
}
.amount {
  font:
    500 40px/1.15 ui-monospace,
    monospace;
  letter-spacing: -2px;
  margin: 12px 0 16px;
}
dl {
  background: #fffdf8;
  border-radius: 16px;
  margin: 0;
  padding: 3px 14px;
}
dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  font-size: 14px;
}
dl > div + div {
  border-top: 1px solid #e4daca;
}
dt {
  color: #5a566b;
}
dd {
  text-align: right;
  margin: 0;
  overflow-wrap: anywhere;
}
button,
a {
  line-height: 1.25;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: #1b1a2e;
  color: #fbf7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin: 10px 0;
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
}
.secondary {
  background: transparent;
  color: #1b1a2e;
  border: 1px solid currentColor;
}
#state {
  margin: 20px 0;
  color: #3e3b50;
}
