:root {
  --lcd:#B9F08F;
  --num:"Silkscreen",ui-monospace,monospace;
  --lilac:#C9B8E8;
  --paper:#F5F0FF;
  --ink:#2E2350;
  --ink-2:#4A3B7A;
  --ink-3:#3A2E63;
  --blue:#9CC3F0;
  --blue-d:#5E8FD0;
  --ginger:#E8752A;
  --grass:#A8DD8C;
  --grass-d:#8FCB74;
  --sand:#EBD9AE;
  --px:"Pixelify Sans",ui-monospace,monospace;
  --shadow:rgba(46,35,80,.3);
}
[hidden] {
  display: none !important;
}
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out .2s steps(4) both;
}
::view-transition-new(root) {
  animation: vt-in .3s steps(6) both;
}
::view-transition-group(hd) {
  animation-duration: 0s;
}
@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
body.leaving main,
body.leaving .foot {
  animation: vt-out .18s steps(4) both;
}
body.entering main {
  animation: vt-in .3s steps(6) both;
}
.hd {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  view-transition-name: hd;
  pointer-events: none;
}
.hd > * {
  pointer-events: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--px);
  font-weight: 700;
  font-size: 21px;
  white-space: nowrap;
}
.brand img {
  width: 40px;
  height: 40px;
  display: block;
  box-shadow: 0 0 0 4px var(--ink), 5px 5px 0 4px var(--shadow);
}
.brand span {
  padding: 5px 10px;
  background: var(--paper);
  box-shadow: 0 0 0 4px var(--ink);
}
.nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav a {
  position: relative;
  display: block;
  padding: 9px 14px 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--px);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 0 3px var(--ink), 4px 4px 0 3px var(--shadow);
  transition: transform .12s steps(2), background .12s;
}
.nav a:hover {
  transform: translateY(-2px);
  background: #fff;
}
.nav a[aria-current=page] {
  background: var(--ink);
  color: var(--lcd);
}
.nav a[aria-current=page]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  background: var(--ink);
}
.hd-push {
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: var(--ginger);
  color: var(--paper);
  font-family: var(--px);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow:
    inset -4px -4px 0 rgba(0, 0, 0, .18),
    0 0 0 3px var(--ink),
    4px 4px 0 3px var(--shadow);
  cursor: pointer;
}
.hd-push:hover {
  background: #F48B44;
}
.hd-push.soon {
  background: #C98A5F;
}
.sub {
  min-height: 100%;
  margin: 0;
  background: var(--grass);
  color: var(--ink);
  font-family: var(--px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.sub::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 12px 14px,
      var(--grass-d) 0 2px,
      transparent 3px) 0 0/64px 58px,
    radial-gradient(
      circle at 44px 40px,
      var(--grass-d) 0 2px,
      transparent 3px) 0 0/64px 58px,
    var(--grass);
}
.sub main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 22px 60px;
}
.sub h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 64px);
  line-height: .95;
}
.sub .lead {
  margin: 12px 0 0;
  max-width: 720px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink-2);
}
.panel {
  position: relative;
  background: var(--paper);
  box-shadow: 0 0 0 6px var(--ink), 12px 12px 0 6px var(--shadow);
  padding: 26px 28px;
}
.panel + .panel,
.gap {
  margin-top: 40px;
}
.panel h2 {
  margin: 0 0 14px;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
}
.tag {
  display: inline-block;
  padding: 4px 9px 3px;
  background: var(--ink);
  color: var(--lcd);
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: .06em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border: 0;
  background: var(--ginger);
  color: var(--paper);
  font-family: var(--px);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset -5px -5px 0 rgba(0, 0, 0, .18), 0 0 0 4px var(--ink);
  cursor: pointer;
  transition: background .12s;
}
.btn:hover {
  background: #F48B44;
}
.btn:active {
  transform: translate(2px, 2px);
}
.btn.ghost {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset -4px -4px 0 rgba(46, 35, 80, .12), 0 0 0 4px var(--ink);
}
.btn.ghost:hover {
  background: #fff;
}
.btn.blue {
  background: var(--blue);
  color: var(--ink);
}
.btn.blue:hover {
  background: var(--blue-d);
  color: var(--paper);
}
.btn.small {
  height: 40px;
  padding: 0 14px;
  font-size: 16px;
}
.btn[disabled] {
  opacity: .55;
  cursor: progress;
}
.lcds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--ink);
}
.lcd {
  min-width: 0;
  padding: 12px 14px 13px;
  background: var(--ink-3);
  color: var(--lcd);
}
.lcd label {
  display: block;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #B7A9DC;
}
.lcd b {
  display: block;
  margin-top: 5px;
  font-family: var(--num);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lcd small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #DCD3F2;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  height: 38px;
  padding: 0 14px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--px);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 3px var(--ink);
  cursor: pointer;
}
.chip[aria-pressed=true] {
  background: var(--ink);
  color: var(--lcd);
}
.field {
  height: 46px;
  padding: 0 14px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--px);
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 0 0 3px var(--ink);
  min-width: 0;
}
.field:focus {
  outline: 3px solid var(--ginger);
  outline-offset: 3px;
}
select.field {
  padding-right: 30px;
}
.pix-frame {
  display: block;
  width: 100%;
  height: auto;
  background: var(--sand);
  box-shadow: 0 0 0 5px var(--ink), 8px 8px 0 5px var(--shadow);
  image-rendering: auto;
}
.empty {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
}
.empty img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 5px var(--ink);
}
.empty h3 {
  margin: 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}
.empty p {
  margin: 10px 0 18px;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  color: var(--ink-2);
}
.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px 110px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
}
.foot a {
  color: var(--ink);
}
.foot .ca-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 6px 0 12px;
  background: #fff;
  box-shadow: 0 0 0 3px var(--ink);
  max-width: 100%;
  min-width: 0;
}
.foot .ca-mini span {
  white-space: nowrap;
  overflow: hidden;
  font-size: 14px;
}
.foot .ca-mini button {
  flex: none;
  height: 30px;
  padding: 0 10px;
  border: 0;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--px);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
}
.rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s steps(6), transform .45s steps(6);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.dim {
  color: var(--ink-2);
}
a.link {
  color: var(--ink);
  text-underline-offset: 3px;
}
.toast {
  position: fixed;
  left: 50%;
  top: 76px;
  z-index: 6000;
  max-width: min(92vw, 620px);
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--px);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  box-shadow: 0 0 0 4px var(--ink), 8px 8px 0 4px var(--shadow);
  transform: translate(-50%, calc(-100% - 130px));
  visibility: hidden;
  transition: transform .25s steps(4), visibility 0s .25s;
}
.toast.on {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform .25s steps(4);
}
.toast a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.toast.ok {
  background: var(--ink);
  color: var(--lcd);
}
.veil {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(36, 27, 64, .72);
  font-family: var(--px);
}
.veil[hidden] {
  display: none;
}
.sheet {
  width: min(470px, 100%);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 6px var(--ink), 12px 12px 0 6px rgba(0, 0, 0, .3);
  padding: 22px 24px 24px;
  animation: pop .26s steps(4) both;
}
.sheet h3 {
  margin: 0;
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
}
.sheet .who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.sheet .who i {
  flex: none;
  width: 58px;
  height: 110px;
  background: url(/stock/i/walk.png) 0 0/600% 100% no-repeat;
  animation: walk6 .7s steps(6) infinite;
}
.rows {
  margin: 14px 0 18px;
  padding: 4px;
  background: var(--ink);
  display: grid;
  gap: 4px;
}
.rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 10px 12px;
  background: var(--ink-3);
  color: #DCD3F2;
  font-weight: 500;
  font-size: 15px;
}
.rows b {
  font-family: var(--num);
  font-weight: 400;
  font-size: 17px;
  color: var(--lcd);
  text-align: right;
}
.sheet .acts {
  display: flex;
  gap: 12px;
}
.sheet .acts .btn {
  flex: 1;
}
.sheet .fine {
  margin: 12px 0 0;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
}
@keyframes pop {
  0% {
    transform: scale(.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes walk6 {
  to {
    background-position-x: 120%;
  }
}
.qm {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: #56497F;
  color: var(--paper);
  font-family: var(--px);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  vertical-align: 1px;
  cursor: help;
}
.qm:hover,
.qm[aria-expanded=true] {
  background: var(--ginger);
}
.help {
  position: fixed;
  z-index: 6500;
  width: min(300px, calc(100vw - 24px));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--px);
  box-shadow: 0 0 0 4px var(--ink), 8px 8px 0 4px var(--shadow);
  animation: pop .2s steps(3) both;
}
.help img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 4px solid var(--ink);
}
.help b {
  display: block;
  padding: 10px 14px 0;
  font-weight: 700;
  font-size: 19px;
}
.help p {
  margin: 4px 0 0;
  padding: 0 14px 14px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  color: var(--ink-2);
}
.coach {
  position: fixed;
  z-index: 4500;
  max-width: 250px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--px);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 6px 6px 0 var(--shadow);
  animation: pop .3s steps(4) both;
}
.coach::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--ink);
  left: var(--ax,24px);
  top: -7px;
  transform: rotate(45deg);
}
.coach.up::after {
  top: auto;
  bottom: -7px;
}
.coach button {
  display: block;
  margin-top: 9px;
  height: 30px;
  padding: 0 12px;
  border: 0;
  background: var(--lcd);
  color: var(--ink);
  font-family: var(--px);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
}
.party {
  position: fixed;
  inset: 0;
  z-index: 5500;
  pointer-events: none;
  overflow: hidden;
}
.party .stamp {
  position: absolute;
  left: 50%;
  top: 26%;
  transform: translate(-50%, -50%);
  padding: 14px 26px 12px;
  background: var(--ink);
  color: var(--lcd);
  font-family: var(--num);
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow:
    0 0 0 6px var(--paper),
    0 0 0 12px var(--ink),
    14px 14px 0 12px rgba(0, 0, 0, .25);
  animation: stamp 2.9s steps(1) both;
}
.party .stamp small {
  display: block;
  margin-top: 6px;
  font-family: var(--px);
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 20px);
  letter-spacing: .1em;
  color: var(--paper);
  text-transform: uppercase;
  text-align: center;
}
@keyframes stamp {
  0% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
  6% {
    transform: translate(-50%, -50%) scale(1.25);
    opacity: 1;
  }
  10% {
    transform: translate(-50%, -50%) scale(.94);
  }
  14% {
    transform: translate(-50%, -50%) scale(1);
  }
  86% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -62%) scale(1);
  }
}
.party .runner {
  position: absolute;
  left: 0;
  bottom: 12%;
  width: 116px;
  height: 220px;
  background: url(/stock/i/walk.png) 0 0/600% 100% no-repeat;
  animation: walk6 .36s steps(6) infinite, dash 2.6s steps(26) both;
}
@keyframes dash {
  from {
    transform: translateX(-140px);
  }
  to {
    transform: translateX(calc(100vw + 40px));
  }
}
.party .foot-print {
  position: absolute;
  width: 22px;
  height: 12px;
  background: var(--ink);
  opacity: .55;
  border-radius: 50% 50% 45% 45%;
  animation: fadeprint 1.4s steps(5) both;
}
@keyframes fadeprint {
  0% {
    opacity: 0;
    transform: scale(1.6);
  }
  15% {
    opacity: .6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
  }
}
.party .ember {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--ginger);
  box-shadow: 0 0 0 2px #FFC56B;
  animation: ember 1.5s steps(10) both;
}
@keyframes ember {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy));
  }
}
@media (max-width: 820px) {
  .hd {
    padding: 10px 12px;
    gap: 8px;
  }
  .brand span {
    display: none;
  }
  .brand img {
    width: 34px;
    height: 34px;
    box-shadow: 0 0 0 3px var(--ink), 4px 4px 0 3px var(--shadow);
  }
  .nav {
    gap: 6px;
  }
  .nav a {
    padding: 7px 8px 6px;
    font-size: 13px;
    letter-spacing: .04em;
    box-shadow: 0 0 0 3px var(--ink), 3px 3px 0 3px var(--shadow);
  }
  .nav a[data-nav=home] {
    display: none;
  }
  .hd-push {
    display: none;
  }
  .sub main {
    padding: 80px 16px 40px;
  }
  .sub .lead {
    font-size: 17px;
  }
  .panel {
    padding: 20px 16px;
    box-shadow: 0 0 0 4px var(--ink), 8px 8px 0 4px var(--shadow);
  }
  .lcds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lcd b {
    font-size: 21px;
  }
  .empty {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .empty h3 {
    font-size: 24px;
  }
  .field {
    font-size: 16px;
  }
  .toast {
    top: 60px;
    font-size: 15px;
  }
  .foot {
    padding: 0 16px 120px;
  }
  .party .runner {
    width: 78px;
    height: 148px;
  }
}
.rowsx {
  display: grid;
  gap: 10px;
}
.ev {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 3px var(--ink);
  transition: transform .1s steps(2), background .1s;
}
.ev:hover {
  transform: translateX(4px);
  background: #FBF9FF;
}
.ev .k {
  font-style: normal;
  padding: 7px 0 6px;
  text-align: center;
  background: var(--ink);
  color: var(--lcd);
  font-family: var(--num);
  font-size: 13px;
}
.ev.trip .k {
  background: var(--ginger);
  color: var(--paper);
}
.ev.topup .k,
.ev.gift .k {
  background: var(--blue);
  color: var(--ink);
}
.ev.pace .k {
  background: #56497F;
  color: #DCD3F2;
}
.ev b {
  display: block;
  font-weight: 700;
  font-size: 19px;
}
.ev span {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ev em {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-2);
  text-align: right;
  white-space: nowrap;
}
.ev.new {
  animation: newrow 1.2s steps(6);
}
@keyframes newrow {
  0% {
    background: var(--lcd);
  }
  100% {
    background: #fff;
  }
}
@media (max-width: 820px) {
  .ev {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 10px;
  }
  .ev em {
    grid-column: 2;
    text-align: left;
    margin-top: -4px;
  }
  .ev .k {
    font-size: 11px;
  }
}
.mbar {
  display: none;
}
@media (max-width: 820px) {
  .mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3900;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper);
    box-shadow: 0 -5px 0 var(--ink);
  }
  .mbar .btn {
    flex: 1;
    height: 48px;
    font-size: 18px;
  }
  .mbar .lcd {
    flex: none;
    padding: 6px 10px 7px;
    min-width: 96px;
  }
  .mbar .lcd label {
    font-size: 10px;
  }
  .mbar .lcd b {
    font-size: 17px;
    margin-top: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .party .runner,
  .party .ember,
  .party .foot-print {
    display: none;
  }
  .party .stamp {
    animation: none;
  }
  .sheet,
  .help,
  .coach {
    animation: none;
  }
}
