@font-face {
  font-family: "VatDisplay";
  src: url("../letters/fraunces_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "VatDisplay";
  src: url("../letters/fraunces_bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "VatBody";
  src: url("../letters/nunito_regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "VatBody";
  src: url("../letters/nunito_semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "VatBody";
  src: url("../letters/nunito_bold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --vat-night: #0b211b;
  --vat-forest: #14372e;
  --vat-ink: #183d32;
  --vat-leaf: #56a86c;
  --vat-gold: #f0c46c;
  --vat-cream: #fff1cf;
  --vat-snow: #fcfbf4;
  --vat-teal: #64d8c4;
  --vat-quiet: #bfd2c4;
  --vat-warn: #f5a29b;
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--vat-night);
  color: var(--vat-snow);
  font-family: "VatBody", sans-serif;
}

body {
  overflow: hidden;
}

.vat-shell {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--vat-night) center / cover no-repeat;
}

.vat-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 33, 27, 0.44);
  pointer-events: none;
}

.vat-lane {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: calc(12px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.vat-kicker {
  margin: 0;
  color: var(--vat-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 15px;
}

.vat-kicker.vat-quiet { color: var(--vat-quiet); }
.vat-kicker.vat-teal { color: var(--vat-teal); }
.vat-kicker.vat-warn { color: var(--vat-warn); }
.vat-kicker.vat-cream { color: var(--vat-cream); }

.vat-display {
  margin: 4px 0 0;
  font-family: "VatDisplay", serif;
  font-weight: 700;
  color: var(--vat-snow);
  line-height: 1.15;
}

.vat-ink {
  background: rgba(24, 61, 50, 0.94);
  border: 1px solid rgba(240, 196, 108, 0.48);
  border-radius: 22px;
  padding: 18px;
  box-sizing: border-box;
}

.vat-press {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(240, 196, 108, 0.7);
  background: var(--vat-forest);
  color: var(--vat-snow);
  font-family: "VatBody", sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  padding: 10px 12px;
}

.vat-press.vat-main {
  min-height: 67px;
  border-radius: 20px;
  background: var(--vat-leaf);
  border-color: var(--vat-gold);
  font-size: 17px;
}

.vat-press:disabled,
.vat-press.vat-dim {
  background: rgba(11, 33, 27, 0.78);
  border-color: rgba(191, 210, 196, 0.35);
  color: rgba(191, 210, 196, 0.55);
}

.vat-row {
  display: flex;
  gap: 10px;
}

.vat-grow { flex: 1; }

.vat-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 5;
  background: rgba(11, 33, 27, 0.94);
  border: 1px solid rgba(240, 196, 108, 0.45);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--vat-cream);
  font-size: 14px;
}

.vat-veil {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: rgba(11, 33, 27, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}

.vat-calm { display: none; }
