:root {
  --brand: #147A73;
  --brand2: #2A9D8F;
  --brand3: #D7EDEA;
  --bg: #F3F5F4;
  --card: #ffffff;
  --line: #E4EBE9;
  --text: #1C2422;
  --text2: #5C6B67;
  --text3: #8B9693;
  --blue: #3A7D78;
  --green: #2F8A62;
  --orange: #D9784A;
  --grad: #147A73;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow-x: hidden; }
body {
  background: #E8EEEC;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--text);
}

.app {
  max-width: 430px;
  margin: 0 auto;
  height: 100dvh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.08);
}

.safe-top { height: env(safe-area-inset-top, 0px); background: #fff; flex: 0 0 auto; }
.nav {
  background: #fff;
  padding: 12px 16px;
  text-align: center;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}
.nav-title { font-size: 17px; font-weight: 600; color: var(--text); }
.nav-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }

.main { flex: 1 1 0; overflow: hidden auto; padding-bottom: 70px; }
.view { display: none; padding: 14px 14px 100px; }
.view.active { display: block; }
.hidden { display: none !important; }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(20, 122, 115, 0.06);
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-title .bar {
  width: 3px;
  height: 14px;
  background: var(--brand);
  border-radius: 2px;
  margin-right: 2px;
  display: inline-block;
}
.card-title-tag {
  font-size: 11px;
  color: var(--text2);
  background: var(--brand3);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  font-weight: 400;
}
.card-title-count { margin-left: auto; font-size: 12px; color: var(--text3); font-weight: 400; }

svg.ico {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: -3px;
  flex: 0 0 auto;
}
svg.ico.ico-white { width: 18px; height: 18px; }
svg.tab-ico {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 auto 3px;
}
.wtab-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.wtab-item .ico { color: currentColor; }
.opt-name {
  display: flex;
  align-items: center;
  gap: 6px;
}
.opt-name .ico { color: var(--brand); }
.btn-primary, .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.coupon-bar .ico { width: 18px; height: 18px; color: var(--orange); }
.ticker-ico { width: 14px; height: 14px; color: var(--brand); flex: 0 0 auto; }
.menu-ico .ico { width: 15px; height: 15px; color: #fff; }
.menu-ico.ico-gift { background: #147A73; }
.menu-ico.ico-history { background: #3A7D78; }
.menu-ico.ico-ticket { background: #2A9D8F; }
.menu-ico.ico-shield { background: #2F8A62; }
.menu-ico.ico-hand { background: #1F6F69; }
.menu-ico.ico-trash { background: #9AA6A3; }
.art-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.art-item .ico {
  width: 18px;
  height: 18px;
  color: var(--brand);
  margin-bottom: 4px;
}
.art-item.on .ico { color: var(--brand); }
.his-empty-ico {
  width: 42px;
  height: 42px;
  color: #C5CDC9;
  margin: 0 auto 10px;
  display: block;
}

.hero {
  background: linear-gradient(135deg, #DCEEEB, #E8F4F1);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.hero-h { font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.4; }
.hero-s { font-size: 13px; color: var(--text2); margin-top: 6px; line-height: 1.7; }

.field-input {
  width: 100%;
  background: #F4F8F7;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 14px;
  height: 44px;
  line-height: 44px;
  font-size: 15px;
  outline: none;
  color: var(--text);
}
.field-input:focus { background: #fff; border-color: var(--brand3); }
.field {
  width: 100%;
  background: #F4F8F7;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  line-height: 1.7;
  color: var(--text);
  resize: none;
}
.field:focus { background: #fff; border-color: var(--brand3); }
.field-big { min-height: 180px; height: 200px; }

.tool-row { display: flex; margin-top: 10px; gap: 8px; }
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.tool-btn { flex: 1; padding: 8px 0; font-size: 12.5px; color: var(--text2); }
.tool-btn .ico { color: currentColor; }
.tool-btn:active { background: #F3F5F4; }
.tool-btn.danger { color: var(--orange); border-color: #F0D8C8; }

.plat-row { display: flex; gap: 8px; }
.plat {
  flex: 1;
  text-align: center;
  background: #F4F8F7;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.plat.on {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(20, 122, 115, 0.12);
}
.plat:active { transform: scale(0.96); }

.opt {
  padding: 12px 14px;
  background: #F4F8F7;
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: .15s;
}
.opt:last-child { margin-bottom: 0; }
.opt.on { background: #EAF5F3; border-color: var(--brand); }
.opt.on .opt-name { color: var(--brand); }
.opt-name { font-size: 15px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.opt-desc { font-size: 12px; color: var(--text2); margin-top: 4px; line-height: 1.6; }

.clean-tip {
  margin-top: 10px;
  font-size: 13px;
  color: #0e7a45;
  background: #e8f7ef;
  border-radius: 10px;
  padding: 8px 12px;
  line-height: 1.5;
  display: none;
}
.clean-tip.warn { color: #b36300; background: #fff6e8; }
.clean-tip.show { display: block; }

.btn, .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--grad);
  text-align: center;
  cursor: pointer;
  letter-spacing: 1px;
  font-family: inherit;
}
.btn-primary { margin-top: 14px; }
.btn:active, .btn-primary:active { opacity: 0.85; }
.btn.disabled, .btn-primary.disabled {
  background: #C5D4D1;
  color: #fff;
}
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn.blue { background: #3A7D78; }
.btn.green { background: #2F8A62; }

.wtab {
  display: flex;
  background: #E8EEEC;
  border-radius: 13px;
  padding: 4px;
  margin-bottom: 14px;
}
.wtab-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  padding: 10px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text2);
  border-radius: 10px;
  cursor: pointer;
  transition: .18s;
}
.wtab-item.on {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.07);
}

.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.art-item {
  padding: 10px 8px;
  border-radius: 11px;
  background: #F4F8F7;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.art-item.on { background: #EAF5F3; border-color: #B7DCD6; }
.art-item-t { font-size: 13.5px; font-weight: 600; color: var(--text); }
.art-item-s { font-size: 10.5px; color: var(--text3); margin-top: 3px; line-height: 1.45; }
.art-res-title { font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 10px; }
.art-res-body { font-size: 14.5px; color: var(--text); line-height: 2; white-space: pre-wrap; word-break: break-word; }

.tabbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 20;
}
.tab { flex: 1; padding: 8px 0 7px; text-align: center; color: #8B9693; cursor: pointer; }
.tab.on { color: var(--brand); }
.tab svg { display: block; margin: 0 auto 3px; }
.tab span { font-size: 11px; }

.toast {
  position: fixed;
  left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 12px;
  z-index: 99;
  max-width: 80%;
  text-align: center;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.toast.show { opacity: 1; }

.buy-ticker {
  position: fixed;
  left: 10px;
  top: calc(env(safe-area-inset-top, 0px) + 56px);
  display: none;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #D7EDEA;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 12px;
  color: #3A7D78;
  z-index: 60;
  box-shadow: 0 4px 12px rgba(20, 122, 115, 0.12);
  max-width: 78%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: tickerFloat 3.2s ease-in-out infinite;
}
.buy-ticker.show { display: flex; }
@keyframes tickerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}
.ticker-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.plan-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.plan {
  flex: 1;
  background: var(--card);
  border: none;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(20, 122, 115, 0.08);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: .15s;
  min-width: 90px;
}
.plan:active { transform: scale(0.97); }
.plan.on { background: #EAF5F3; box-shadow: 0 4px 16px rgba(20, 122, 115, 0.18); }
.plan.on .plan-name { color: var(--brand); }
.plan-hot {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
}
.plan-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 12px;
}
.plan-price { font-size: 20px; font-weight: 800; color: var(--text); margin-top: 5px; line-height: 1.25; }
.plan-days { font-size: 10.5px; color: var(--text2); margin-top: 3px; }

.vip-benefits { padding: 2px 0 4px; }
.vip-benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  border-bottom: 1px dashed var(--line);
}
.vip-benefit:last-child { border-bottom: none; }
.vip-benefit .ok-dot {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #2F8A62;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.vip-benefit .ok-dot .ico { width: 12px; height: 12px; }
.vip-notes p { font-size: 12.5px; color: var(--text2); line-height: 1.85; margin: 0 0 5px; }

.buy-wrap {
  position: absolute;
  left: 0; right: 0;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, #fff 78%, rgba(255, 255, 255, 0));
  box-shadow: 0 -3px 14px rgba(20, 122, 115, 0.08);
  display: none;
}
.buy-wrap.show { display: block; }
.buy-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 26px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(20, 122, 115, 0.24);
  cursor: pointer;
  font-family: inherit;
}
.buy-btn:active { transform: scale(0.97); opacity: 0.92; }
.buy-btn span { font-size: 17px; }

.me-card {
  background: linear-gradient(135deg, #DCEEEB, #E8F4F1);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 6px rgba(20, 122, 115, 0.12);
  overflow: hidden;
  flex: 0 0 auto;
}
.avatar.has-img { padding: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-name { font-size: 18px; font-weight: 700; }
.me-sub { font-size: 12px; opacity: 0.85; margin-top: 3px; }
.me-id { font-size: 12px; color: var(--text2); margin-top: 3px; }

.vip-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--brand);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 122, 115, 0.22);
}
.vip-cta:active { background: #116862; }
.vip-cta-t { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.vip-cta-s { font-size: 12px; color: rgba(255, 255, 255, 0.9); margin-top: 5px; line-height: 1.6; }
.vip-cta-btn {
  flex: 0 0 auto;
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  border-radius: 22px;
  padding: 10px 18px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.menu {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(28, 36, 34, 0.04);
}
.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:active { background: #F6F8F7; }
.menu-item .arr { margin-left: auto; color: var(--text3); }
.menu-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
}

.foot-note {
  text-align: center;
  font-size: 11px;
  color: var(--text3);
  padding: 16px 0 4px;
  line-height: 1.8;
}

.progress-wrap { display: flex; flex-direction: column; align-items: center; padding-top: 90px; text-align: center; }
.orb { width: 110px; height: 110px; border-radius: 50%; position: relative; margin-bottom: 36px; }
.orb .core {
  position: absolute; inset: 14px; border-radius: 50%;
  background: linear-gradient(135deg, #2A9D8F, #147A73);
  box-shadow: 0 0 30px rgba(20, 122, 115, 0.28);
  animation: pulse 1.6s ease-in-out infinite;
}
.orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px dashed #C7DDD8;
  animation: spin 6s linear infinite;
}
.orb .ring2 {
  position: absolute; inset: 22px; border-radius: 50%;
  border: 1.5px dashed #C7DDD8;
  animation: spin 4s linear infinite reverse;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.9); opacity: 0.75; }
}
.progress-title { font-size: 16px; font-weight: 600; color: var(--text); }
.progress-tip { font-size: 13px; color: var(--text2); margin-top: 10px; min-height: 20px; }
.progress-note { font-size: 12px; color: var(--text3); margin-top: 34px; }

.score-card {
  background: var(--grad);
  border-radius: var(--radius);
  padding: 18px;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}
.score-num { font-size: 46px; font-weight: 800; line-height: 1; }
.score-label { font-size: 13px; opacity: 0.92; margin-top: 6px; }
.banner {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.banner.ok { background: #e8f7ef; color: #0e7a45; }
.banner.warn { background: #fff6e8; color: #b36300; }
.suggest-list { list-style: none; }
.suggest-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.7; padding: 7px 0; color: var(--text); }
.suggest-list li .n {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #EAF5F3;
  color: var(--brand);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.ai-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #EAF5F3;
  color: var(--blue);
  font-size: 12px;
  border-radius: 10px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.article-title { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.article-content { font-size: 15px; line-height: 1.9; color: #333; white-space: pre-wrap; word-break: break-word; }
.report-item {
  display: flex;
  gap: 8px;
  padding: 9px 0;
  font-size: 14px;
  align-items: flex-start;
  border-bottom: 1px dashed var(--line);
  line-height: 1.6;
}
.report-item:last-child { border-bottom: none; }
.report-item .dot {
  flex: 0 0 auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 2px;
}
.dot.ok { background: var(--green); }
.dot.warn { background: var(--orange); }
.dot.fail { background: var(--brand); }
.btn-group { display: flex; gap: 10px; }
.btn-group .btn { flex: 1; }

.his-item {
  background: var(--card);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 122, 115, 0.06);
}
.his-item:active { background: #F6F8F7; }
.his-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.his-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text2); }
.his-score { margin-left: auto; color: var(--brand); font-weight: 700; font-size: 15px; }
.badge { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 20px; }
.badge-gray { background: #EEF2F1; color: var(--text2); }
.empty { text-align: center; color: var(--text3); padding: 60px 0; font-size: 14px; line-height: 2; }

.err-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.err-mask.show { display: flex; }
.err-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 340px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  position: relative;
}
.err-title { font-size: 16px; font-weight: 700; color: #c0392b; margin-bottom: 12px; }
.err-msg {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.8;
  background: #F4F8F7;
  border-radius: 10px;
  padding: 10px 12px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.err-btns { display: flex; gap: 10px; margin-top: 14px; }
.err-btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 11px 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  font-family: inherit;
}
.err-btn.gray { background: #EEF2F1; color: var(--text2); }
.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #F4F8F7;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
}

.promo-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  width: 100%;
  max-width: 330px;
  position: relative;
  text-align: center;
  box-shadow: 0 18px 50px rgba(28, 36, 34, 0.18);
}
.promo-head { font-size: 16px; font-weight: 800; color: var(--text); }
.promo-count { font-size: 12.5px; color: var(--text2); margin-top: 10px; }
.promo-count span { color: var(--orange); font-weight: 800; font-variant-numeric: tabular-nums; }
.promo-desc { font-size: 14px; color: var(--text); font-weight: 600; margin: 12px 0; line-height: 1.7; }
.promo-desc b { color: var(--orange); font-size: 20px; }
.promo-benefits {
  background: #F4F8F7;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text2);
  line-height: 2;
  text-align: left;
}
.promo-warn {
  font-size: 11px;
  color: #c98a2e;
  background: #fff8ec;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 10px;
  line-height: 1.7;
  text-align: left;
}
.promo-btn {
  width: 100%;
  border: none;
  border-radius: 22px;
  background: var(--brand);
  color: #fff;
  padding: 13px 0;
  font-size: 16px;
  font-weight: 800;
  margin-top: 14px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 122, 115, 0.22);
  font-family: inherit;
}
.promo-later { font-size: 13px; color: var(--text3); margin-top: 12px; cursor: pointer; text-decoration: underline; }
.coupon-big {
  font-size: 52px;
  font-weight: 900;
  color: var(--orange);
  line-height: 1.15;
  margin: 6px 0 2px;
}
.coupon-big-sub { display: block; font-size: 12px; color: var(--text3); font-weight: 500; margin-top: 2px; }

.coupon-bar {
  display: none;
  align-items: center;
  gap: 8px;
  background: #F8EEEA;
  border: 1px solid #F0D8C8;
  border-radius: 12px;
  padding: 11px 13px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #8A4A32;
  line-height: 1.5;
  cursor: pointer;
}
.coupon-bar.show { display: flex; }
.coupon-bar b { color: var(--orange); }
.coupon-bar-arr { color: var(--orange); font-weight: 800; margin-left: auto; white-space: nowrap; }

.paying-mask {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 0 30px;
}
.paying-mask.show { display: flex; }
.paying-mask .dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 3px solid var(--brand3);
  border-top-color: var(--brand);
  animation: spin 1.1s linear infinite;
  margin-bottom: 18px;
}
.paying-mask b { font-size: 16px; color: var(--text); }
.paying-mask p { font-size: 13px; color: var(--text2); margin-top: 8px; line-height: 1.7; }

.card-redeem-box { text-align: center; }
.card-redeem-box input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  text-align: center;
  letter-spacing: 1px;
  outline: none;
  margin: 10px 0;
}
.card-redeem-tip { font-size: 12px; color: var(--text3); line-height: 1.7; margin-bottom: 10px; }

.qr-placeholder {
  width: 180px;
  height: 180px;
  margin: 8px auto 0;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: #F4F8F7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
  padding: 12px;
}

.demo-flag {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 10px;
  color: var(--text3);
  background: #F4F8F7;
  border-radius: 8px;
  padding: 2px 6px;
}
