@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg-0: #07161a;
  --bg-1: #0d2c31;
  --bg-2: #134049;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(238, 250, 248, 0.88);
  --surface-solid: #f7fffd;
  --line: rgba(17, 52, 56, 0.14);
  --ink: #0e2529;
  --muted: #5d7b80;
  --accent: #18b899;
  --accent-2: #0f8f79;
  --accent-3: #0b6a5a;
  --ok: #129570;
  --warn: #e08f2f;
  --danger: #cc4e59;
  --shadow: 0 24px 50px rgba(4, 20, 24, 0.24);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(30, 220, 180, 0.22) 0%, transparent 36%),
    radial-gradient(circle at 90% 5%, rgba(120, 235, 255, 0.2) 0%, transparent 42%),
    linear-gradient(135deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-2) 100%);
  padding-top: env(safe-area-inset-top, 0px);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.re-shell {
  width: min(100%, 440px);
  margin: 0 auto;
  min-height: 100dvh;
  padding: 18px 14px calc(158px + env(safe-area-inset-bottom, 0px));
  position: relative;
}

.re-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 12% 88%, rgba(12, 129, 113, 0.2), transparent 48%);
}

.re-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.re-topbar-center {
  text-align: center;
  flex: 1;
}

.re-topbar-spacer {
  width: 44px;
}

.re-title {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ecfffb;
  letter-spacing: 0.01em;
  margin: 0;
}

.re-title-sub {
  display: block;
  color: rgba(219, 246, 241, 0.84);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 2px;
}

.re-brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.34rem;
  font-weight: 700;
  margin: 0;
  color: #effffc;
  letter-spacing: 0.01em;
}

.re-brand-mark {
  color: #7ef2d9;
}

.re-icon-btn {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(234, 255, 250, 0.16);
  color: #e8fffa;
  backdrop-filter: blur(5px);
  font-size: 1.2rem;
}

.re-icon-btn:active {
  transform: translateY(1px);
}

.re-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
  z-index: 2;
}

.re-card-soft {
  background: var(--surface-soft);
  border: 1px solid rgba(19, 69, 76, 0.13);
  border-radius: var(--radius-md);
  padding: 14px;
}

.re-card,
.re-card-soft,
.re-form,
.re-grid-two,
.re-list-item,
.re-list-left {
  min-width: 0;
}

.re-stack {
  display: grid;
  gap: 12px;
}

.re-stack-mt-12 {
  margin-top: 12px;
}

.re-kpi {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 7.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.re-kpi-currency {
  font-size: 0.46em;
  color: var(--accent-2);
  font-weight: 700;
}

.re-muted {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.re-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: rgba(18, 151, 128, 0.12);
  color: var(--accent-3);
  border: 1px solid rgba(9, 116, 97, 0.24);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 10px;
}

.re-section {
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.re-section-tight {
  margin-top: 0;
}

.re-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.re-section-title {
  margin: 0;
  color: #ebfffb;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.re-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: #90f7e1;
}

.re-card-mb {
  margin-bottom: 12px;
}

.re-chip-mb {
  margin-bottom: 10px;
}

.re-category-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(98px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.re-category-grid::-webkit-scrollbar {
  display: none;
}

.re-category {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  box-shadow: 0 10px 22px rgba(4, 20, 24, 0.16);
}

.re-category .badge {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, rgba(24, 184, 153, 0.17), rgba(15, 143, 121, 0.28));
}

.re-category .badge img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.re-category p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
}

.re-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: var(--radius-md);
  padding: 14px;
  background: linear-gradient(135deg, #0f8472 0%, #16a58b 52%, #25c7a6 100%);
  color: #f4fffd;
  box-shadow: 0 16px 32px rgba(8, 90, 78, 0.36);
}

.re-cta h3 {
  margin: 0;
  font-size: 1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.re-cta p {
  margin: 6px 0 0;
  font-size: 0.76rem;
  opacity: 0.94;
}

.re-cta img {
  width: 94px;
  max-width: 30vw;
}

.re-home-glow {
  border-radius: var(--radius-md);
  padding: 16px;
  background: linear-gradient(135deg, #0f8472 0%, #16a58b 52%, #25c7a6 100%);
  color: #f4fffd;
  box-shadow: 0 16px 32px rgba(8, 90, 78, 0.36);
}

.re-home-glow h3 {
  margin: 10px 0 4px;
  font-size: 1.02rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.re-home-glow p {
  margin: 0;
  font-size: 0.82rem;
  opacity: 0.95;
}

.re-home-glow-chip {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  color: #effffc;
}

.re-list {
  display: grid;
  gap: 10px;
}

.re-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  border: 1px solid rgba(11, 62, 66, 0.12);
  padding: 12px;
}

.re-list-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.re-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(24, 184, 153, 0.15), rgba(13, 143, 121, 0.3));
  color: #0f7868;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.re-list-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.re-list-time {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.re-list-amount {
  margin: 0;
  text-align: right;
  font-weight: 800;
  font-size: 0.9rem;
}

.re-tag {
  display: inline-block;
  margin-top: 4px;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.67rem;
  font-weight: 700;
  color: #0b6558;
  background: rgba(24, 184, 153, 0.14);
}

.re-tag.warn {
  color: #8b5111;
  background: rgba(224, 143, 47, 0.18);
}

.re-tag.danger {
  color: #8c2a34;
  background: rgba(204, 78, 89, 0.16);
}

.re-tag.success {
  color: #0c6f57;
  background: rgba(18, 149, 112, 0.2);
}

.re-tx-list {
  display: grid;
  gap: 10px;
}

.re-tx-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 22px rgba(11, 42, 47, 0.14);
}

.re-tx-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}

.re-tx-item .re-list-title {
  color: #163d41;
}

.re-tx-item .re-list-time {
  color: #2f6469;
}

.re-tx-item .re-list-amount {
  color: #113f44;
}

.re-tx-item .re-list-left {
  align-items: flex-start;
}

.re-tx-left-pack {
  display: grid;
  justify-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.re-tx-tag-under {
  margin-top: 0;
  font-size: 0.6rem;
  padding: 2px 6px;
  text-align: center;
  line-height: 1.2;
}

.re-tx-amount {
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.re-tx-item .re-list-amount.re-tx-amount {
  font-size: 1.16rem;
}

.re-tx-plastic {
  border-color: rgba(10, 124, 109, 0.22);
  background:
    radial-gradient(circle at 92% 8%, rgba(82, 228, 201, 0.22), transparent 44%),
    linear-gradient(135deg, rgba(236, 255, 251, 0.98), rgba(220, 248, 242, 0.96));
}

.re-tx-plastic::before {
  background: linear-gradient(180deg, #1cc7a4 0%, #109b83 100%);
}

.re-tx-paper {
  border-color: rgba(168, 110, 20, 0.26);
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 216, 140, 0.3), transparent 45%),
    linear-gradient(135deg, rgba(255, 249, 230, 0.98), rgba(252, 240, 206, 0.96));
}

.re-tx-paper::before {
  background: linear-gradient(180deg, #efb64d 0%, #c7841f 100%);
}

.re-tx-metal {
  border-color: rgba(76, 94, 115, 0.3);
  background:
    radial-gradient(circle at 90% 12%, rgba(176, 194, 214, 0.33), transparent 45%),
    linear-gradient(135deg, rgba(237, 242, 248, 0.99), rgba(219, 228, 239, 0.97));
}

.re-tx-metal::before {
  background: linear-gradient(180deg, #7487a0 0%, #4d5d73 100%);
}

.re-tx-avatar {
  border: 1px solid transparent;
}

.re-tx-avatar-plastic {
  background: linear-gradient(140deg, rgba(34, 194, 161, 0.2), rgba(18, 149, 126, 0.36));
  color: #0e7f6c;
  border-color: rgba(9, 125, 105, 0.22);
}

.re-tx-avatar-paper {
  background: linear-gradient(140deg, rgba(250, 197, 102, 0.26), rgba(223, 153, 43, 0.38));
  color: #8a5712;
  border-color: rgba(161, 101, 21, 0.26);
}

.re-tx-avatar-metal {
  background: linear-gradient(140deg, rgba(146, 164, 184, 0.28), rgba(102, 120, 145, 0.38));
  color: #3f4f66;
  border-color: rgba(79, 95, 115, 0.28);
}

.re-tx-tag.tx-plastic {
  color: #0e7564;
  background: rgba(24, 184, 153, 0.2);
}

.re-tx-tag.tx-paper {
  color: #8a5814;
  background: rgba(224, 143, 47, 0.24);
}

.re-tx-tag.tx-metal {
  color: #42556e;
  background: rgba(116, 135, 160, 0.24);
}

.re-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: min(calc(100% - 16px), 420px);
  background: rgba(12, 37, 42, 0.84);
  border: 1px solid rgba(126, 242, 217, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 4px;
  padding: 11px 8px 8px;
  z-index: 30;
  overflow: visible;
}

.re-bottom-nav a {
  display: grid;
  place-items: center;
  gap: 2px;
  color: rgba(221, 255, 247, 0.78);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 6px;
  border-radius: 12px;
}

.re-bottom-nav a i {
  font-size: 1.2rem;
}

.re-bottom-nav a.active {
  color: #0f3a34;
  background: linear-gradient(135deg, #7cf2dc 0%, #4ad6ba 100%);
}

.re-bottom-nav .re-nav-center {
  transform: translateY(-21px);
  gap: 5px;
  padding: 0;
  background: transparent;
}

.re-bottom-nav .re-nav-center .re-nav-center-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f8e79 0%, #18b899 52%, #33dfb8 100%);
  border: 1px solid rgba(142, 249, 229, 0.66);
  box-shadow: 0 16px 26px rgba(8, 88, 76, 0.38);
}

.re-bottom-nav .re-nav-center i {
  font-size: 1.55rem;
  color: #f6fffd;
}

.re-bottom-nav .re-nav-center span:last-child {
  font-size: 0.68rem;
  font-weight: 800;
  color: #d7fff6;
}

.re-bottom-nav .re-nav-center.active {
  background: transparent;
}

.re-bottom-nav .re-nav-center.active .re-nav-center-badge {
  box-shadow: 0 18px 30px rgba(9, 103, 88, 0.5);
  transform: scale(1.03);
}

.re-bottom-nav .re-nav-center.active span:last-child {
  color: #f6fffd;
}

.re-qr-panel {
  text-align: center;
  display: grid;
  gap: 10px;
}

.re-qr-stage {
  width: min(82vw, 300px);
  margin: 0 auto;
  padding: 13px;
  border-radius: 24px;
  background: radial-gradient(circle at 15% 20%, rgba(74, 223, 188, 0.3) 0%, transparent 44%), rgba(9, 53, 57, 0.96);
  border: 1px solid rgba(148, 251, 233, 0.22);
  overflow: hidden;
}

.re-qr-canvas {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(8, 56, 61, 0.1);
  overflow: hidden;
}

.re-qr-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border-radius: 11px;
}

.re-qr-canvas img,
.re-qr-canvas table {
  max-width: 100% !important;
}

.re-qr-canvas img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.re-qr-canvas table {
  width: 100% !important;
  height: 100% !important;
}

.re-qr-canvas td {
  padding: 0 !important;
}

.re-qr-code {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: #1f5659;
  word-break: break-all;
}

.re-qr-stepper {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.re-qr-step {
  border: 1px solid rgba(11, 62, 66, 0.16);
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  background: rgba(240, 251, 249, 0.9);
  color: #32686b;
  font-size: 0.67rem;
  font-weight: 700;
  display: grid;
  gap: 4px;
}

.re-qr-step-icon {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: rgba(24, 184, 153, 0.12);
  color: #0d816f;
  font-size: 0.95rem;
}

.re-qr-step.active {
  border-color: rgba(10, 133, 111, 0.42);
  background: rgba(24, 184, 153, 0.12);
  color: #0d6f60;
}

.re-qr-step.done {
  border-color: rgba(15, 143, 121, 0.38);
  background: rgba(15, 143, 121, 0.17);
  color: #0b6658;
}

.re-lid-hero {
  border: 1px solid rgba(13, 108, 94, 0.26);
  border-radius: 16px;
  padding: 14px;
  background:
    radial-gradient(circle at 12% 20%, rgba(53, 224, 188, 0.22), transparent 38%),
    rgba(234, 251, 247, 0.95);
  text-align: center;
}

.re-lid-hero-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.re-lid-hero-icons span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(24, 184, 153, 0.14);
  color: #0d816f;
  font-size: 1rem;
}

.re-lid-hero-title {
  margin: 10px 0 2px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 4.8vw, 1.45rem);
  font-weight: 700;
  color: #0f4e4c;
  letter-spacing: 0.01em;
}

.re-lid-hero-text {
  margin: 0;
  font-size: 0.86rem;
  color: #266266;
}

.re-auth {
  min-height: calc(100dvh - 36px);
  display: grid;
  align-content: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.re-auth-brand {
  text-align: center;
}

.re-auth-brand h1 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 8vw, 2.4rem);
  color: #f2fffd;
}

.re-auth-brand p {
  margin: 8px 0 0;
  color: rgba(219, 246, 241, 0.86);
  font-size: 0.9rem;
}

.re-auth-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}

.re-form {
  display: grid;
  gap: 12px;
}

.re-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.re-grid-two > * {
  min-width: 0;
}

.re-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #224e51;
}

.re-input-wrap {
  position: relative;
}

.re-input,
.re-textarea,
.re-select {
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(8, 72, 78, 0.18);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 0.92rem;
  color: #17383d;
  font-family: inherit;
}

input[type="date"].re-input {
  min-width: 0;
}

.re-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, #2f6d6d 50%),
    linear-gradient(135deg, #2f6d6d 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.re-input:focus,
.re-textarea:focus,
.re-select:focus {
  outline: none;
  border-color: rgba(18, 151, 128, 0.5);
  box-shadow: 0 0 0 4px rgba(24, 184, 153, 0.14);
}

.re-textarea {
  min-height: 92px;
  resize: vertical;
}

.re-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #4f7277;
  font-size: 1.1rem;
  cursor: pointer;
}

.re-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.re-btn-center {
  text-align: center;
}

.re-btn-primary {
  color: #effffc;
  background: linear-gradient(135deg, #0f8c78 0%, #18b899 48%, #26d4af 100%);
  box-shadow: 0 14px 28px rgba(8, 90, 78, 0.28);
}

.re-btn-danger {
  color: #fff5f7;
  background: linear-gradient(135deg, #a42b3a 0%, #cc4e59 58%, #e66e79 100%);
}

.re-btn-soft {
  background: #e8f6f3;
  color: #125e53;
}

.re-auth-switch {
  text-align: center;
  font-size: 0.84rem;
  color: rgba(219, 246, 241, 0.9);
}

.re-auth-switch a {
  color: #8ff9e4;
  font-weight: 700;
}

.re-alert {
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.84rem;
  font-weight: 700;
}

.re-alert.info {
  background: rgba(24, 184, 153, 0.12);
  border: 1px solid rgba(24, 184, 153, 0.28);
  color: #0e6f60;
}

.re-alert.warn {
  background: rgba(224, 143, 47, 0.16);
  border: 1px solid rgba(224, 143, 47, 0.3);
  color: #8b5111;
}

.re-alert.error {
  background: rgba(204, 78, 89, 0.16);
  border: 1px solid rgba(204, 78, 89, 0.3);
  color: #8d2634;
}

.re-alert.success {
  background: rgba(18, 149, 112, 0.16);
  border: 1px solid rgba(18, 149, 112, 0.3);
  color: #0b6b52;
}

.re-menu {
  display: grid;
  gap: 9px;
}

.re-flow-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.re-flow-focus {
  margin-top: 0 !important;
  min-height: calc(100dvh - 128px);
}

body.re-qr-process .re-shell,
html body.re-qr-process .re-shell {
  padding-bottom: 18px;
}

body.re-qr-process .re-bottom-nav,
html body.re-qr-process .re-bottom-nav {
  display: none;
}

.re-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 14px;
  padding: 12px;
  background: var(--surface-solid);
  border: 1px solid rgba(11, 62, 66, 0.12);
}

.re-menu-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.re-menu-main i:first-child {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(24, 184, 153, 0.15);
  color: #0d816f;
}

.re-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.re-account-hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(38, 214, 178, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 250, 0.96));
}

.re-account-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.re-account-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(24, 184, 153, 0.19), rgba(15, 143, 121, 0.34));
  color: #0c7768;
  font-size: 1.45rem;
}

.re-account-name {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #123e42;
}

.re-account-mail {
  margin: 4px 0 0;
  color: #2f676d;
  font-size: 0.82rem;
  word-break: break-all;
}

.re-account-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.re-account-strip {
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(231, 250, 246, 0.96);
  border: 1px solid rgba(13, 108, 94, 0.16);
}

.re-account-strip-label {
  margin: 0;
  font-weight: 800;
  color: #12514f;
  font-size: 0.8rem;
}

.re-account-strip-text {
  margin: 6px 0 0;
  font-size: 0.8rem;
  color: #2f676d;
}

.re-transfer-options {
  display: grid;
  gap: 9px;
}

.re-transfer-option {
  position: relative;
  display: grid;
  gap: 4px;
  border-radius: 12px;
  border: 1px solid rgba(10, 76, 84, 0.18);
  background: rgba(250, 255, 254, 0.94);
  padding: 11px 12px;
  cursor: pointer;
}

.re-transfer-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.re-transfer-option::before,
.re-transfer-option::after {
  display: none;
}

.re-transfer-option-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #123f43;
}

.re-transfer-option-text {
  font-size: 0.78rem;
  color: #4e7277;
}

.re-transfer-option.selected {
  border-color: rgba(15, 143, 121, 0.46);
  background: rgba(24, 184, 153, 0.13);
}

.re-transfer-option:focus-within {
  border-color: rgba(10, 133, 111, 0.5);
  box-shadow: 0 0 0 4px rgba(24, 184, 153, 0.16);
}

.re-transfer-option input[type="radio"]:focus-visible + .re-transfer-option-title {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.re-wallet-card {
  background:
    radial-gradient(circle at 88% 10%, rgba(124, 242, 220, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(231, 252, 247, 0.96));
  border-color: rgba(12, 111, 97, 0.24);
}

.re-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.re-wallet-chip {
  background: rgba(18, 149, 112, 0.14);
}

.re-wallet-label {
  margin: 8px 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #205b5d;
}

.re-wallet-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, rgba(24, 184, 153, 0.2), rgba(12, 126, 108, 0.38));
  color: #0f7666;
  font-size: 1.45rem;
}

.re-wallet-amount {
  margin: 12px 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 8vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #113c3f;
}

.re-wallet-currency {
  font-size: 0.46em;
  color: #0f8f79;
}

.re-wallet-stats {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.re-wallet-stat {
  border-radius: 12px;
  border: 1px solid rgba(12, 111, 97, 0.2);
  background: rgba(237, 252, 248, 0.92);
  padding: 8px 10px;
}

.re-wallet-stat span {
  display: block;
  font-size: 0.7rem;
  color: #3a6d6d;
}

.re-wallet-stat strong {
  display: block;
  margin-top: 3px;
  font-size: 0.86rem;
  color: #114546;
}

.re-transfer-field {
  margin-top: 2px;
}

.re-lang-select-wrap {
  width: 132px;
}

.re-select-compact {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 0.8rem;
}

.re-form input[type="checkbox"],
.re-form input[type="radio"] {
  accent-color: var(--accent);
}

.re-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.re-check-input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--accent);
}

.re-check-label {
  font-size: 0.84rem;
  color: #1f4a4e;
}

.re-summary-row {
  display: flex;
  justify-content: space-between;
  margin: 0;
}

.re-summary-value {
  color: #184f52;
}

.re-result-icon {
  background: linear-gradient(140deg, rgba(24, 184, 153, 0.15), rgba(13, 143, 121, 0.3));
  color: #0f7868;
}

.re-result-title {
  color: #0f4f4d;
}

.re-result-details {
  border-color: rgba(14, 96, 84, 0.2);
}

.re-result-strong {
  color: #124f4b;
}

.re-result-reject {
  background:
    radial-gradient(circle at 12% 10%, rgba(232, 89, 101, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(255, 246, 247, 0.98), rgba(255, 236, 239, 0.96));
  border-color: rgba(188, 54, 68, 0.28);
}

.re-result-reject .re-result-icon {
  background: linear-gradient(140deg, rgba(204, 78, 89, 0.2), rgba(166, 37, 56, 0.34));
  color: #8c2a34;
}

.re-result-reject .re-result-title {
  color: #8a2030;
}

.re-result-reject .re-result-details {
  background: rgba(255, 240, 243, 0.95);
  border-color: rgba(188, 54, 68, 0.25);
}

.re-result-reject .re-result-strong {
  color: #982f3d;
}

.re-profile-photo {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
}

.re-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.re-profile h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.re-profile p {
  margin: 4px 0 0;
  color: #2f6467;
  font-size: 0.82rem;
}

.re-timeline-group {
  display: grid;
  gap: 8px;
}

.re-group-head {
  margin: 8px 0 0;
  padding-left: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(219, 246, 241, 0.88);
}

.re-map {
  width: 100%;
  height: 360px;
  min-height: 280px;
  height: min(66dvh, 520px);
  border: 0;
  border-radius: var(--radius-md);
}

.re-rich {
  line-height: 1.62;
  color: #21484c;
  font-size: 0.88rem;
}

.re-rich h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  margin: 0 0 12px;
  font-size: 1.02rem;
}

.re-rich strong {
  color: #13393d;
}

.re-faq {
  display: grid;
  gap: 8px;
}

.re-faq details {
  border-radius: 14px;
  border: 1px solid rgba(12, 70, 74, 0.16);
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 12px;
}

.re-faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 0.86rem;
}

.re-faq summary::-webkit-details-marker {
  display: none;
}

.re-faq p {
  margin: 10px 0 4px;
  color: #2f6165;
  font-size: 0.84rem;
}

.re-empty {
  border-radius: 14px;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  color: rgba(219, 246, 241, 0.9);
  text-align: center;
  font-size: 0.84rem;
}

.re-fade {
  animation: re-fade 0.45s ease both;
}

.re-fade.delay-1 {
  animation-delay: 0.05s;
}

.re-fade.delay-2 {
  animation-delay: 0.1s;
}

.re-fade.delay-3 {
  animation-delay: 0.15s;
}

@keyframes re-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 360px) {
  .re-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .re-grid-two {
    grid-template-columns: 1fr;
  }

  .re-list-title {
    max-width: 128px;
  }

  .re-tx-item {
    padding: 10px;
  }

  .re-tx-item .re-list-title {
    max-width: 118px;
  }

  .re-tx-item .re-list-time {
    max-width: 128px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .re-tx-item .re-list-amount.re-tx-amount {
    font-size: 1.02rem;
  }

  .re-tx-item .re-tag {
    font-size: 0.61rem;
    padding: 2px 7px;
  }
}

.re-theme-toggle {
  position: fixed;
  right: 18px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(126, 242, 217, 0.35);
  background: rgba(10, 36, 40, 0.88);
  color: #e8fffa;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  backdrop-filter: blur(8px);
  z-index: 40;
}

.re-theme-toggle.active {
  background: linear-gradient(135deg, #177f6f 0%, #18b899 56%, #21d2ad 100%);
  color: #f4fffd;
}

.re-bottom-nav + .re-theme-toggle {
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

body.white,
html.white body {
  background:
    radial-gradient(circle at 8% 10%, rgba(57, 214, 178, 0.18) 0%, transparent 36%),
    radial-gradient(circle at 90% 5%, rgba(122, 227, 246, 0.2) 0%, transparent 42%),
    linear-gradient(135deg, #e7f9f5 0%, #d8f1eb 52%, #cae9e3 100%);
}

body.white .re-shell::before,
html.white body .re-shell::before {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 46%),
    radial-gradient(circle at 12% 88%, rgba(12, 129, 113, 0.1), transparent 48%);
}

body.white .re-title,
body.white .re-brand,
html.white body .re-title,
html.white body .re-brand {
  color: #123f44;
}

body.white .re-title-sub,
html.white body .re-title-sub {
  color: #406d72;
}

body.white .re-brand-mark,
html.white body .re-brand-mark {
  color: #0f9f89;
}

body.white .re-icon-btn,
html.white body .re-icon-btn {
  background: rgba(14, 70, 73, 0.08);
  color: #1f5a60;
}

body.white .re-section-title,
html.white body .re-section-title {
  color: #164247;
}

body.white .re-link,
html.white body .re-link {
  color: #0f8f79;
}

body.white .re-group-head,
html.white body .re-group-head {
  color: #35686d;
}

body.white .re-empty,
html.white body .re-empty {
  border-color: rgba(16, 74, 78, 0.28);
  color: #2a6166;
}

body.white .re-auth-brand h1,
html.white body .re-auth-brand h1 {
  color: #123f44;
}

body.white .re-auth-brand p,
body.white .re-auth-switch,
html.white body .re-auth-brand p,
html.white body .re-auth-switch {
  color: #3e7075;
}

body.white .re-auth-switch a,
html.white body .re-auth-switch a {
  color: #0f8f79;
}

body.white .re-bottom-nav,
html.white body .re-bottom-nav {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(14, 72, 76, 0.14);
  box-shadow: 0 16px 30px rgba(16, 61, 66, 0.18);
}

body.white .re-bottom-nav a,
html.white body .re-bottom-nav a {
  color: #2d666a;
}

body.white .re-bottom-nav a.active,
html.white body .re-bottom-nav a.active {
  color: #f4fffd;
}

body.white .re-bottom-nav .re-nav-center,
html.white body .re-bottom-nav .re-nav-center {
  background: transparent;
}

body.white .re-bottom-nav .re-nav-center .re-nav-center-badge,
html.white body .re-bottom-nav .re-nav-center .re-nav-center-badge {
  border-color: rgba(14, 102, 89, 0.32);
  box-shadow: 0 16px 24px rgba(17, 85, 78, 0.31);
}

body.white .re-bottom-nav .re-nav-center span:last-child,
html.white body .re-bottom-nav .re-nav-center span:last-child {
  color: #15525a;
}

body.white .re-qr-stage,
html.white body .re-qr-stage {
  background: radial-gradient(circle at 15% 20%, rgba(74, 223, 188, 0.23) 0%, transparent 44%), rgba(227, 251, 246, 0.98);
  border-color: rgba(14, 102, 89, 0.18);
}

body.white .re-alert.info,
html.white body .re-alert.info {
  background: rgba(20, 153, 126, 0.12);
  border-color: rgba(20, 153, 126, 0.24);
}

body.white .re-alert.warn,
html.white body .re-alert.warn {
  background: rgba(224, 143, 47, 0.18);
  border-color: rgba(224, 143, 47, 0.32);
}

body.white .re-theme-toggle,
html.white body .re-theme-toggle {
  border-color: rgba(18, 69, 73, 0.22);
  background: rgba(19, 64, 69, 0.92);
  color: #ebfffb;
}
