:root {
  color-scheme: light;
  --app-bg: #f6f8fb;
  --app-bg-2: #edf3f6;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --surface-tint: #eaf8f5;
  --surface-accent: #fff0ea;
  --ink: #121821;
  --ink-soft: #283544;
  --muted: #697688;
  --muted-2: #8a95a4;
  --line: #dde5ea;
  --line-strong: #cbd7de;
  --primary: #087f8c;
  --primary-2: #10a0ad;
  --primary-dark: #075f68;
  --app-glow: rgba(8, 127, 140, 0.1);
  --brand-shadow: rgba(8, 127, 140, 0.2);
  --coral: #e85d4a;
  --coral-soft: #ffe6df;
  --gold: #f3b94f;
  --gold-soft: #fff3d6;
  --green: #24936e;
  --green-soft: #e5f6ef;
  --danger: #c83d3d;
  --danger-soft: #ffe8e8;
  --surface-glass: rgba(255, 255, 255, 0.78);
  --surface-fill: #eef3f7;
  --shadow-soft: 0 10px 28px rgba(20, 36, 52, 0.08);
  --shadow-card: 0 18px 42px rgba(20, 36, 52, 0.13);
  --shadow-tight: 0 8px 20px rgba(20, 36, 52, 0.08);
  --shadow-deep: 0 30px 90px rgba(3, 12, 20, 0.34);
  --radius: 8px;
  --phone-width: 430px;
  --nav-height: 86px;
  --font-main:
    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  font-family: var(--font-main);
}

body.theme-premium_teal {
  --app-bg: #f6f8fb;
  --app-bg-2: #edf3f6;
  --surface-tint: #eaf8f5;
  --surface-accent: #fff0ea;
  --primary: #087f8c;
  --primary-2: #10a0ad;
  --primary-dark: #075f68;
  --app-glow: rgba(8, 127, 140, 0.1);
  --brand-shadow: rgba(8, 127, 140, 0.2);
  --coral: #e85d4a;
  --gold: #f3b94f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #202833 0%, #101418 58%, #0b0e12 100%);
}

body.theme-midnight_gold {
  --app-bg: #f5f1e9;
  --app-bg-2: #ebe3d5;
  --surface-tint: #f9f1dc;
  --surface-accent: #e8f5f2;
  --ink: #15171d;
  --ink-soft: #38404a;
  --muted: #756d60;
  --line: #ded1ba;
  --primary: #9b772c;
  --primary-2: #d4a94f;
  --primary-dark: #1b2430;
  --app-glow: rgba(212, 169, 79, 0.18);
  --brand-shadow: rgba(155, 119, 44, 0.22);
  --coral: #cf735c;
  --gold: #d4a94f;
  background:
    linear-gradient(180deg, rgba(212, 169, 79, 0.12), transparent 18rem),
    linear-gradient(180deg, #2a251f 0%, #151821 58%, #0c0f13 100%);
}

body.theme-clean_slate {
  --app-bg: #f4f6f8;
  --app-bg-2: #e9eef2;
  --surface-tint: #eaf2f7;
  --surface-accent: #fff3e4;
  --ink: #111821;
  --ink-soft: #31404c;
  --muted: #687683;
  --line: #d5dee5;
  --primary: #2f6f9f;
  --primary-2: #4d89b8;
  --primary-dark: #233142;
  --app-glow: rgba(47, 111, 159, 0.12);
  --brand-shadow: rgba(47, 111, 159, 0.2);
  --coral: #d66b5d;
  --gold: #d6a846;
  background:
    linear-gradient(180deg, rgba(47, 111, 159, 0.1), transparent 18rem),
    linear-gradient(180deg, #27323d 0%, #151a20 58%, #0d1116 100%);
}

body.theme-coral_mint {
  --app-bg: #f8f5f2;
  --app-bg-2: #edf5f1;
  --surface-tint: #e8f7f1;
  --surface-accent: #ffe9e2;
  --ink: #171820;
  --ink-soft: #3d3943;
  --muted: #746f79;
  --line: #eadbd7;
  --primary: #d95f50;
  --primary-2: #f08a78;
  --primary-dark: #8b3a40;
  --app-glow: rgba(217, 95, 80, 0.12);
  --brand-shadow: rgba(217, 95, 80, 0.2);
  --coral: #d95f50;
  --gold: #e2b64b;
  background:
    linear-gradient(180deg, rgba(217, 95, 80, 0.11), transparent 16rem),
    linear-gradient(180deg, #282530 0%, #15131a 58%, #0d0c12 100%);
}

body.theme-sapphire_lime {
  --app-bg: #f4f8fb;
  --app-bg-2: #e9f1f8;
  --surface-tint: #eaf4fb;
  --surface-accent: #eef8e8;
  --ink: #121a24;
  --ink-soft: #2f4050;
  --muted: #68788a;
  --line: #d5e0e8;
  --primary: #265d9b;
  --primary-2: #4a83bd;
  --primary-dark: #17324a;
  --app-glow: rgba(38, 93, 155, 0.13);
  --brand-shadow: rgba(38, 93, 155, 0.2);
  --coral: #e46e5a;
  --gold: #d9b451;
  background:
    linear-gradient(180deg, rgba(38, 93, 155, 0.11), transparent 16rem),
    linear-gradient(180deg, #1f3042 0%, #101722 58%, #0b0f14 100%);
}

body.theme-graphite_neon {
  --app-bg: #f3f5f1;
  --app-bg-2: #e8ece7;
  --surface-tint: #edf3ff;
  --surface-accent: #f3fadf;
  --ink: #141a21;
  --ink-soft: #333f4b;
  --muted: #6a7480;
  --line: #d9e0d7;
  --primary: #4f6fea;
  --primary-2: #738df4;
  --primary-dark: #222832;
  --app-glow: rgba(79, 111, 234, 0.12);
  --brand-shadow: rgba(79, 111, 234, 0.2);
  --coral: #e46759;
  --gold: #b8d94f;
  background:
    linear-gradient(180deg, rgba(79, 111, 234, 0.11), transparent 16rem),
    linear-gradient(180deg, #242b34 0%, #13171d 58%, #0c0f13 100%);
}

body.theme-emerald_copper {
  --app-bg: #f3f7f4;
  --app-bg-2: #e7efea;
  --surface-tint: #e7f6ef;
  --surface-accent: #fff1e7;
  --ink: #121c19;
  --ink-soft: #31453f;
  --muted: #68766f;
  --line: #d4e1da;
  --primary: #0b6f5c;
  --primary-2: #15917a;
  --primary-dark: #123c35;
  --app-glow: rgba(11, 111, 92, 0.12);
  --brand-shadow: rgba(11, 111, 92, 0.2);
  --coral: #cf735c;
  --gold: #c99a48;
  background:
    linear-gradient(180deg, rgba(11, 111, 92, 0.11), transparent 16rem),
    linear-gradient(180deg, #1e342f 0%, #101a17 58%, #0b100f 100%);
}

body.theme-ruby_steel {
  --app-bg: #f7f4f6;
  --app-bg-2: #eaeef2;
  --surface-tint: #f8e9ee;
  --surface-accent: #e8f3f5;
  --ink: #18191f;
  --ink-soft: #403942;
  --muted: #746f78;
  --line: #e3d7dc;
  --primary: #a43d55;
  --primary-2: #c05a70;
  --primary-dark: #6b2838;
  --app-glow: rgba(164, 61, 85, 0.12);
  --brand-shadow: rgba(164, 61, 85, 0.2);
  --coral: #d85c5e;
  --gold: #d4a94f;
  background:
    linear-gradient(180deg, rgba(164, 61, 85, 0.11), transparent 16rem),
    linear-gradient(180deg, #30262e 0%, #17141b 58%, #0f0c12 100%);
}

body.theme-ocean_sky {
  --app-bg: #f2f8fa;
  --app-bg-2: #e5f1f6;
  --surface-tint: #e3f4f8;
  --surface-accent: #fff2e9;
  --ink: #111b22;
  --ink-soft: #304450;
  --muted: #667986;
  --line: #d2e2e8;
  --primary: #0979a5;
  --primary-2: #36a4ca;
  --primary-dark: #0d3d5c;
  --app-glow: rgba(9, 121, 165, 0.12);
  --brand-shadow: rgba(9, 121, 165, 0.2);
  --coral: #e07261;
  --gold: #ddb650;
  background:
    linear-gradient(180deg, rgba(9, 121, 165, 0.11), transparent 16rem),
    linear-gradient(180deg, #183342 0%, #0e1a22 58%, #091015 100%);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #101418;
  font-family: var(--font-main);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #202833 0%, #101418 58%, #0b0e12 100%);
  color: var(--ink);
  font-family: var(--font-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

#app {
  position: relative;
  width: min(100vw, var(--phone-width));
  height: 100dvh;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--app-glow), transparent 260px),
    var(--app-bg);
  box-shadow: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
[contenteditable="true"] {
  -webkit-touch-callout: default;
  -webkit-user-select: text;
  user-select: text;
}

.boot-screen {
  height: 100%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
  font-weight: 700;
}

.boot-screen img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px var(--brand-shadow));
}

.auth-page,
.app-shell {
  height: 100%;
  min-height: 0;
}

.auth-page {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(8, 127, 140, 0.16), rgba(246, 248, 251, 0) 280px),
    var(--app-bg);
}

.auth-visual {
  display: none;
}

.auth-visual::after,
.auth-visual-inner,
.auth-visual-copy,
.auth-promo-art {
  display: none;
}

.auth-panel {
  width: 100%;
  min-height: 0;
  display: grid;
  align-content: start;
  padding: 18px 18px 28px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.brand-lockup,
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-lockup {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 900;
  text-align: left;
}

.brand-lockup img,
.mobile-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 5px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px var(--brand-shadow);
}

.brand-lockup span,
.mobile-brand span {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
}

.mobile-brand {
  min-height: 46px;
  margin-bottom: 16px;
}

.auth-card,
.panel,
.metric-card,
.drop-card,
.profile-banner,
.empty-state,
.modal {
  border-radius: var(--radius);
}

.auth-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 251, 0.9)),
    var(--surface);
  box-shadow:
    0 20px 52px rgba(20, 36, 52, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--primary-2));
}

.auth-card h2,
.page-title h1,
.panel h2,
.section-title h2,
.drop-body h2,
.modal h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

.auth-card h2 {
  font-size: 1.58rem;
  line-height: 1.1;
}

.subcopy,
.auth-card .subcopy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.52;
}

.icon-only,
.password-toggle {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.password-toggle:hover {
  color: var(--ink);
  background: rgba(8, 127, 140, 0.08);
}

.field-stack,
.form-grid {
  display: grid;
  gap: 14px;
}

.field-stack {
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 850;
}

.field-control {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-fill);
  color: var(--ink);
  outline: 0;
  box-shadow:
    inset 0 1px 1px rgba(18, 24, 33, 0.04),
    inset 0 -1px 0 rgba(255, 255, 255, 0.72);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.field-control::placeholder {
  color: var(--muted-2);
}

.field-control:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(8, 127, 140, 0.12),
    0 8px 20px rgba(8, 127, 140, 0.08);
}

.field-control[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(200, 61, 61, 0.11);
}

textarea.field-control {
  resize: vertical;
  min-height: 108px;
}

.field-help,
.field-error {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
}

.field-help {
  color: var(--muted);
}

.field-error {
  color: var(--danger);
  font-weight: 750;
}

.auth-alert {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(200, 61, 61, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 232, 232, 0.72)),
    var(--danger-soft);
}

.auth-alert p {
  margin: 0;
  color: var(--danger);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.45;
}

.auth-alert .btn {
  width: 100%;
}

.auth-alert.is-support {
  border-color: color-mix(in srgb, var(--primary) 24%, #ffffff);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), color-mix(in srgb, var(--surface-tint) 78%, #ffffff)),
    var(--surface-tint);
}

.auth-alert.is-support p {
  color: var(--ink-soft);
}

.password-field {
  position: relative;
}

.password-field .field-control {
  padding-right: 48px;
}

.phone-input-group {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--surface-fill);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 8px 18px rgba(20, 36, 52, 0.04);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.phone-input-group:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(8, 127, 140, 0.12),
    0 8px 20px rgba(8, 127, 140, 0.08);
}

.phone-prefix {
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(203, 215, 222, 0.82);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
  font-weight: 950;
}

.phone-control {
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-control:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.phone-control[aria-invalid="true"] {
  box-shadow: none;
}

.phone-input-group:has(.phone-control[aria-invalid="true"]) {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(200, 61, 61, 0.11);
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  background: transparent;
}

.button-row,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button-row {
  margin-top: 18px;
}

.form-actions {
  margin-top: 4px;
}

.auth-primary-actions {
  display: grid;
  gap: 10px;
}

.auth-primary-actions .btn {
  width: 100%;
}

.btn {
  position: relative;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  line-height: 1;
  overflow: hidden;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease,
    border-color 150ms ease;
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

.btn:disabled {
  opacity: 0.64;
}

.btn-primary {
  min-height: 50px;
  padding: 13px 16px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, var(--primary-dark), var(--primary) 54%, var(--primary-2));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 14px 28px rgba(8, 127, 140, 0.24);
  font-weight: 950;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 1px 1px auto;
  height: 46%;
  border-radius: 7px 7px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent);
  pointer-events: none;
}

.btn-primary .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 18px 34px rgba(8, 127, 140, 0.3);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.12),
    0 9px 18px rgba(8, 127, 140, 0.2);
}

.btn-primary:disabled {
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(135deg, #7fa9ae, #8cbdb6);
  box-shadow: none;
}

.btn-secondary {
  color: var(--ink);
  border-color: rgba(203, 215, 222, 0.9);
  background: rgba(255, 255, 255, 0.94);
}

.btn-secondary:hover {
  border-color: rgba(8, 127, 140, 0.34);
  background: #ffffff;
}

.btn-verify {
  min-height: 50px;
  color: var(--primary-dark);
  border-color: rgba(8, 127, 140, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 250, 250, 0.88)),
    var(--surface-tint);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 24px rgba(8, 127, 140, 0.1);
}

.btn-verify .icon {
  width: 18px;
  height: 18px;
}

.btn-verify:hover {
  border-color: rgba(8, 127, 140, 0.34);
  background: #ffffff;
}

.btn-ghost {
  min-height: 40px;
  padding-inline: 8px;
  color: var(--primary-dark);
  background: transparent;
}

.btn-ghost:hover {
  background: rgba(8, 127, 140, 0.08);
}

.see-all-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px 6px 11px;
  border: 0;
  border-radius: var(--radius);
  color: var(--primary-dark);
  background: rgba(8, 127, 140, 0.08);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
}

.see-all-button .icon {
  width: 20px;
  height: 20px;
  padding: 4px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 16px rgba(8, 127, 140, 0.18);
}

.see-all-button:hover {
  background: rgba(8, 127, 140, 0.12);
}

.auth-card .btn-primary,
.field-stack > .btn-primary {
  width: 100%;
}

.auth-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    linear-gradient(180deg, rgba(8, 127, 140, 0.13), transparent 245px),
    var(--app-bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 12px 16px 10px;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.98), rgba(246, 248, 251, 0.82)),
    rgba(246, 248, 251, 0.92);
  backdrop-filter: blur(22px);
}

.topbar-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-avatar {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary-2));
  box-shadow:
    0 10px 24px rgba(8, 127, 140, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-size: 0.88rem;
  font-weight: 950;
}

.topbar-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.topbar-copy strong,
.topbar-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-copy strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.topbar-copy small {
  color: var(--primary-dark);
  font-size: 0.74rem;
  line-height: 1.1;
  font-weight: 900;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.balance-pill,
.desktop-nav {
  display: none;
}

.topbar-balance,
.topbar-icon {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(221, 229, 234, 0.88);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(20, 36, 52, 0.08);
}

.topbar-balance {
  gap: 7px;
  max-width: 128px;
  padding: 8px 10px;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 950;
}

.topbar-balance .icon {
  width: 17px;
  height: 17px;
}

.topbar-balance span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-icon {
  position: relative;
  width: 40px;
  padding: 0;
  color: var(--ink-soft);
}

.topbar-icon.is-active {
  color: #ffffff;
  border-color: transparent;
  background: var(--primary);
  box-shadow: 0 14px 28px var(--brand-shadow);
}

.topbar-install {
  color: var(--primary-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 251, 251, 0.9)),
    var(--surface-tint);
}

.topbar-icon .icon {
  width: 19px;
  height: 19px;
}

.topbar-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  min-width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  background: var(--coral);
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1;
}

.main-view {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 10px 16px calc(var(--nav-height) + 26px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.main-view::-webkit-scrollbar,
.auth-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.install-nudge {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 11px;
  overflow: hidden;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 252, 0.9)),
    var(--surface);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 38px rgba(20, 36, 52, 0.1);
}

.install-nudge::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--primary);
}

.install-nudge-auth {
  margin-top: 14px;
}

.install-nudge-home {
  margin: 0 0 14px;
}

.install-dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(8, 127, 140, 0.06);
}

.install-dismiss .icon {
  width: 15px;
  height: 15px;
}

.install-brand {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: var(--surface-tint);
  box-shadow: 0 12px 24px var(--brand-shadow);
}

.install-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.install-copy {
  min-width: 0;
  padding-right: 28px;
}

.install-copy span {
  display: block;
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.install-copy strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  line-height: 1.14;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.38;
}

.install-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 2px;
}

.install-primary,
.install-help {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 950;
  line-height: 1;
}

.install-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 24px var(--brand-shadow);
}

.install-primary .icon {
  width: 18px;
  height: 18px;
}

.install-help {
  padding: 0 13px;
  color: var(--primary-dark);
  background: rgba(8, 127, 140, 0.08);
  font-size: 0.78rem;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  z-index: 30;
  width: min(calc(100vw - 24px), calc(var(--phone-width) - 24px));
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  border: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 253, 0.94)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 -8px 20px rgba(20, 36, 52, 0.08),
    0 18px 42px rgba(20, 36, 52, 0.18);
  backdrop-filter: blur(24px);
  transform: translateX(-50%);
}

.nav-button {
  position: relative;
  min-width: 0;
  min-height: 56px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 3px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.1;
}

.nav-button::before {
  content: "";
  position: absolute;
  top: 5px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.nav-icon {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: transparent;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.nav-icon .icon {
  width: 19px;
  height: 19px;
}

.nav-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-button:hover {
  color: var(--ink);
  background: rgba(8, 127, 140, 0.05);
}

.nav-button.is-active {
  color: var(--primary-dark);
  border-color: transparent;
  background: transparent;
}

.nav-button.is-active::before {
  background: var(--primary);
}

.nav-button.is-active .nav-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 20px rgba(8, 127, 140, 0.22);
  transform: translateY(-1px);
}

.nav-button.is-primary-tab .nav-icon {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 10px 20px rgba(18, 24, 33, 0.18);
}

.nav-button.is-primary-tab.is-active .nav-icon {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary) 56%, var(--primary-2));
  box-shadow: 0 10px 22px var(--brand-shadow);
}

.page-title {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 14px;
}

.page-title h1 {
  font-size: 1.64rem;
  line-height: 1.12;
}

.page-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.44;
}

.pay-hero,
.giveaway-page-hero {
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 16px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--ink), #253445 54%, #375165),
    var(--ink);
  box-shadow: 0 18px 42px rgba(18, 24, 33, 0.18);
}

.pay-hero::after,
.giveaway-page-hero::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 138px;
  height: 138px;
  border: 22px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.pay-hero > *,
.giveaway-page-hero > * {
  position: relative;
  z-index: 1;
}

.pay-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.pay-hero h1,
.giveaway-page-hero h1 {
  margin: 0;
  font-size: 1.46rem;
  line-height: 1.05;
}

.pay-hero p,
.giveaway-page-hero p {
  max-width: 230px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}

.pay-hero-balance {
  min-width: 110px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.pay-hero-balance span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 850;
}

.pay-hero-balance strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.1;
  white-space: nowrap;
}

.amount-dock {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 10px 24px rgba(20, 36, 52, 0.06);
}

.amount-dock button {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  font-weight: 950;
}

.amount-dock button:hover {
  color: #ffffff;
  background: var(--primary);
}

.home-hero,
.grid-2,
.pay-layout,
.profile-layout,
.drop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.home-hero {
  margin-bottom: 13px;
}

.balance-panel {
  position: relative;
  min-height: 136px;
  overflow: hidden;
  padding: 15px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(2, 16, 24, 0.62), rgba(5, 54, 60, 0.34) 46%, rgba(8, 127, 140, 0.08)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.12)),
    url("assets/balance-panel-bg.png") right center / cover no-repeat,
    linear-gradient(145deg, var(--primary-dark), var(--primary) 58%, var(--primary-2)),
    var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 16px 36px var(--brand-shadow);
}

.balance-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 20px);
  opacity: 0.62;
}

.balance-panel::after {
  content: "";
  display: none;
}

.balance-panel-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  max-width: none;
  padding-top: 0;
}

.balance-panel-top {
  display: block;
  padding-right: 98px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 16px;
  height: 16px;
}

.balance-value {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-top: 0;
}

.balance-wallet {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 12px 22px rgba(0, 0, 0, 0.12);
}

.balance-wallet .icon {
  width: 18px;
  height: 18px;
}

.balance-value h1 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.balance-copy {
  max-width: calc(100% - 76px);
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.28;
}

.balance-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.balance-chip .icon {
  width: 13px;
  height: 13px;
}

.balance-progress {
  width: calc(100% - 78px);
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.balance-progress span {
  width: var(--tier-progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.34);
}

.balance-panel-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 0;
  width: min(100%, 276px);
}

.balance-panel-meta > span {
  min-height: 40px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  line-height: 1;
  backdrop-filter: blur(12px);
}

.balance-meta-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tier-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.tier-mark .icon {
  width: 13px;
  height: 13px;
}

.balance-meta-spacer {
  width: 20px;
  height: 20px;
}

.balance-meta-copy b {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.balance-meta-copy em {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tier-badge.is-bronze .tier-mark {
  color: #fff3e5;
  background: linear-gradient(135deg, rgba(175, 94, 44, 0.95), rgba(237, 156, 92, 0.88));
}

.tier-badge.is-silver .tier-mark {
  color: #f8fcff;
  background: linear-gradient(135deg, rgba(134, 151, 166, 0.98), rgba(220, 231, 239, 0.82));
}

.tier-badge.is-gold .tier-mark {
  color: #2b1a03;
  background: linear-gradient(135deg, rgba(245, 177, 50, 0.98), rgba(255, 224, 137, 0.9));
}

.tier-badge.is-platinum .tier-mark {
  color: #07333a;
  background: linear-gradient(135deg, rgba(164, 242, 238, 0.96), rgba(245, 255, 255, 0.92));
}

.quick-actions,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.quick-actions {
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 251, 252, 0.76)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(20, 36, 52, 0.08);
}

.quick-action {
  min-height: 78px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  padding: 9px 5px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  text-align: center;
}

.quick-action > .icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--surface-tint);
}

.quick-action strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 0.78rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-action span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.1;
}

.quick-action:hover {
  background: rgba(8, 127, 140, 0.06);
  box-shadow: none;
}

.panel,
.metric-card,
.empty-state {
  padding: 16px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 252, 0.82)),
    var(--surface-glass);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 12px 30px rgba(20, 36, 52, 0.07);
}

.panel-header,
.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-header h2,
.section-title h2 {
  font-size: 1.03rem;
  line-height: 1.22;
}

.panel-header p,
.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.metric-card {
  position: relative;
  min-height: 82px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value";
  align-items: center;
  column-gap: 10px;
  row-gap: 3px;
  overflow: hidden;
  border: 0;
  padding: 14px 12px 14px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 248, 245, 0.7)),
    var(--surface);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    var(--shadow-tight);
}

.metric-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--primary);
}

.metric-card:nth-child(2)::before {
  background: var(--coral);
}

.metric-card span {
  grid-area: label;
  min-width: 0;
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.15;
  white-space: nowrap;
}

.metric-card strong {
  grid-area: value;
  min-width: 0;
  display: block;
  margin-top: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.05;
  white-space: nowrap;
}

.metric-card .icon {
  grid-area: icon;
  width: 32px;
  height: 32px;
  padding: 7px;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--surface-tint);
}

.home-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.home-giveaway {
  margin-bottom: 14px;
}

.giveaway-carousel {
  width: calc(100% + 32px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(252px, 82%);
  gap: 12px;
  margin-inline: -16px;
  padding: 0 16px 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 16px;
  -webkit-overflow-scrolling: touch;
}

.giveaway-carousel::-webkit-scrollbar {
  display: none;
}

.giveaway-slide {
  position: relative;
  min-height: 166px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary) 52%, var(--primary-2)),
    var(--primary);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 18px 42px var(--brand-shadow);
  scroll-snap-align: start;
}

.giveaway-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 42%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 16px);
  opacity: 0.66;
}

.giveaway-slide::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  border: 24px solid rgba(255, 255, 255, 0.14);
}

.giveaway-slide.is-gold {
  background:
    linear-gradient(135deg, #916504, #f3b94f 58%, #ffd989),
    var(--gold);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 18px 42px rgba(145, 101, 4, 0.2);
}

.giveaway-slide.is-coral {
  background:
    linear-gradient(135deg, #a9362d, #e85d4a 56%, #ff9a79),
    var(--coral);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 18px 42px rgba(232, 93, 74, 0.22);
}

.giveaway-slide.has-image-bg {
  background-color: #071219;
  background-image:
    linear-gradient(90deg, rgba(3, 10, 16, 0.9) 0%, rgba(3, 10, 16, 0.68) 46%, rgba(3, 10, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    var(--drop-bg);
  background-position:
    center,
    center,
    center right;
  background-size:
    cover,
    cover,
    cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 20px 46px rgba(4, 15, 22, 0.26);
}

.giveaway-slide.has-image-bg::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 56%);
  opacity: 0.74;
}

.giveaway-slide.has-image-bg::after {
  display: none;
}

.giveaway-slide-content {
  position: relative;
  z-index: 1;
  min-height: 166px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 14px;
}

.giveaway-slide-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.giveaway-kicker {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.giveaway-slide .badge {
  min-height: 25px;
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.giveaway-slide-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px;
}

.giveaway-slide h3 {
  margin: 0;
}

.giveaway-slide h3 {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
  line-height: 1.15;
  font-weight: 850;
}

.giveaway-slide strong {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 1.62rem;
  line-height: 1;
  white-space: nowrap;
}

.giveaway-slide.has-image-bg h3,
.giveaway-slide.has-image-bg strong,
.giveaway-slide.has-image-bg .giveaway-kicker {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.giveaway-slide.has-image-bg .giveaway-visual {
  visibility: hidden;
}

.giveaway-visual {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 16px 28px rgba(0, 0, 0, 0.12);
}

.giveaway-visual .icon {
  width: 32px;
  height: 32px;
}

.giveaway-slide-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.giveaway-time {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
}

.giveaway-time .icon {
  width: 15px;
  height: 15px;
}

.giveaway-claim {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 950;
}

.giveaway-claim:disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.giveaway-page-hero {
  background:
    linear-gradient(135deg, #a9362d, var(--coral) 52%, #ff9a79),
    var(--coral);
  box-shadow: 0 18px 42px rgba(232, 93, 74, 0.2);
}

.giveaway-hero-icon {
  width: 64px;
  height: 64px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.giveaway-hero-icon .icon {
  width: 32px;
  height: 32px;
}

.giveaway-stats {
  display: grid;
  grid-template-columns: 0.72fr 0.72fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.giveaway-stats div {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(20, 36, 52, 0.06);
}

.giveaway-stats span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.giveaway-stats strong {
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.05;
  white-space: nowrap;
}

.history-panel {
  display: grid;
}

.transaction-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.transaction-list.is-recent {
  gap: 8px;
  overflow: visible;
  background: transparent;
}

.transaction-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border: 0;
  border-bottom: 1px solid rgba(221, 229, 234, 0.72);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.transaction-list.is-recent .transaction-row {
  grid-template-columns: 38px minmax(0, 1fr) minmax(78px, auto);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(221, 229, 234, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 252, 252, 0.68)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.76),
    0 8px 20px rgba(20, 36, 52, 0.05);
}

.transaction-row:last-child {
  border-bottom: 0;
}

.transaction-list.is-recent .transaction-row:last-child {
  border-bottom: 1px solid rgba(221, 229, 234, 0.78);
}

.tx-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--surface-tint);
}

.tx-icon .icon {
  width: 21px;
  height: 21px;
}

.transaction-row.is-spend .tx-icon {
  color: var(--coral);
  background: var(--coral-soft);
}

.transaction-main {
  min-width: 0;
}

.transaction-list.is-recent .transaction-main {
  display: grid;
  align-content: center;
  gap: 4px;
}

.transaction-main strong {
  display: block;
}

.transaction-main strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-title-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.transaction-title-line > strong {
  flex: 1 1 auto;
  min-width: 0;
}

.transaction-meta {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.transaction-detail {
  min-width: 0;
  display: block;
  flex: 1 1 auto;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.transaction-list.is-recent .transaction-detail {
  font-size: 0.73rem;
  line-height: 1.25;
}

.transaction-va {
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  overflow: hidden;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(8, 127, 140, 0.08);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tx-status {
  min-height: 20px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.tx-status.is-success {
  color: var(--green);
  background: rgba(26, 171, 126, 0.12);
}

.tx-status.is-pending {
  color: #8d640a;
  background: rgba(243, 185, 79, 0.18);
}

.tx-status.is-failed {
  color: var(--coral);
  background: var(--coral-soft);
}

.tx-amount {
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.transaction-side {
  min-width: 0;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 5px;
}

.transaction-side span {
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.transaction-list.is-recent .tx-amount {
  max-width: 98px;
  font-size: 0.78rem;
  line-height: 1.08;
  text-align: right;
  white-space: normal;
}

.tx-amount.is-earn {
  color: var(--green);
}

.tx-amount.is-spend {
  color: var(--coral);
}

.summary-strip {
  display: grid;
  gap: 2px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.payment-sheet,
.pay-insights,
.profile-form-sheet,
.account-sheet {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 252, 0.82)),
    var(--surface-glass);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 14px 34px rgba(20, 36, 52, 0.08);
}

.payment-sheet-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
}

.payment-sheet-header h2 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.15;
}

.payment-sheet-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.sheet-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--surface-tint);
}

.sheet-icon .icon {
  width: 19px;
  height: 19px;
}

.pay-insights {
  display: grid;
  gap: 12px;
}

.pay-insight-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 72px;
  padding: 12px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-2));
  box-shadow: 0 14px 28px rgba(8, 127, 140, 0.18);
}

.pay-insight-card .sheet-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.pay-insight-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 850;
}

.pay-insight-card strong {
  display: block;
  margin-top: 3px;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.05;
}

.va-template-list {
  display: grid;
  gap: 8px;
}

.va-template-list button {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon meta";
  align-items: center;
  column-gap: 10px;
  padding: 10px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.56);
  text-align: left;
}

.va-template-list button > span {
  grid-area: icon;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--primary);
  background: var(--surface-tint);
}

.va-template-list .icon {
  width: 18px;
  height: 18px;
}

.va-template-list strong {
  grid-area: title;
  font-size: 0.86rem;
  line-height: 1.1;
}

.va-template-list small {
  grid-area: meta;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(221, 229, 234, 0.72);
}

.summary-item:last-child {
  border-bottom: 0;
}

.summary-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.summary-item strong {
  color: var(--ink);
  text-align: right;
}

.segmented {
  width: 100%;
  display: inline-grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(221, 229, 234, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.segment {
  min-height: 36px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.segment.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 18px rgba(8, 127, 140, 0.2);
}

.drop-grid {
  gap: 13px;
}

.premium-drops {
  gap: 12px;
}

.drop-card {
  overflow: hidden;
  padding: 0;
  border: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 252, 0.86)),
    var(--surface);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.78),
    0 16px 38px rgba(20, 36, 52, 0.1);
}

.premium-drops .drop-card {
  position: relative;
  min-height: 170px;
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary) 56%, var(--primary-2)),
    var(--primary);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.17),
    0 18px 42px rgba(8, 127, 140, 0.18);
}

.premium-drops .drop-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -42px;
  width: 142px;
  height: 142px;
  border: 24px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.premium-drops .drop-card.is-gold {
  background: linear-gradient(135deg, #916504, #f3b94f 58%, #ffd989);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 18px 42px rgba(145, 101, 4, 0.16);
}

.premium-drops .drop-card.is-coral {
  background: linear-gradient(135deg, #a9362d, #e85d4a 56%, #ff9a79);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    0 18px 42px rgba(232, 93, 74, 0.18);
}

.premium-drops .drop-card.has-image-bg {
  min-height: 194px;
  background-color: #071219;
  background-image:
    linear-gradient(90deg, rgba(3, 10, 16, 0.9) 0%, rgba(3, 10, 16, 0.7) 48%, rgba(3, 10, 16, 0.14) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 42%),
    var(--drop-bg);
  background-position:
    center,
    center,
    center right;
  background-size:
    cover,
    cover,
    cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 20px 48px rgba(4, 15, 22, 0.24);
}

.premium-drops .drop-card.has-image-bg::after {
  display: none;
}

.drop-card-shell {
  position: relative;
  z-index: 1;
  min-height: 170px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 14px;
}

.premium-drops .drop-card.has-image-bg .drop-card-shell {
  min-height: 194px;
  padding: 16px;
}

.premium-drops .drop-card.has-image-bg .drop-icon,
.premium-drops .drop-card.has-image-bg .drop-card-footer > span,
.premium-drops .drop-card.has-image-bg .badge {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.premium-drops .drop-card.has-image-bg .drop-label,
.premium-drops .drop-card.has-image-bg h2,
.premium-drops .drop-card.has-image-bg .drop-points {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.drop-card-top,
.drop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drop-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.drop-icon .icon {
  width: 20px;
  height: 20px;
}

.drop-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.drop-card-main h2 {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.15;
}

.drop-points {
  display: block;
  margin-top: 5px;
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
  white-space: nowrap;
}

.drop-card-footer > span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 900;
}

.drop-card-footer .icon {
  width: 15px;
  height: 15px;
}

.drop-claim-button {
  min-height: 34px;
  padding: 8px 12px;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 950;
}

.drop-claim-button:disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.premium-drops .drop-card .badge {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.drop-art {
  min-height: 104px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, transparent), color-mix(in srgb, var(--primary-2) 8%, transparent)),
    var(--surface-tint);
}

.drop-card.is-gold .drop-art {
  background:
    linear-gradient(135deg, rgba(243, 185, 79, 0.26), rgba(255, 255, 255, 0.18)),
    var(--gold-soft);
}

.drop-card.is-coral .drop-art {
  background:
    linear-gradient(135deg, rgba(232, 93, 74, 0.22), rgba(255, 255, 255, 0.16)),
    var(--coral-soft);
}

.drop-card.is-mint .drop-art {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, transparent), color-mix(in srgb, var(--primary-2) 12%, transparent)),
    var(--surface-tint);
}

.drop-art img {
  width: min(166px, 68%);
  filter: drop-shadow(0 14px 24px rgba(20, 36, 52, 0.11));
}

.drop-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.drop-body h2 {
  font-size: 1.05rem;
}

.drop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #eef3f6;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.badge.good {
  color: var(--green);
  background: var(--green-soft);
}

.badge.warn {
  color: #875f05;
  background: var(--gold-soft);
}

.profile-layout {
  gap: 14px;
}

.premium-profile {
  gap: 14px;
}

.profile-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 116px;
  padding: 16px;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--primary-dark), var(--primary) 54%, var(--primary-2)),
    var(--primary);
  box-shadow: 0 18px 42px rgba(8, 127, 140, 0.2);
}

.profile-hero-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -44px;
  width: 142px;
  height: 142px;
  border: 24px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.profile-hero-card .profile-avatar {
  width: 64px;
  height: 64px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 26px rgba(0, 0, 0, 0.12);
}

.profile-hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.profile-hero-copy span {
  display: inline-flex;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-hero-copy h1,
.profile-hero-copy p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-hero-copy h1 {
  color: #ffffff;
  font-size: 1.24rem;
  line-height: 1.12;
}

.profile-hero-copy p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 14px;
}

.profile-stats div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 10px 24px rgba(20, 36, 52, 0.06);
}

.profile-stats span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.profile-stats strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-form-sheet {
  margin-top: 0;
}

.profile-form-grid {
  gap: 12px;
}

.profile-banner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), color-mix(in srgb, var(--primary-2) 14%, transparent)),
    rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    0 16px 38px rgba(20, 36, 52, 0.1);
}

.profile-banner::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.24);
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 24px rgba(8, 127, 140, 0.22);
  font-size: 1.1rem;
  font-weight: 950;
}

.profile-banner h1,
.profile-banner p {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
}

.profile-banner h1 {
  overflow: hidden;
  font-size: 1.2rem;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-banner p {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.setting-row {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid rgba(221, 229, 234, 0.72);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.setting-row:last-child {
  border-bottom: 0;
}

.setting-row > .icon:first-child {
  color: var(--primary);
}

.setting-row > .icon:last-child {
  color: var(--muted-2);
}

.setting-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 900;
}

.setting-row .setting-copy {
  display: grid;
  gap: 2px;
}

.setting-row .setting-copy strong,
.setting-row .setting-copy small {
  min-width: 0;
  display: block;
}

.setting-row .setting-copy strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.setting-row .setting-copy small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
}

.setting-row.is-active .setting-copy small {
  color: var(--mint);
}

.empty-state {
  border: 0;
  min-height: 150px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
  text-align: center;
}

.empty-state p {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 16px;
  background: rgba(10, 16, 24, 0.45);
}

.modal {
  width: min(398px, 100%);
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.modal h2 {
  font-size: 1.24rem;
}

.modal p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.notification-backdrop {
  align-items: end;
  padding: 0 12px 12px;
  backdrop-filter: blur(12px);
}

.notification-sheet {
  width: min(430px, 100%);
  max-height: min(78vh, 680px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px 24px 20px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 251, 0.94)),
    #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 28px 80px rgba(5, 18, 28, 0.26);
  animation: sheetSlideUp 220ms ease-out both;
}

.install-backdrop {
  align-items: end;
  padding: 0 12px 12px;
}

.install-sheet {
  width: min(430px, 100%);
  max-height: min(84vh, 680px);
  display: grid;
  gap: 15px;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px 24px 20px 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 251, 0.96)),
    #ffffff;
  box-shadow: 0 28px 80px rgba(5, 18, 28, 0.26);
}

.install-sheet-header {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 11px;
}

.install-sheet-logo {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  background: var(--surface-tint);
  box-shadow: 0 12px 26px var(--brand-shadow);
}

.install-sheet-logo img {
  width: 39px;
  height: 39px;
  object-fit: contain;
}

.install-sheet-header div {
  min-width: 0;
}

.install-sheet-header span {
  display: block;
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.install-sheet-header h2 {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.install-steps {
  display: grid;
  gap: 9px;
}

.install-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(221, 229, 234, 0.84);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.install-step > span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 24px var(--brand-shadow);
}

.install-step .icon {
  width: 20px;
  height: 20px;
}

.install-step strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.18;
}

.install-step p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.42;
}

.install-sheet-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.notification-header,
.notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notification-header span {
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.notification-header h2 {
  margin-top: 4px;
  font-size: 1.24rem;
  line-height: 1.08;
}

.sheet-close {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: rgba(8, 127, 140, 0.08);
}

.sheet-close .icon {
  width: 19px;
  height: 19px;
}

.notification-toolbar {
  padding: 10px;
  border-radius: var(--radius);
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(8, 127, 140, 0.06)),
    rgba(8, 127, 140, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
}

.mini-link {
  border: 0;
  color: var(--primary-dark);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 950;
}

.notification-list {
  display: grid;
  gap: 9px;
  min-height: 0;
  overflow: auto;
  padding: 1px 2px 2px;
}

.notification-item {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid rgba(221, 229, 234, 0.84);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 252, 252, 0.72)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 24px rgba(20, 36, 52, 0.05);
  text-align: left;
}

.notification-item::before {
  content: "";
  position: absolute;
  inset: 10px auto 10px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: transparent;
}

.notification-item.is-unread {
  border-color: color-mix(in srgb, var(--primary) 32%, #ffffff);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, #ffffff), rgba(255, 255, 255, 0.9)),
    #ffffff;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 10%, transparent);
}

.notification-item.is-unread::before {
  background: var(--primary);
}

.notification-icon {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--primary-dark);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(8, 127, 140, 0.08)),
    var(--surface-tint);
}

.notification-icon .icon {
  width: 20px;
  height: 20px;
}

.notification-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.notification-copy strong,
.notification-copy span,
.notification-copy small {
  display: block;
}

.notification-copy strong {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.24;
}

.notification-copy span {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.42;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.notification-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

.notification-page-hero {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent),
    var(--primary);
  box-shadow: 0 22px 50px var(--brand-shadow);
}

.notification-page-hero::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -70px;
  width: 188px;
  height: 188px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.notification-hero-copy,
.notification-hero-badge {
  position: relative;
  z-index: 1;
}

.notification-hero-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.notification-hero-copy .pay-kicker,
.notification-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.notification-hero-copy h1 {
  margin: 0;
  font-size: 1.82rem;
  line-height: 1.08;
}

.notification-hero-copy p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.45;
}

.notification-hero-badge {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.notification-hero-badge .icon {
  width: 28px;
  height: 28px;
}

.notification-hero-badge span {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: #ffffff;
  font-size: 0.64rem;
  font-weight: 950;
}

.notification-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.notification-summary-card {
  min-width: 0;
  min-height: 78px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 253, 0.88)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(20, 36, 52, 0.08);
}

.notification-summary-card.is-wide {
  grid-column: 1 / -1;
}

.notification-summary-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.notification-summary-card strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 950;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-page-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.notification-page-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 16px;
  background: rgba(246, 248, 251, 0.86);
  box-shadow: 0 14px 32px rgba(20, 36, 52, 0.08);
  backdrop-filter: blur(20px);
}

.notification-segmented {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.notification-segment {
  min-width: 0;
  min-height: 36px;
  padding: 8px 6px;
  border: 0;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 950;
  line-height: 1.1;
}

.notification-segment.is-active {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 10px 22px var(--brand-shadow);
}

.notification-read-all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(18, 24, 33, 0.16);
  font-size: 0.76rem;
  font-weight: 950;
  white-space: nowrap;
}

.notification-read-all:disabled {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  cursor: default;
}

.notification-read-all .icon {
  width: 17px;
  height: 17px;
}

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

.notification-page-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 11px;
  padding: 13px;
  border: 1px solid rgba(221, 229, 234, 0.86);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(250, 252, 253, 0.9)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(20, 36, 52, 0.08);
}

.notification-page-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
}

.notification-page-card.is-unread {
  border-color: color-mix(in srgb, var(--primary) 28%, #ffffff);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--primary) 12%, transparent);
}

.notification-page-card.is-unread::before {
  background: var(--primary);
}

.notification-page-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: var(--primary-dark);
  background: var(--surface-tint);
}

.notification-page-card.is-unread .notification-page-icon {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 24px var(--brand-shadow);
}

.notification-page-icon .icon {
  width: 21px;
  height: 21px;
}

.notification-page-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.notification-page-title {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notification-page-title strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-page-title span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--surface-tint);
  font-size: 0.62rem;
  font-weight: 950;
}

.notification-page-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.notification-page-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
}

.notification-page-meta span:first-child {
  color: var(--primary-dark);
}

.notification-page-actions {
  display: grid;
  align-content: start;
  gap: 6px;
}

.notification-action-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(8, 127, 140, 0.08);
}

.notification-action-button .icon {
  width: 17px;
  height: 17px;
}

.notification-empty {
  min-height: 180px;
}

.toast-stack {
  position: fixed;
  z-index: 90;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  left: 50%;
  display: grid;
  gap: 10px;
  width: min(398px, calc(100vw - 28px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 252, 0.88)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 44px rgba(20, 36, 52, 0.18);
  color: var(--ink);
  backdrop-filter: blur(22px);
  animation: toastDrop 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  pointer-events: auto;
}

.toast::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--primary);
  transform-origin: left;
  animation: toastTimer 3200ms linear forwards;
}

.toast-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px var(--brand-shadow);
}

.toast-icon .icon {
  width: 19px;
  height: 19px;
}

.toast-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.toast-copy strong,
.toast-copy span {
  min-width: 0;
  display: block;
}

.toast-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.16;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast-copy span {
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.32;
  overflow-wrap: anywhere;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.toast.success {
  border-color: rgba(36, 147, 110, 0.22);
}

.toast.error {
  border-color: rgba(200, 61, 61, 0.24);
}

.toast.success::after,
.toast.success .toast-icon {
  background: var(--green);
}

.toast.error::after,
.toast.error .toast-icon {
  background: var(--danger);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px rgba(200, 61, 61, 0.18);
}

@keyframes toastDrop {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastTimer {
  to {
    transform: scaleX(0);
  }
}

@keyframes sheetSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 360px) {
  .auth-panel,
  .main-view {
    padding-inline: 13px;
  }

  .auth-card,
  .panel,
  .balance-panel,
  .pay-hero,
  .giveaway-page-hero,
  .payment-sheet,
  .pay-insights,
  .profile-form-sheet,
  .account-sheet,
  .profile-hero-card,
  .profile-banner {
    padding: 15px;
  }

  .quick-actions,
  .metric-grid {
    gap: 10px;
  }

  .quick-action {
    min-height: 82px;
    padding: 10px 6px;
  }

  .balance-panel-top {
    padding-right: 88px;
  }

  .balance-chip {
    top: 12px;
    right: 12px;
  }

  .balance-wallet {
    width: 31px;
    height: 31px;
    border-radius: 10px;
  }

  .balance-value {
    gap: 7px;
  }

  .balance-value h1 {
    font-size: 1.64rem;
  }

  .balance-copy,
  .balance-progress {
    max-width: none;
    width: 100%;
  }

  .balance-panel-meta {
    width: 100%;
  }

  .transaction-row {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .transaction-list.is-recent .transaction-row {
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
  }

  .tx-icon {
    width: 40px;
    height: 40px;
  }

  .tx-amount {
    grid-column: 2;
    justify-self: start;
  }

  .transaction-list.is-recent .transaction-side {
    grid-column: 2;
    width: 100%;
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: start;
    margin-top: 2px;
  }

  .transaction-list.is-recent .tx-amount {
    grid-column: auto;
    max-width: none;
    text-align: left;
  }

  .bottom-nav {
    padding-inline: 7px;
  }

  .install-nudge {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 12px;
  }

  .install-brand {
    width: 44px;
    height: 44px;
  }

  .install-brand img {
    width: 32px;
    height: 32px;
  }

  .install-actions,
  .install-sheet-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-button {
    font-size: 0.68rem;
  }

  .giveaway-carousel {
    grid-auto-columns: minmax(232px, 84%);
  }

  .giveaway-slide-main {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .giveaway-visual {
    width: 54px;
    height: 54px;
  }

  .giveaway-slide strong {
    font-size: 1.38rem;
  }

  .pay-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .pay-hero-balance {
    width: fit-content;
    min-width: 0;
  }

  .notification-page-hero {
    min-height: 140px;
    padding: 16px;
  }

  .notification-hero-copy h1 {
    font-size: 1.58rem;
  }

  .notification-hero-badge {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 16px;
  }

  .notification-page-toolbar {
    grid-template-columns: 1fr;
  }

  .notification-read-all {
    width: 100%;
  }

  .notification-page-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .notification-page-actions {
    grid-column: 2;
    grid-auto-flow: column;
    justify-content: start;
  }

  .giveaway-stats strong {
    font-size: 0.84rem;
  }

  .drop-points {
    font-size: 1.36rem;
  }

  .premium-drops .drop-card.has-image-bg,
  .premium-drops .drop-card.has-image-bg .drop-card-shell {
    min-height: 180px;
  }

  .profile-hero-card {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .profile-hero-card .profile-avatar {
    width: 56px;
    height: 56px;
  }
}

@media (min-width: 760px) {
  html,
  body {
    height: 100%;
    min-height: 100%;
  }

  body {
    align-items: center;
    padding: 18px;
    overflow: hidden;
  }

  #app {
    height: min(calc(100dvh - 36px), 900px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    box-shadow:
      0 0 0 10px rgba(255, 255, 255, 0.035),
      var(--shadow-deep);
  }

  .auth-page,
  .app-shell {
    height: 100%;
    min-height: 0;
  }

  .bottom-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    border-radius: var(--radius);
    transform: none;
  }

  .modal-backdrop {
    position: absolute;
    border-radius: 30px;
  }

  .toast-stack {
    position: absolute;
    top: 42px;
  }
}
