:root {
  --ew-ink: #12231c;
  --ew-muted: #5f6d65;
  --ew-line: #d5e0d8;
  --ew-panel: rgba(255, 255, 255, 0.92);
  --ew-green: #1a7a52;
  --ew-green-deep: #0f3d2c;
  --ew-mint: #d8f0e4;
  --ew-sand: #f3efe6;
  --ew-sea: #1e5f7a;
  --ew-teal: #17806a;
  --ew-shadow: 0 12px 30px rgba(18, 45, 34, 0.08);
}

.app-body {
  margin: 0 auto;
  max-width: 480px;
  min-height: 100vh;
  color: var(--ew-ink);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(ellipse 120% 60% at 100% -10%, rgba(46, 140, 110, 0.18), transparent 55%),
    radial-gradient(ellipse 90% 50% at -20% 20%, rgba(30, 95, 122, 0.12), transparent 50%),
    linear-gradient(180deg, #e7f2ec 0%, var(--ew-sand) 42%, #eef3ef 100%);
}
.app-content { padding: 12px 14px 88px; }
.app-toast {
  margin: 10px 14px 0;
  padding: 10px 12px;
  background: var(--ew-green-deep);
  color: #fff;
  border-radius: 12px;
  font-size: 13px;
  animation: rise 0.35s ease;
}
.app-tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(480px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255,255,255,0.94);
  border-top: 1px solid var(--ew-line);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 40;
  backdrop-filter: blur(10px);
}
.app-tabbar a {
  text-align: center;
  text-decoration: none;
  color: #6a746c;
  font-size: 11px;
  padding: 4px 2px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.app-tabbar a.on { color: var(--ew-green); font-weight: 700; }
.app-tabbar a.on .ico { transform: translateY(-1px); }
.app-tabbar .ico { display: block; font-style: normal; font-size: 18px; line-height: 1.2; transition: transform 0.2s ease; }

.app-hero-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #0d3326 0%, #1a5c42 48%, #2a7a5a 100%);
  color: #fff;
  border-radius: 22px;
  padding: 18px 16px 16px;
  margin-bottom: 14px;
  box-shadow: var(--ew-shadow);
  animation: rise 0.45s ease;
}
.app-hero-glow {
  position: absolute;
  right: -40px; top: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 214, 180, 0.35), transparent 70%);
  pointer-events: none;
  animation: pulse 4.5s ease-in-out infinite;
}
.app-hero-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.app-hero-top h1 {
  margin: 2px 0 0;
  font-size: 26px;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.app-hero-top .muted { opacity: 0.82; margin: 0; font-size: 13px; }
.hero-tag {
  margin: 6px 0 0;
  font-size: 12px;
  color: #c9eadc;
  letter-spacing: 0.02em;
}
.app-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.16); color: #fff;
  text-decoration: none; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.22);
}
.app-hero-money {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px;
}
.app-hero-money div {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 10px 8px; text-align: center;
  backdrop-filter: blur(4px);
}
.app-hero-money span { display: block; font-size: 11px; opacity: 0.82; }
.app-hero-money strong { font-size: 15px; }
.app-hero-actions {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px;
}
.app-hero-actions a {
  text-align: center; color: #fff; text-decoration: none;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px; padding: 9px 0; font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.app-hero-actions a:active { transform: scale(0.97); background: rgba(255,255,255,0.22); }

.app-panel {
  background: var(--ew-panel);
  border: 1px solid rgba(213, 224, 216, 0.9);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(18, 45, 34, 0.04);
  animation: rise 0.5s ease;
}
.app-panel h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; }
.intro { margin: 0 0 10px; color: var(--ew-muted); font-size: 13px; line-height: 1.55; }
.muted { color: #7a847c; font-size: 12px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.row-between a { color: var(--ew-green); text-decoration: none; font-size: 13px; font-weight: 600; }
.chip-soft {
  font-size: 11px; color: var(--ew-teal);
  background: var(--ew-mint); border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}

.partners-stack { display: grid; gap: 14px; }
.partner-block {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--ew-line);
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 45, 34, 0.06);
}
.everwell-block {
  padding: 16px 14px 18px;
  border-color: rgba(23, 128, 106, 0.28);
  background:
    linear-gradient(165deg, rgba(238, 248, 243, 0.95), rgba(255, 255, 255, 0.98) 42%),
    #fff;
}
.partner-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.brand-tag {
  margin: 0;
  color: var(--ew-teal);
  font-size: 12px;
  font-weight: 700;
}
.ew-mv { display: grid; gap: 12px; margin-top: 14px; }
.ew-mv-item h4 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #17806a;
}
.ew-mv-item p {
  margin: 0;
  color: #4d5751;
  font-size: 13px;
  line-height: 1.65;
}
.brands-merged { border-color: rgba(30, 95, 122, 0.22); }
.brands-duo-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 118px;
}
.duo-half {
  position: relative;
  overflow: hidden;
  min-height: 118px;
}
.duo-bg {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
}
.duo-half::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.28));
  pointer-events: none;
}
.duo-logo-plate {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: min(78%, 150px);
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 8px 18px rgba(0,0,0,0.14);
}
.duo-logo-plate img {
  display: block;
  width: 100%;
  height: 34px;
  object-fit: contain;
}
.brand-body { padding: 14px 14px 16px; }
.brand-desc {
  margin: 10px 0 0;
  color: #4d5751;
  font-size: 13px;
  line-height: 1.6;
}
.brand-desc.brand-joint {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(30, 95, 122, 0.12);
  color: #3f4a44;
  font-weight: 600;
}

.why-row {
  margin-top: 12px; padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef8f3, #e8f1f6);
}
.why-row h3 { margin: 0 0 8px; font-size: 14px; }
.why-row ul { margin: 0; padding-left: 18px; color: var(--ew-muted); font-size: 13px; line-height: 1.6; }
.shop-cat-block { margin: 0 0 18px; }
.shop-cat-title {
  margin: 4px 2px 10px;
  font-size: 15px;
  font-weight: 800;
  color: #2d3a34;
}
.brand-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.brand-filter button {
  border: 1px solid var(--ew-line);
  background: #fff;
  color: #4d5751;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 650;
}
.brand-filter button.on {
  background: var(--ew-mint);
  border-color: rgba(23, 128, 106, 0.35);
  color: #17806a;
}

.home-compact {
  display: grid; gap: 8px; margin-bottom: 12px;
}
.home-compact-card {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
  border-radius: 16px; padding: 14px;
  border: 1px solid transparent;
}
.home-compact-card b { display: block; margin-bottom: 4px; font-size: 15px; }
.home-compact-card small { display: block; color: var(--ew-muted); font-size: 12px; line-height: 1.4; }
.home-compact-card > span { flex: 0 0 auto; color: var(--ew-green); font-size: 12px; font-weight: 700; }
.product-card-link { text-decoration: none; color: inherit; }
.home-products { margin-top: 4px; }
.me-team-card {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-bottom: 12px; padding: 14px;
  border-radius: 16px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, #e8f7ef, #e8f2f8);
  border: 1px solid #cfe4d8;
  box-shadow: 0 8px 18px rgba(18, 45, 34, 0.04);
}
.me-team-card b { display: block; font-size: 15px; margin-bottom: 4px; }
.me-team-card small { display: block; color: var(--ew-muted); font-size: 12px; line-height: 1.45; }
.me-team-card > span { color: var(--ew-green); font-weight: 700; }
.task-notice {
  margin: 0 0 6px !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: var(--ew-muted);
}
.task-progress-under, .task-progress-idle { margin-top: 12px; }
.assist-meta {
  display: flex; justify-content: space-between; margin: 8px 0; color: #6a746c; font-size: 13px;
}
.task-action-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 8px;
}
.task-claim-side { margin: 0; }
.task-claim-side .app-btn,
.task-btn-lg {
  width: 100%;
  min-height: 52px;
  padding: 14px 12px;
  font-size: 16px;
  font-weight: 700;
  box-sizing: border-box;
}
.task-earn-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 10px 8px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(135deg, #eef8f3, #e8f1f6);
  border: 1px solid #cfe4d8;
  box-sizing: border-box;
}
.task-earn-btn span {
  font-size: 12px;
  color: var(--ew-muted);
  line-height: 1.2;
}
.task-earn-btn strong {
  color: var(--ew-green);
  font-size: 18px;
}
.mission-panel .mission-lead {
  margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--ew-green-deep);
}
.mission-hr {
  border: 0; border-top: 1px solid var(--ew-line); margin: 12px 0;
}
.finance-hero {
  background: linear-gradient(145deg, #0d3326, #1a5c42 55%, #1e5f7a);
  color: #fff; border-radius: 20px; padding: 16px; margin-bottom: 12px;
  box-shadow: var(--ew-shadow);
}
.finance-hero h1 { margin: 0 0 10px; font-size: 22px; }
.finance-hero .task-warn {
  background: rgba(255, 246, 232, 0.95); margin-bottom: 12px;
}
.finance-top-facts div {
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.12);
}
.finance-top-facts dt { color: rgba(255,255,255,0.78) !important; }
.finance-top-facts dd { color: #fff; }
.finance-hero-intro { color: rgba(255,255,255,0.86); margin: 10px 0 0; }
.app-grid4 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.app-grid4 a {
  display: block; padding: 14px 12px; border-radius: 14px; text-decoration: none; color: inherit;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.app-grid4 a:active { transform: scale(0.98); }
.app-grid4 b { display: block; margin-bottom: 4px; font-size: 14px; }
.app-grid4 small { color: var(--ew-muted); font-size: 12px; }
.feat-tasks { background: linear-gradient(160deg, #e8f7ef, #f4fbf7); border-color: #cfe8da !important; }
.feat-finance { background: linear-gradient(160deg, #e8f2f8, #f3f8fb); border-color: #c9dde9 !important; }
.feat-shop { background: linear-gradient(160deg, #f3efe6, #faf7f1); border-color: #e4dccb !important; }
.feat-team { background: linear-gradient(160deg, #eef6f1, #f7fbf8); border-color: #d4e5db !important; }

.plan-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0; }
.plan-mini div {
  text-align: center;
  background: linear-gradient(180deg, #f4faf7, #eef5f1);
  border-radius: 12px; padding: 10px 6px;
  border: 1px solid #dde8e1;
}
.plan-mini strong { display: block; font-size: 12px; margin-bottom: 4px; }
.plan-mini span { color: var(--ew-green); font-weight: 700; }

.app-btn {
  display: inline-block; border: 0; border-radius: 12px; padding: 11px 14px;
  background: linear-gradient(135deg, #1a7a52, #146344);
  color: #fff; text-decoration: none; font: inherit; cursor: pointer;
  box-shadow: 0 8px 16px rgba(20, 99, 68, 0.18);
}
.app-btn.ghost {
  background: #fff; color: var(--ew-green); border: 1px solid #9fceb8;
  box-shadow: none;
}
.app-btn.sm { padding: 7px 12px; font-size: 13px; box-shadow: none; }
.app-form label { display: block; margin: 8px 0; font-size: 13px; }
.app-form input, .app-form select {
  width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid #cfd7d1;
  border-radius: 12px; font: inherit; box-sizing: border-box; background: #fff;
}

.product-row {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: thin;
}
.product-chip {
  flex: 0 0 132px; text-decoration: none; color: inherit;
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--ew-line);
  box-shadow: 0 6px 14px rgba(18, 45, 34, 0.05);
}
.product-chip-media, .product-card-media { position: relative; }
.product-chip img { width: 100%; height: 92px; object-fit: cover; display: block; background: #e8eee9; }
.product-chip span, .product-chip b { display: block; padding: 4px 8px; font-size: 12px; }
.product-chip b { color: var(--ew-green); padding-bottom: 8px; }

.brand-pill {
  position: absolute; left: 8px; top: 8px;
  font-size: 10px; font-weight: 700; color: #fff;
  border-radius: 999px; padding: 3px 8px;
}
.brand-pill.medisana { background: rgba(23, 128, 106, 0.92); }
.brand-pill.beurer { background: rgba(30, 95, 122, 0.92); }

.shop-hero {
  background:
    linear-gradient(135deg, rgba(15, 61, 44, 0.92), rgba(30, 95, 122, 0.88)),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 45%);
  color: #fff;
  border-radius: 20px;
  padding: 18px 16px;
  margin-bottom: 12px;
  animation: rise 0.4s ease;
}
.shop-hero .intro { color: rgba(255,255,255,0.86); margin: 0; }
.shop-hero h1 { margin: 4px 0 8px; font-size: 24px; letter-spacing: 0.03em; }
.shop-kicker {
  margin: 0; font-size: 12px; color: #b7e0d2; letter-spacing: 0.04em;
}
.brand-filter {
  display: flex; gap: 8px; margin: 0 0 12px; overflow-x: auto;
}
.brand-filter button {
  flex: 0 0 auto; padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ew-line);
  color: var(--ew-muted); font: inherit; font-size: 13px; cursor: pointer;
}
.brand-filter button.on {
  background: var(--ew-green-deep); color: #fff; border-color: var(--ew-green-deep);
}

.product-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px;
}
.product-card {
  background: #fff; border: 1px solid var(--ew-line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 18px rgba(18, 45, 34, 0.05);
}
.product-card.is-medisana { border-color: rgba(23, 128, 106, 0.28); }
.product-card.is-beurer { border-color: rgba(30, 95, 122, 0.28); }
.product-card img { width: 100%; height: 120px; object-fit: cover; background: #e8eee9; display: block; }
.product-card .body { padding: 10px; }
.product-card .cat { font-size: 11px; color: #7a847c; }
.product-card h3 { margin: 4px 0 6px; font-size: 13px; line-height: 1.35; min-height: 2.6em; }
.product-card .price { margin: 0 0 8px; color: var(--ew-green); font-weight: 700; }

.app-content.me-page {
  padding-top: 10px;
  background: transparent;
}
.me-shell {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 24px;
  padding: 14px 14px 16px;
  margin: 0 0 8px;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(90, 200, 150, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(40, 120, 90, 0.4), transparent 50%),
    linear-gradient(160deg, #0a2f24 0%, #146046 42%, #1f7a58 72%, #2a8f68 100%);
  box-shadow: 0 16px 36px rgba(10, 47, 36, 0.22);
  min-height: calc(100vh - 110px);
}
.me-head {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #0d3326, #1f5a42 55%, #2a6e52);
  color: #fff; border-radius: 20px; padding: 14px 16px 16px; margin-bottom: 12px;
  box-shadow: var(--ew-shadow);
}
.me-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
/* CS icon alone on the left; language + settings stay top-right as before */
button.me-cs-icon.me-cs-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 auto 0 0 !important;
  margin-right: auto !important;
  padding: 0 !important;
  background: rgba(255,255,255,0.14) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: #fff !important;
  cursor: pointer;
  flex: 0 0 36px !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  font: inherit;
  line-height: 1;
}
button.me-cs-icon.me-cs-icon svg { display: block; width: 20px; height: 20px; }
button.me-cs-icon.me-cs-icon:active {
  transform: scale(0.96);
  background: rgba(255,255,255,0.22) !important;
}
.me-toolbar .me-lang,
.me-toolbar .me-settings {
  flex: 0 0 auto;
}
.me-panel {
  margin-top: 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  padding: 12px 14px;
  backdrop-filter: blur(6px);
}
.me-panel h2 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #fff;
}
.me-shell .me-links a {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.14);
}
.me-shell .me-links a:active {
  opacity: 0.85;
}
.me-lang select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  color: #fff; border-radius: 999px;
  padding: 6px 28px 6px 12px; font: inherit; font-size: 12px;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  max-width: 132px;
}
.me-lang select option { color: #1a221c; }
.me-settings {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14);
  color: #fff; text-decoration: none; font-size: 18px;
}
.me-main { display: flex; gap: 12px; align-items: center; }
.me-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 700;
  background: rgba(255,255,255,0.18); flex: 0 0 auto;
}
.me-meta { min-width: 0; }
.me-meta h1 { margin: 0 0 4px; font-size: 20px; }
.me-meta p { margin: 0; font-size: 13px; opacity: 0.9; }
.me-gaps {
  list-style: disc; margin: 12px 0 0; padding-left: 18px;
  font-size: 12px; opacity: 0.92; line-height: 1.55;
}
.me-gaps li { margin: 2px 0; }
.me-cash-actions {
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
}
.me-cash-actions a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 38px;
}
.me-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.me-stats div {
  background: linear-gradient(180deg, #f5faf7, #eef5f1);
  border: 1px solid #e0ebe4;
  border-radius: 14px; padding: 10px;
}
.me-stats span { display: block; color: #6a746c; font-size: 12px; }
.me-stats strong { font-size: 16px; }
.me-stats-inhead {
  margin-top: 14px;
}
.me-stats-inhead div {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.1);
}
.me-stats-inhead span { color: rgba(255,255,255,0.78); }
.me-stats-inhead strong { color: #fff; }
.me-links { display: grid; gap: 0; }
.me-links a {
  display: block; padding: 12px 4px; border-bottom: 1px solid #e8eee9;
  color: inherit; text-decoration: none; font-size: 14px;
}
.me-links a:last-child { border-bottom: 0; }
.fund-grid { display: grid; gap: 16px; }
.fund-grid h3 { margin: 0 0 6px; font-size: 14px; }
.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;
}

.app-page-head { margin-bottom: 12px; }
.app-page-head h1 { margin: 0 0 6px; font-size: 22px; }

.plan-card { position: relative; overflow: hidden; }
.plan-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--ew-green); color: #fff; border-radius: 8px; padding: 2px 8px; font-size: 12px;
}
.plan-facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0;
}
.plan-facts div {
  background: linear-gradient(180deg, #f4faf7, #eef5f1);
  border-radius: 12px; padding: 8px; text-align: center;
}
.plan-facts dt { font-size: 11px; color: #6a746c; }
.plan-facts dd { margin: 2px 0 0; font-weight: 700; font-size: 13px; }

.rec-list { list-style: none; margin: 0; padding: 0; }
.rec-list li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid #e8eee9; font-size: 13px;
}
.rec-list li:last-child { border-bottom: 0; }
.rec-list small { display: block; color: #7a847c; margin-top: 2px; }
.rec-list .right { text-align: right; }
.gap-list { margin: 0; padding-left: 18px; color: #4d574f; font-size: 13px; }

.tab-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tab-row a {
  padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid #d7ddd4;
  color: #4d574f; text-decoration: none; font-size: 12px;
}
.tab-row a.on { background: var(--ew-green); color: #fff; border-color: var(--ew-green); }

.task-warn {
  background: #fff6e8; border: 1px solid #efd3a4; color: #7a4b00;
  padding: 10px 12px; border-radius: 12px; margin-bottom: 10px;
}

.progress-track {
  height: 10px; border-radius: 999px; background: #e4ece7; overflow: hidden;
}
.progress-fill {
  height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #1a7a52, #3fbf8a);
  transition: width 0.4s ease;
}

.field-label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ew-ink);
}
.payout-pick {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}
.app-form .payout-pick-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  border: 1.5px solid var(--ew-line);
  background: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(26, 122, 82, 0.15);
  font-size: inherit;
  user-select: none;
}
.app-form .payout-pick-row input[type="radio"] {
  flex: 0 0 auto;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  appearance: auto;
  -webkit-appearance: radio;
  accent-color: var(--ew-green);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.payout-pick-row.is-on {
  border-color: var(--ew-green);
  box-shadow: 0 0 0 2px rgba(26, 122, 82, 0.15);
  background: #f3faf6;
}
.payout-pick-row.is-empty {
  opacity: 0.55;
  cursor: default;
  background: #f7f7f7;
}
.payout-pick-body {
  flex: 1;
  display: grid;
  gap: 4px;
  min-width: 0;
  pointer-events: none;
}
.payout-pick-body strong {
  font-size: 14px;
  color: var(--ew-green-deep);
}
.payout-pick-body small {
  color: var(--ew-muted);
  font-size: 12px;
}
.payout-pick-body .mono {
  font-size: 13px;
  word-break: break-all;
  color: var(--ew-ink);
  font-weight: 600;
}

.me-cs-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.me-cs-overlay[hidden] { display: none !important; }
.me-cs-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 24, 18, 0.48);
  cursor: pointer;
}
.me-cs-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  margin: 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -10px 30px rgba(18, 45, 34, 0.16);
  animation: me-cs-up 0.22s ease;
}
@keyframes me-cs-up {
  from { transform: translateY(16px); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.me-cs-sheet h3 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 16px;
}
.me-cs-sheet-actions {
  display: grid;
  gap: 10px;
}
.me-cs-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 14px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--ew-green-deep);
}
.me-cs-btn.me-cs-telegram { background: #229ED9; }
.me-cs-btn.me-cs-whatsapp { background: #25D366; }
.me-cs-btn:active { transform: scale(0.98); opacity: 0.92; }
.me-cs-cancel {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: #eef3ef;
  color: var(--ew-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
body.me-cs-open { overflow: hidden; }

.usdt-recv .usdt-addr {
  margin: 6px 0 10px;
  padding: 10px 12px;
  background: #f3f7f4;
  border-radius: 10px;
  border: 1px dashed var(--ew-line);
}
.usdt-qr-wrap {
  text-align: center;
  margin: 12px 0;
}
.usdt-qr {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--ew-line);
  padding: 8px;
}
.app-btn.sm { padding: 8px 12px; font-size: 13px; min-height: auto; }

.install-panel .install-block { margin-top: 10px; }
.install-panel .install-block + .install-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ew-line);
}
.install-panel h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ew-green-deep);
}
.install-panel .install-note { margin: 8px 0 0; font-size: 12px; }
.install-panel .app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 8px;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
