.wallet-statement {
  position: fixed;
  inset: 0;
  z-index: 170;
  background: #09090a;
  color: #fff;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.28s ease;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.wallet-statement.is-open {
  transform: translateX(0);
  visibility: visible;
}

.wallet-statement-panel {
  display: flex;
  height: 100%;
  max-width: 32rem;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 1rem;
}

.wallet-statement-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.15rem 1.15rem;
}

.wallet-statement-back {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.16s ease, transform 0.16s ease;
}

.wallet-statement-back:active {
  transform: scale(0.96);
  background: rgba(255, 255, 255, 0.12);
}

.wallet-statement-back .material-symbols-outlined {
  font-size: 1.45rem;
  line-height: 1;
}

.wallet-statement-title {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.wallet-statement-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.wallet-statement-tab {
  min-height: 2.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.wallet-statement-tab.is-active {
  background: linear-gradient(135deg, #ff6b8a, #e85d75);
  color: #111;
  box-shadow: 0 0.45rem 1rem rgba(232, 93, 117, 0.28);
}

.wallet-statement-body {
  flex: 1;
  min-height: 0;
  padding-top: 1rem;
}

.wallet-statement-content {
  height: 100%;
  min-height: 0;
}

.wallet-statement-card {
  display: flex;
  min-height: min(24rem, calc(100dvh - 12rem));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.wallet-statement-card__icon {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.34);
  font-size: 2.35rem;
  line-height: 1;
}

.wallet-statement-card__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.wallet-statement-card__cta {
  margin-top: 0.95rem;
  border: 0;
  background: transparent;
  color: #ff6b8a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.wallet-statement-card__cta:active {
  opacity: 0.82;
}

.wallet-statement-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wallet-statement-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.04);
}

.wallet-statement-entry__main {
  min-width: 0;
  text-align: left;
}

.wallet-statement-entry__label {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
}

.wallet-statement-entry__date {
  margin: 0.22rem 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.3;
}

.wallet-statement-entry__coins {
  flex-shrink: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.wallet-statement-entry__coins--positive {
  color: #ffc0d0;
}

.wallet-statement-entry__coins--negative {
  color: rgba(255, 255, 255, 0.82);
}

body.wallet-statement-open {
  overflow: hidden;
}
