.wallet-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Share Tech Mono', monospace;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color: #e8e0d4;
  background:
    repeating-radial-gradient(circle at 47% 53%, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 4px),
    #0d0a07;
}

.wallet-shell {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px max(18px, env(safe-area-inset-right)) 48px max(18px, env(safe-area-inset-left));
  padding-top: max(28px, env(safe-area-inset-top));
  padding-bottom: max(48px, env(safe-area-inset-bottom));
}

.wallet-header {
  margin-bottom: 20px;
}

.wallet-stencil {
  font-size: 0.62rem;
  letter-spacing: 3px;
  color: #a89a88;
  margin: 0 0 8px;
}

.wallet-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  letter-spacing: 2px;
  margin: 0 0 8px;
  color: #b8960b;
}

.wallet-lead {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #c8c0b0;
}

.wallet-status {
  border: 1px solid rgba(184, 150, 11, 0.35);
  background: rgba(0, 0, 0, 0.4);
  padding: 16px;
  font-size: 0.85rem;
}

.wallet-status.is-error {
  border-color: rgba(200, 60, 60, 0.6);
  color: #f8b4b4;
}

.wallet-status-help {
  margin-top: 10px;
  font-size: 0.78rem;
}

.wallet-status-help a {
  color: #b8960b;
}

.wallet-status.is-hidden {
  display: none;
}

.wallet-panel.is-hidden,
.wallet-weather.is-hidden {
  display: none;
}

.wallet-meta {
  border: 1px solid #3a3530;
  background: rgba(26, 22, 18, 0.85);
  padding: 14px 16px;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 0.85rem;
}

.wallet-meta strong {
  color: #b8960b;
}

.wallet-weather {
  border: 1px solid rgba(107, 0, 0, 0.45);
  background: rgba(20, 10, 10, 0.55);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.wallet-tickets {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.wallet-ticket {
  border: 1px solid #3a3530;
  background: rgba(0, 0, 0, 0.45);
  padding: 16px;
  text-align: center;
}

.wallet-ticket img {
  width: min(240px, 72vw);
  height: auto;
  border: 1px solid #2a2520;
  background: #fff;
  padding: 8px;
}

.wallet-ticket-code {
  margin: 10px 0 0;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #7bff9a;
}

.wallet-ticket-status {
  margin-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a89a88;
}

.wallet-ticket-status.is-used {
  color: #f87171;
}

.wallet-brief h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #b8960b;
  margin: 0 0 8px;
}

.wallet-list {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.55;
}

.wallet-brief p,
.wallet-arrival {
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0 0 14px;
}

.wallet-warn {
  border-left: 3px solid #6b0000;
  padding: 10px 12px;
  margin: 16px 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #f4c4c4;
  background: rgba(107, 0, 0, 0.15);
}

.wallet-trail {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(184, 150, 11, 0.25);
  font-size: 0.78rem;
}

.wallet-trail-label {
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: #a89a88;
  margin: 0 0 8px;
}

.wallet-trail a {
  color: #7bff9a;
}
