:root {
  --blue: #175bea;
  --blue-dark: #1049c6;
  --ink: #142440;
  --muted: #8792a6;
  --line: #edf0f6;
  --surface: #f5f7fb;
  --green: #249777;
  --orange: #b37737;
  --radius: 20px;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #edf2fa;
  font-size: 14px;
  line-height: 1.6;
}
button,
input,
a {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #75a4ff;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg,
a svg {
  pointer-events: none;
}
button span {
  pointer-events: none;
}
.app-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
#app {
  padding-bottom: 100px;
  min-height: 100dvh;
}
.page {
  padding: 0 22px 25px;
  animation: enter 0.22s ease;
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px;
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 1px;
  gap: 9px;
}
.brand-mark {
  background: var(--blue);
  color: #fff;
  width: 33px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px 10px 13px 10px;
}
.brand-mark svg {
  width: 21px;
}
.brand-caption {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #76849b;
}
.brand-divider {
  width: 1px;
  height: 15px;
  background: #d9e1ee;
  margin: 0 2px;
}
.icon-button {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: #f5f7fb;
  position: relative;
}
.notice-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ed8c68;
  right: 11px;
  top: 8px;
  border: 1px solid #fff;
}
.greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 0 20px;
}
.greeting h1 {
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.7px;
}
.greeting p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.avatar {
  width: 44px;
  height: 44px;
  background: #e6edfc;
  border: 3px solid white;
  color: #6d8ccd;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 3px 9px #243c6310;
}
.avatar svg {
  width: 26px;
  height: 26px;
}
.overview {
  border-radius: 21px;
  background: linear-gradient(120deg, #1c66f3, #1453d8);
  color: white;
  padding: 21px 22px 19px;
  box-shadow: 0 10px 24px #175bea21;
  position: relative;
  overflow: hidden;
}
.overview:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 36px solid #ffffff06;
  top: -110px;
  right: -95px;
  pointer-events: none;
}
.overview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #e2edff;
}
.overview-top svg {
  width: 17px;
  height: 17px;
}
.overview-brand {
  font-size: 9px;
  letter-spacing: 1.7px;
  opacity: 0.6;
}
.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 18px;
}
.stat {
  flex: 1;
  text-align: center;
  color: #fff;
  position: relative;
  padding: 0;
}
.stat + .stat:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 1px;
  height: 35px;
  background: #ffffff24;
}
.stat strong {
  display: block;
  font-size: 31px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.stat span {
  display: block;
  font-size: 11px;
  color: #dbe7ff;
  margin-top: 6px;
}
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 26px;
}
.quick {
  background: white;
  border: 1px solid #e9eef7;
  padding: 15px 13px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.quick-icon {
  width: 35px;
  height: 35px;
  background: #edf3ff;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
}
.quick:nth-child(2) .quick-icon {
  background: #fff4e7;
  color: #c9954e;
}
.quick strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
}
.quick small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 13px;
}
.section-heading h2 {
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.4px;
}
.section-heading a,
.section-heading button {
  font-size: 11px;
  color: var(--muted);
  padding: 0;
}
.section-heading svg {
  width: 13px;
  height: 13px;
}
.coupon-card {
  background: white;
  border: 1px solid #e8edf5;
  border-radius: 17px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.coupon-main {
  display: flex;
  align-items: center;
  padding: 18px 15px;
  gap: 14px;
}
.ticket-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 47px;
  height: 57px;
  background: #eaf1ff;
  color: var(--blue);
  border-radius: 8px;
}
.ticket-icon:before,
.ticket-icon:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  top: 24px;
}
.ticket-icon:before {
  left: -4px;
}
.ticket-icon:after {
  right: -4px;
}
.ticket-icon svg {
  width: 24px;
  height: 24px;
}
.ticket-icon.mint {
  background: #eaf7f3;
  color: #349d84;
}
.ticket-icon.violet {
  background: #f0ecfc;
  color: #8a70cc;
}
.coupon-copy {
  min-width: 0;
  flex: 1;
}
.coupon-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
.coupon-desc {
  font-size: 11px;
  color: #64728a;
  margin-top: 3px;
}
.coupon-date {
  font-size: 10px;
  color: #939eb0;
  margin-top: 6px;
}
.coupon-right {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  align-self: stretch;
  justify-content: space-between;
  gap: 12px;
}
.badge {
  font-size: 9px;
  color: var(--blue);
  background: #edf3ff;
  padding: 2px 7px;
  border-radius: 5px;
  white-space: nowrap;
  font-weight: 500;
}
.badge.orange {
  color: #b78344;
  background: #fcf1e6;
}
.badge.green {
  color: #349b80;
  background: #edf8f3;
}
.badge.gray {
  background: #f0f2f6;
  color: #8892a2;
}
.quantity {
  font-size: 12px;
  color: #536078;
}
.quantity b {
  font-size: 17px;
  font-weight: 600;
  margin-left: 3px;
}
.coupon-bottom {
  padding: 11px 15px;
  border-top: 1px dashed #e4eaf4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fcfdff;
}
.coupon-bottom small {
  font-size: 10px;
  color: #8c98ab;
}
.mini-button {
  border: 1px solid #d8e5ff;
  background: #f1f6ff;
  color: var(--blue);
  padding: 5px 15px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
}
.campaign-banner {
  background: #eaf0fc;
  border-radius: 18px;
  padding: 19px 19px 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.campaign-kicker {
  font-size: 10px;
  color: #6e83a7;
  letter-spacing: 1.5px;
}
.campaign-banner h3 {
  font-size: 18px;
  margin-top: 6px;
}
.campaign-banner p {
  font-size: 11px;
  color: #7788a5;
  margin: 5px 0 13px;
}
.campaign-banner a {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}
.campaign-banner a svg {
  width: 13px;
}
.banner-art {
  width: 85px;
  transform: rotate(10deg);
  flex-shrink: 0;
  height: 103px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dce6fa;
  box-shadow: 6px 7px 0 #d7e3fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--blue);
  margin-right: 6px;
}
.banner-art span {
  font-size: 9px;
  letter-spacing: 2px;
  color: #7d95c4;
}
.banner-art strong {
  font-size: 29px;
  line-height: 1.5;
}
.banner-art small {
  font-size: 9px;
  border-top: 1px dashed #dce5f6;
  width: 66px;
  text-align: center;
  padding-top: 5px;
}
.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a4aec0;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.5px;
  margin-top: 25px;
}
.trust-line svg {
  width: 13px;
  height: 13px;
}
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  background: #ffffffed;
  backdrop-filter: blur(18px);
  border-top: 1px solid #e9edf5;
  display: flex;
  justify-content: space-around;
  padding: 12px 12px calc(10px + env(safe-area-inset-bottom));
  z-index: 10;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  color: #95a0b2;
  font-size: 10px;
}
.bottom-nav svg {
  width: 21px;
  height: 21px;
}
.bottom-nav .active {
  color: var(--blue);
  font-weight: 700;
}
.bottom-nav .active svg {
  stroke-width: 2.3;
}
.page-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid #f1f3f7;
}
.page-header h1 {
  font-size: 16px;
  font-weight: 650;
}
.page-header .header-right {
  width: 38px;
}
.page-header .icon-button {
  background: none;
}
.tabs {
  display: flex;
  background: #fff;
  margin: 0 -22px 21px;
  padding: 0 20px;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs button {
  white-space: nowrap;
  font-size: 12px;
  padding: 17px 0 15px;
  color: #8792a5;
  position: relative;
  flex: 1;
}
.tabs button.active {
  color: var(--blue);
  font-weight: 650;
}
.tabs button.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 3px;
  background: var(--blue);
  border-radius: 3px;
  left: 50%;
  transform: translateX(-50%);
}
.list-summary {
  font-size: 11px;
  color: #929db0;
  display: flex;
  justify-content: space-between;
  margin: 17px 0 12px;
}
.list-summary b {
  color: #53647e;
  font-weight: 500;
}
.list-page .coupon-main {
  padding-top: 21px;
  padding-bottom: 20px;
}
.primary {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 12px #175bea12;
  min-height: 48px;
}
.primary:hover {
  background: #104fd5;
}
.secondary {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #dce5f4;
  background: white;
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
}
.primary svg,
.secondary svg {
  width: 17px;
  height: 17px;
}
.text-button {
  font-size: 12px;
  color: var(--blue);
  padding: 10px;
}
.card {
  background: white;
  border: 1px solid #e9edf5;
  border-radius: 17px;
  padding: 20px;
  margin-top: 18px;
}
.field-title {
  font-size: 14px;
  font-weight: 650;
  margin: 25px 0 13px;
}
.subtext {
  color: #8d99ac;
  font-size: 11px;
}
.stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stepper {
  display: flex;
  align-items: center;
  background: #f6f8fc;
  border: 1px solid #e9edf5;
  border-radius: 10px;
  height: 41px;
  overflow: hidden;
}
.stepper button {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
}
.stepper svg {
  width: 15px;
  height: 15px;
}
.stepper output {
  min-width: 46px;
  text-align: center;
  background: white;
  line-height: 39px;
  font-weight: 650;
}
.method {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid #e4eaf4;
  border-radius: 13px;
  background: white;
  margin-bottom: 10px;
  text-align: left;
}
.method.selected {
  border-color: #719df4;
  background: #f8fbff;
  box-shadow: 0 0 0 2px #175bea04;
}
.method-icon {
  width: 37px;
  height: 37px;
  background: #edf3ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.method strong {
  font-size: 13px;
  display: block;
}
.method small {
  display: block;
  color: #8b97aa;
  font-size: 10px;
  margin-top: 3px;
}
.radio {
  width: 16px;
  height: 16px;
  border: 1px solid #d6dfed;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
}
.selected .radio {
  border: 5px solid var(--blue);
}
.info-box {
  padding: 16px;
  background: #edf3ff;
  border-radius: 13px;
  margin-top: 22px;
  color: #7385a5;
  font-size: 11px;
  line-height: 1.9;
}
.info-box strong {
  color: #3f669f;
  display: block;
  font-size: 12px;
  margin-bottom: 5px;
}
.info-box ol {
  margin: 0;
  padding-left: 17px;
}
.info-box svg {
  width: 14px;
  height: 14px;
  margin-right: 3px;
}
.sticky-action {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 460px;
  background: #ffffffef;
  backdrop-filter: blur(10px);
  padding: 14px 22px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid #e9edf5;
  z-index: 8;
}
.sticky-action .subtext {
  text-align: center;
  margin-top: 8px;
  font-size: 10px;
}
.detail-hero {
  text-align: center;
  padding: 29px 20px 26px;
  background: #fff;
  border-radius: 19px;
  margin-top: 20px;
  border: 1px solid #e8edf5;
}
.detail-hero .badge {
  font-size: 10px;
}
.amount {
  font-size: 56px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  letter-spacing: -2px;
  margin: 15px 0 4px;
}
.amount small {
  font-size: 23px;
  margin-right: 4px;
  letter-spacing: 0;
}
.detail-hero h2 {
  font-size: 16px;
  margin-top: 5px;
}
.detail-hero p {
  font-size: 11px;
  color: #8592a9;
  margin-top: 8px;
}
.detail-divider {
  border-top: 1px dashed #e2e8f3;
  margin: 22px -20px 16px;
}
.detail-meta {
  display: flex;
  justify-content: space-around;
  font-size: 11px;
  color: #8c98ab;
}
.detail-meta b {
  color: #52637c;
  font-weight: 500;
  display: block;
  margin-bottom: 3px;
}
.card h2 {
  font-size: 14px;
  margin-bottom: 15px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  font-size: 11px;
  margin: 12px 0;
  color: #526179;
}
.info-row > span:first-child {
  color: #94a0b3;
  flex-shrink: 0;
}
.info-row > span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
}
.rule-list {
  padding-left: 16px;
  margin: 0;
  color: #7c899f;
  font-size: 11px;
  line-height: 2;
}
.activity-hero {
  padding: 30px 22px 48px;
  background: linear-gradient(145deg, #185ced, #2876f2);
  color: white;
  position: relative;
  text-align: center;
}
.activity-hero .eyebrow {
  color: #c7dcff;
  font-size: 10px;
  letter-spacing: 3px;
}
.activity-hero h2 {
  font-size: 29px;
  line-height: 1.45;
  letter-spacing: 1px;
  margin: 15px 0 10px;
}
.activity-hero p {
  font-size: 12px;
  color: #d4e3ff;
}
.activity-tag {
  display: inline-flex;
  border: 1px solid #ffffff36;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 10px;
  margin-top: 20px;
  gap: 5px;
  align-items: center;
}
.activity-tag svg {
  width: 13px;
  height: 13px;
}
.activity-card {
  margin-top: -24px;
  position: relative;
  background: white;
  padding: 25px 20px;
  border-radius: 19px;
  border: 1px solid #e1e8f5;
  text-align: center;
  box-shadow: 0 8px 25px #1c487608;
}
.activity-card .amount {
  margin: 8px 0 0;
}
.activity-card p {
  font-size: 11px;
  color: #8090aa;
  margin-top: 6px;
}
.activity-card .primary {
  margin-top: 23px;
}
.activity-card h3 {
  font-size: 15px;
}
.activity-caption {
  font-size: 10px;
  color: #a0abbc;
  display: block;
  margin-top: 10px;
}
.benefits {
  display: flex;
  justify-content: space-around;
  margin: 22px 0;
  font-size: 10px;
  color: #8a99b1;
}
.benefits div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.benefits svg {
  color: #6e8ec6;
  width: 19px;
  height: 19px;
}
.success-top {
  padding: 27px 22px 55px;
  text-align: center;
  background: linear-gradient(145deg, #185ced, #2876f2);
  color: #fff;
}
.success-seal {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  background: white;
  border-radius: 50%;
  margin: 0 auto 17px;
  color: var(--blue);
  box-shadow: 0 0 0 9px #ffffff0e;
}
.success-seal svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.6;
}
.success-top h2 {
  font-size: 20px;
  font-weight: 650;
}
.success-top p {
  font-size: 11px;
  margin-top: 7px;
  color: #d6e6ff;
}
.code-card {
  margin-top: -29px;
  position: relative;
  text-align: center;
  background: white;
  border: 1px solid #e9edf5;
  border-radius: 17px;
  padding: 23px 18px;
}
.code-card h3 {
  font-size: 12px;
}
.code-card h3 span {
  font-size: 10px;
  font-weight: 400;
  color: #97a2b2;
}
.parse-code {
  font-size: 25px;
  letter-spacing: 0.5px;
  color: var(--blue);
  font-weight: 750;
  white-space: nowrap;
  margin: 15px 0;
}
.code-card .mini-button {
  padding: 7px 18px;
}
.code-card .subtext {
  margin-top: 15px;
  font-size: 10px;
}
.records-list {
  margin-top: 18px;
}
.record {
  background: white;
  border: 1px solid #e9edf5;
  padding: 16px;
  border-radius: 15px;
  margin-bottom: 12px;
}
.record-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.record-icon {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #eff4ff;
  color: var(--blue);
}
.record-icon svg {
  width: 16px;
  height: 16px;
}
.record-top strong {
  font-size: 12px;
}
.record-top small {
  font-size: 10px;
  color: #98a2b3;
  display: block;
  margin-top: 1px;
}
.record-top .badge {
  margin-left: auto;
}
.record-body {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #f0f3f7;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.record-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}
.empty {
  text-align: center;
  padding: 65px 20px;
}
.empty-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: #9aafcf;
  background: #eaf0fa;
  border-radius: 22px;
  margin: 0 auto 19px;
}
.empty-icon svg {
  width: 29px;
  height: 29px;
}
.empty h2 {
  font-size: 16px;
}
.empty p {
  font-size: 12px;
  color: #8a98af;
  margin: 8px 0 20px;
}
.empty .secondary {
  max-width: 180px;
  margin: auto;
}
.profile-top {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 29px 0 18px;
}
.profile-top .avatar {
  width: 62px;
  height: 62px;
}
.profile-top h2 {
  font-size: 21px;
}
.profile-top p {
  font-size: 11px;
  color: #8897ae;
  margin-top: 4px;
}
.member-tag {
  font-size: 10px;
  color: #bd9860;
  background: #fff5e6;
  padding: 3px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 6px;
}
.menu {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 17px;
  overflow: hidden;
  margin-top: 18px;
}
.menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  padding: 18px;
  gap: 12px;
  font-size: 13px;
  border-bottom: 1px solid #f0f3f8;
}
.menu-item:last-child {
  border: 0;
}
.menu-item > svg:first-child {
  width: 18px;
  height: 18px;
  color: #6883b0;
}
.menu-item > svg:last-child {
  width: 15px;
  height: 15px;
  color: #a3afc1;
  margin-left: auto;
}
.menu-item small {
  margin-left: auto;
  font-size: 11px;
  color: #9aa6ba;
}
.demo-label {
  font-size: 10px;
  letter-spacing: 0.4px;
  color: #8797ae;
  text-align: center;
  margin: 26px 0 8px;
}
.demo-label button {
  color: #5879ad;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-page {
  padding: 45px 27px;
}
.login-logo {
  width: 59px;
  height: 59px;
  border-radius: 18px;
  background: var(--blue);
  color: white;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
}
.login-logo svg {
  width: 31px;
  height: 31px;
}
.login-page h2 {
  font-size: 28px;
}
.login-page > p {
  font-size: 12px;
  color: #8c9ab0;
  margin: 8px 0 35px;
}
.input-label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin: 19px 0 9px;
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #e0e7f2;
  border-radius: 12px;
  padding: 0 15px;
  min-height: 51px;
}
.input-wrap:focus-within {
  border-color: #74a1f8;
}
.input-wrap svg {
  width: 17px;
  height: 17px;
  color: #98a7bf;
}
.input-wrap input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none !important;
  padding: 14px 0;
  min-width: 0;
  font-size: 13px;
  color: var(--ink);
}
.input-wrap input::placeholder {
  color: #acb5c5;
}
.input-wrap button {
  font-size: 11px;
  color: var(--blue);
  white-space: nowrap;
  padding: 8px 0;
}
.login-page .primary {
  margin-top: 28px;
}
.consent {
  font-size: 10px;
  color: #9ca7b8;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 17px;
}
.consent input {
  accent-color: var(--blue);
  margin-top: 4px;
}
.consent button {
  padding: 0;
  color: #6f8fbe;
  font-size: 10px;
}
.guide-step {
  display: flex;
  gap: 14px;
  padding: 21px 0;
  border-bottom: 1px solid #edf1f7;
}
.guide-step:last-child {
  border: 0;
}
.step-number {
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: #edf3ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.guide-step h3 {
  font-size: 13px;
  margin-top: 3px;
}
.guide-step p {
  font-size: 11px;
  color: #8a98ac;
  line-height: 1.9;
  margin-top: 6px;
}
.guide-title {
  text-align: center;
  padding: 26px 0 7px;
}
.guide-title svg {
  width: 33px;
  height: 33px;
  color: var(--blue);
  margin-bottom: 12px;
}
.guide-title h2 {
  font-size: 19px;
}
.guide-title p {
  font-size: 11px;
  color: #8d9cb1;
  margin-top: 7px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #12254269;
  backdrop-filter: blur(4px);
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: fade 0.15s;
}
.sheet {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 12px 24px calc(24px + env(safe-area-inset-bottom));
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 -12px 60px #0c25561a;
}
.sheet-handle {
  height: 4px;
  width: 34px;
  background: #e0e6ef;
  border-radius: 4px;
  margin: 0 auto 21px;
}
.sheet h2 {
  font-size: 19px;
  text-align: center;
}
.sheet .sheet-subtitle {
  font-size: 11px;
  color: #96a1b3;
  text-align: center;
  margin: 7px 0 18px;
}
.sheet-close {
  position: absolute;
  right: 16px;
  top: 22px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f5f7fa;
  display: grid;
  place-items: center;
}
.sheet-close svg {
  width: 15px;
  height: 15px;
}
.share-qr {
  display: flex;
  justify-content: center;
  padding: 13px;
}
.share-qr img {
  width: 208px;
  height: 208px;
  image-rendering: pixelated;
}
.share-link {
  padding: 12px;
  background: #f4f7fc;
  border: 1px solid #e5eaf3;
  border-radius: 10px;
  font-size: 10px;
  color: #8b98ac;
  overflow-wrap: anywhere;
  max-height: 68px;
  overflow-y: auto;
  margin: 17px 0;
}
.sheet .primary {
  margin-top: 15px;
}
.sheet .secondary {
  margin-top: 10px;
}
.share-footnote {
  font-size: 10px;
  line-height: 1.8;
  color: #9aa6b7;
  margin-top: 14px;
  text-align: center;
}
.identity-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid #e6ebf4;
  border-radius: 13px;
  gap: 12px;
  margin-top: 12px;
  text-align: left;
}
.identity-option.active {
  border-color: #8baff7;
  background: #f5f8ff;
}
.identity-option strong {
  font-size: 13px;
  display: block;
}
.identity-option small {
  font-size: 10px;
  color: #909eb3;
  display: block;
}
.identity-option > svg {
  margin-left: auto;
  color: var(--blue);
}
.danger {
  color: #ca6d68;
}
.toast {
  position: fixed;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%) translateY(7px);
  max-width: calc(100vw - 50px);
  width: max-content;
  background: #172741ed;
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 12px;
  z-index: 60;
  box-shadow: 0 6px 20px #17274124;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.desktop-intro {
  display: none;
}
.error-note {
  font-size: 11px;
  color: #c36d68;
  min-height: 18px;
  margin-top: 9px;
}
.receive-person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8090a9;
  font-size: 11px;
  margin: 22px 0 0;
}
.receive-person .avatar {
  width: 26px;
  height: 26px;
  border-width: 2px;
}
.receive-person .avatar svg {
  width: 15px;
  height: 15px;
}
.received-link {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--blue);
  padding: 16px;
}
.muted-hero {
  padding: 35px 20px;
  text-align: center;
}
.muted-hero svg {
  width: 44px;
  height: 44px;
  color: #8da1c0;
}
.muted-hero h2 {
  font-size: 19px;
  margin-top: 16px;
}
.muted-hero p {
  color: #91a0b5;
  font-size: 12px;
  margin-top: 8px;
}
.profile-card-note {
  font-size: 11px;
  color: #91a0b5;
  line-height: 1.9;
}
.status-note {
  font-size: 10px;
  color: #8fa0b8;
  text-align: center;
  margin-top: 12px;
}
.activity-share {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.log-count {
  padding: 2px 7px;
  border-radius: 6px;
  background: #f2f5f9;
  color: #92a1b8;
  font-size: 10px;
}
@keyframes enter {
  from {
    opacity: 0.3;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (min-width: 900px) {
  body {
    background: radial-gradient(ellipse at 0 20%, #f9fbff 0, #edf2fa 60%);
  }
  .desktop-intro {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: max(5vw, calc(50% - 550px));
    top: 49px;
    bottom: 35px;
    width: 410px;
  }
  .desktop-intro .brand {
    font-size: 27px;
  }
  .desktop-intro .brand-mark {
    width: 38px;
    height: 40px;
  }
  .desktop-intro .brand-caption {
    font-size: 12px;
  }
  .intro-body {
    margin-top: auto;
    margin-bottom: auto;
    padding-bottom: 10px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 2.1px;
    color: #91a3bd;
  }
  .intro-body h1 {
    font-size: 40px;
    line-height: 1.55;
    letter-spacing: 1px;
    margin: 20px 0;
  }
  .intro-body h1 span {
    color: var(--blue);
  }
  .intro-body > p {
    font-size: 13px;
    line-height: 2.2;
    color: #8b9ab1;
    letter-spacing: 1px;
  }
  .intro-line {
    height: 1px;
    width: 260px;
    background: #dce5f2;
    margin: 29px 0 22px;
  }
  .intro-feature {
    width: 250px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 17px 0;
    color: #6780a3;
    font-size: 12px;
  }
  .intro-feature > svg {
    width: 18px;
    height: 18px;
  }
  .intro-feature > svg:last-child {
    margin-left: auto;
    width: 14px;
    color: #a8b6ca;
  }
  .intro-note {
    margin-top: 35px;
    font-size: 10px;
    letter-spacing: 1px;
    color: #a0adc2;
  }
  .live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8ca9d6;
    display: inline-block;
    margin-right: 6px;
  }
  .desktop-foot {
    font-size: 10px;
    color: #a9b5c8;
    letter-spacing: 3px;
  }
  .app-shell {
    margin: 26px max(6vw, calc(50vw - 550px)) 26px auto;
    min-height: calc(100dvh - 52px);
    border: 1px solid #e2e8f2;
    border-radius: 27px;
    box-shadow: 0 20px 80px #27467b12;
  }
  .bottom-nav,
  .sticky-action {
    left: auto;
    right: max(6vw, calc(50vw - 550px));
    transform: none;
    max-width: 460px;
    bottom: 26px;
    border-radius: 0 0 26px 26px;
    border: 1px solid #e2e8f2;
  }
  .page-header {
    position: relative;
  }
  .toast {
    left: auto;
    right: calc(max(6vw, calc(50vw - 550px)) + 230px);
    transform: translate(50%, -50%);
  }
  .toast.show {
    transform: translate(50%, -50%);
  }
  .modal-backdrop {
    align-items: center;
  }
  .sheet {
    border-radius: 24px;
    padding-bottom: 24px;
  }
  .app-shell #app {
    min-height: calc(100dvh - 54px);
  }
  .desktop-intro .brand-divider {
    background: #d0dced;
  }
}
@media (max-width: 360px) {
  .page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .coupon-main {
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .coupon-title {
    font-size: 12px;
  }
  .ticket-icon {
    width: 40px;
    height: 51px;
  }
  .coupon-date {
    font-size: 9px;
  }
  .coupon-desc {
    font-size: 10px;
  }
  .tabs {
    margin-left: -16px;
    margin-right: -16px;
    gap: 14px;
  }
  .parse-code {
    font-size: 22px;
  }
  .topbar {
    padding: 0 17px;
  }
  .brand-caption {
    font-size: 10px;
  }
  .quick {
    padding: 13px 10px;
    gap: 8px;
  }
  .quick-icon {
    width: 30px;
    height: 32px;
  }
  .greeting h1 {
    font-size: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/* API-backed account and coupon states */
.api-code-card{margin-top:18px}.api-code-card .parse-code{font-size:17px;letter-spacing:.3px;white-space:normal;overflow-wrap:anywhere;line-height:1.8}.mobile-pagination{display:flex;justify-content:space-between;align-items:center;margin:22px 0;color:#8190a6;font-size:12px}.mobile-pagination .disabled{opacity:.4;pointer-events:none}.copy-fallback{width:100%;min-height:120px;padding:12px;border:1px solid #dce5f4;border-radius:12px;font-size:12px}.loading-spinner{width:30px;height:30px;border:3px solid #dce7fc;border-top-color:#175bea;border-radius:50%;margin:0 auto 20px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
