/* ========================================================================== 
   DRheEheAM Activity
   Light, soft-blue activity site with warm event accents.
   ========================================================================== */
:root {
  --bg: #ffffff;
  --bg-deep: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f8fbfe;
  --ink: #15212c;
  --ink-2: #475a6a;
  --ink-3: #8495a4;
  --line: #e1ebf4;
  --line-strong: #cfdeeb;
  --blue: #2f88c9;
  --blue-deep: #1b6091;
  --blue-soft: #eef7fd;
  --orange: #c98222;
  --orange-deep: #9a5d12;
  --orange-soft: #fff5df;
  --green: #1f8a55;
  --danger: #b93a3a;
  --shadow-sm: 0 4px 16px rgba(31, 71, 104, .06);
  --shadow-md: 0 16px 48px rgba(31, 71, 104, .10);
  --radius: 20px;
  --radius-sm: 13px;
  --page: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; }
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  display: inline-block;
  vertical-align: -3px;
}

.site-shell {
  width: min(var(--page), calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 72px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px 16px 10px 18px;
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  white-space: nowrap;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #57a8df, #2f88c9);
}
.brand__mark .icon { width: 19px; height: 19px; }
.brand__mark--avatar {
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
}
.brand__mark--avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand__text {
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.025em;
  color: var(--ink);
}
.brand__text em {
  font-style: normal;
  color: var(--blue);
  font-weight: 650;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.site-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 550;
  transition: background .18s var(--ease), color .18s var(--ease);
}
.site-nav__item .icon { width: 16px; height: 16px; opacity: .8; }
.site-nav__item:hover { background: var(--blue-soft); color: var(--blue-deep); }
.site-nav__item.is-active {
  background: var(--blue-soft);
  color: var(--blue-deep);
}
.site-nav__item.is-active .icon { opacity: 1; }
.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.points-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border: 1px solid #d8e8f5;
  border-radius: 10px;
  background: #f2f9ff;
  color: var(--blue-deep);
  font-size: 12.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.points-chip .icon { width: 15px; height: 15px; }
.points-chip:hover { border-color: #b9d9f0; background: #e9f5ff; }
.user-menu { position: relative; }
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #d9e8f4;
  background: #d9eaf7;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
}
.avatar--fallback { display: inline-grid; }
.user-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 188px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);

  visibility: hidden;
  transform: translateY(-5px);
  transition: .18s var(--ease);
}
.user-menu:hover .user-menu__panel,
.user-menu:focus-within .user-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.user-menu__name {
  padding: 8px 10px 9px;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu__panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 12.5px;
}
.user-menu__panel a:hover { background: var(--blue-soft); color: var(--blue-deep); }

/* ---------- Main ---------- */
.site-main { padding-top: 30px; }
.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 58px;
  padding: 18px 0 8px;
  color: var(--ink-3);
  font-size: 12px;
}
.site-footer a:hover { color: var(--blue); }
.site-footer__dot { color: #b9c9d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: .18s var(--ease);
}
.btn .icon { width: 16px; height: 16px; }
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover { background: #2779b3; transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
}
.btn--ghost:hover { border-color: #b9d5e9; color: var(--blue-deep); background: #fbfdff; }
.btn--white {
  background: #fff;
  color: var(--blue-deep);
}
.btn--white:hover { background: #f4fbff; transform: translateY(-1px); }
.btn--sm { height: 34px; padding: 0 12px; border-radius: 9px; font-size: 12.5px; }
.btn--wide { width: 100%; height: 46px; }
.btn:disabled { opacity: .6; cursor: wait; transform: none !important; }

/* ---------- Text ---------- */
.eyebrow,
.section__eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 550;
}
.text-link .icon { width: 14px; height: 14px; }
.text-link:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  gap: 34px;
  align-items: center;
  padding: 34px 8px 30px;
}
.hero__copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 760;
  line-height: 1.18;
  letter-spacing: -.045em;
}
.hero__copy h1 span { color: var(--blue); }
.hero__copy h1 .hero__name {
  display: block;
  margin-top: 2px;
  font-size: .62em;
  line-height: 1.25;
  font-weight: 680;
  letter-spacing: -.03em;
}
.hero__lead {
  max-width: 520px;
  margin: 15px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.8;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.checkin-hero {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 17px;
  border: 1px solid #cfe3f2;
  border-radius: 24px;
  color: var(--ink);
  background: #ffffff;
}
.checkin-hero::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -60px;
  width: 170px;
  height: 170px;
  border: 28px solid rgba(47, 136, 201, .06);
  border-radius: 50%;
}
.checkin-hero__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.checkin-hero__label { color: var(--blue); font-weight: 700; }
.checkin-hero__date { color: var(--ink-3); }
.checkin-hero__amount {
  position: relative;
  z-index: 1;
  margin-top: 15px;
  font-size: clamp(34px, 4vw, 48px);
  color: var(--blue);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -.04em;
}
.checkin-hero__hint {
  position: relative;
  z-index: 1;
  min-height: 22px;
  margin: 7px 0 16px;
  color: var(--ink-3);
  font-size: 12.5px;
}
.checkin-hero .btn { position: relative; z-index: 1; }
.checkin-hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 11.5px;
}
.checkin-hero__foot strong { color: var(--ink); font-weight: 700; }

/* ---------- Sections / cards ---------- */
.section { margin-top: 38px; }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.section__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.025em;
}
.section__hint { color: var(--ink-3); font-size: 12px; }
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 13px;
}
.wallet-card {
  display: block;
  padding: 18px 19px;
  border: 1px solid #d8e7f3;
  border-radius: 17px;
  background: #ffffff;

}
.wallet-card:hover { transform: translateY(-2px); border-color: #b9d9ee; }
.wallet-card--activity {
  border-color: #ead3a1;
  background: #ffffff;
}
.wallet-card__head { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.wallet-card__label { color: var(--ink-2); font-size: 12.5px; font-weight: 650; }
.wallet-card--activity .wallet-card__label { color: var(--orange-deep); }
.wallet-card__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 10px;
  font-weight: 650;
}
.wallet-card--activity .wallet-card__tag { background: #f9eac7; color: #8a5a12; }
.wallet-card__value {
  margin-top: 8px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.wallet-card--activity .wallet-card__value { color: var(--orange-deep); }
.wallet-card__meta { margin-top: 5px; color: var(--ink-3); font-size: 11.5px; }
.wallet-card--activity .wallet-card__meta { color: #a48652; }
.empty-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px dashed #d3e2ee;
  border-radius: 17px;
  background: rgba(255, 255, 255, .58);
  color: var(--ink-3);
  font-size: 13px;
}
.empty-card--activity { min-height: 104px; }
.empty-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 15px;
  background: #eef7fd;
  color: var(--blue);
}
.empty-card h3 { margin: 0 0 2px; color: var(--ink); font-size: 14px; }
.empty-card p { margin: 0; font-size: 12px; }
.empty-card .btn { margin-left: auto; }
.notice {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12.5px;
}
.notice--warn { border: 1px solid #f0ddb5; background: #fff9ec; color: #8a641f; }

/* ---------- Page head ---------- */
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px 20px;
}
.page-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: -.045em;
}
.page-head__lead { max-width: 560px; margin: 9px 0 0; color: var(--ink-2); font-size: 13.5px; }
.page-head__badge {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--ink-3);
  font-size: 11.5px;
  white-space: nowrap;
}
.page-head__badge strong { color: var(--blue); font-size: 28px; line-height: 1; font-weight: 760; }

/* ---------- Check-in panel ---------- */
.checkin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
}
.checkin-panel__main { padding: 30px 32px 26px; }
.checkin-panel__date { margin: 0 0 10px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.checkin-panel__main h2 { margin: 0 0 7px; font-size: 26px; letter-spacing: -.035em; }
.checkin-panel__lead { margin: 0 0 21px; color: var(--ink-2); font-size: 13.5px; }
.checkin-panel__lead strong { color: var(--blue); }
.checkin-panel__main .btn { max-width: 360px; }
.checkin-panel__result { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 18px; }
.checkin-panel__result span { padding: 5px 9px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-deep); font-size: 11.5px; }
.checkin-panel__balance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
}
.checkin-panel__balance strong { color: var(--ink); font-size: 19px; font-variant-numeric: tabular-nums; }
.checkin-panel__side {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 27px 22px;
  border-left: 1px solid var(--line);
  background: #ffffff;
}
.mini-stat {
  padding: 14px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #e5eff8;
}
.mini-stat span { display: block; color: var(--ink-3); font-size: 10.5px; font-weight: 650; letter-spacing: .06em; }
.mini-stat strong { display: block; margin: 4px 0 1px; font-size: 18px; letter-spacing: -.025em; }
.mini-stat small { color: var(--blue); font-size: 11px; }

/* ---------- Cycle track ---------- */
.cycle-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.cycle-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cycle-node::before {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(-50% + 20px);
  right: calc(50% + 20px);
  height: 1px;
  background: #dce9f4;
}
.cycle-node:first-child::before { display: none; }
.cycle-node__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #d9e8f4;
  border-radius: 50%;
  background: #fff;
  color: transparent;
}
.cycle-node__dot .icon { width: 15px; height: 15px; }
.cycle-node.is-current .cycle-node__dot {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.cycle-node strong { margin-top: 3px; color: var(--ink); font-size: 15px; }
.cycle-node small { color: var(--ink-3); font-size: 10.5px; }
.cycle-node.is-current strong { color: var(--blue); }
.cycle-track--month { background: #ffffff; border-color: #eadfc9; }
.cycle-track--month .cycle-node.is-current .cycle-node__dot { border-color: var(--orange); background: var(--orange); }
.cycle-track--month .cycle-node.is-current strong { color: var(--orange-deep); }
.cycle-track--month .cycle-node::before { background: #efe5d4; }

/* ---------- History ---------- */
.history-list { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.history-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #edf3f8;
}
.history-row:last-child { border-bottom: 0; }
.history-row__date { color: var(--ink-3); font-size: 12px; font-variant-numeric: tabular-nums; }
.history-row__reason { color: var(--ink-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-row__points { color: var(--green); font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
.history-row__points.is-plus { color: var(--green); }
.history-row__points.is-minus { color: var(--danger); }

/* ---------- Points page ---------- */
.wallet-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 29px;
  border: 1px solid #cfe3f2;
  border-radius: 22px;
  background: #ffffff;
  color: var(--ink);
}
.wallet-hero__label { color: var(--ink-3); font-size: 12px; font-weight: 600; }
.wallet-hero__value { margin-top: 4px; color: var(--blue); font-size: 48px; line-height: 1.08; font-weight: 760; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.wallet-hero__meta { margin-top: 6px; color: var(--ink-3); font-size: 11.5px; }
.wallet-hero__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid #cfe3f2;
  border-radius: 20px;
  background: var(--blue-soft);
  color: var(--blue);
}
.wallet-hero__icon .icon { width: 30px; height: 30px; }

/* ---------- Shop / activities ---------- */
.category-tabs { display: flex; gap: 5px; overflow-x: auto; padding: 3px 2px 8px; }
.category-tab {
  height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-3);
  cursor: default;
  font-size: 12.5px;
  white-space: nowrap;
}
.category-tab.is-active { border-color: var(--line); background: var(--surface); color: var(--ink); font-weight: 650; }
.shop-shell {
  display: grid;
  place-items: center;
  min-height: 330px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  text-align: center;
}
.shop-shell__empty { max-width: 430px; padding: 30px; }
.shop-shell__icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 15px;
  border-radius: 21px;
  background: var(--orange-soft);
  color: var(--orange);
}
.shop-shell__icon .icon { width: 29px; height: 29px; }
.shop-shell h2 { margin: 0 0 7px; font-size: 23px; letter-spacing: -.03em; }
.shop-shell p { margin: 0 0 19px; color: var(--ink-2); font-size: 13px; }
.shop-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.shop-preview-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}
.shop-preview-card__visual {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}
.shop-preview-card h3 { margin: 14px 0 4px; font-size: 14px; }
.shop-preview-card p { margin: 0 0 12px; color: var(--ink-3); font-size: 12px; line-height: 1.6; }
.shop-preview-card__tag { color: var(--ink-3); font-size: 10.5px; }
.shop-balance { padding: 11px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.shop-balance span { display: block; color: var(--ink-3); font-size: 10.5px; }
.shop-balance strong { color: var(--blue-deep); font-size: 21px; font-variant-numeric: tabular-nums; }
.activity-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 370px;
  margin-top: 8px;
  padding: 52px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  text-align: center;
}
.activity-empty__art { position: relative; width: 112px; height: 94px; margin-bottom: 16px; }
.activity-empty__art span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 19px;
  color: var(--blue);
  background: var(--blue-soft);
}
.activity-empty__art span:first-child { left: 3px; top: 8px; transform: rotate(-10deg); }
.activity-empty__art span:last-child { right: 0; bottom: 0; color: var(--orange); background: var(--orange-soft); transform: rotate(9deg); }
.activity-empty__art .icon { width: 25px; height: 25px; }
.activity-empty h2 { margin: 0 0 7px; font-size: 23px; letter-spacing: -.03em; }
.activity-empty p { margin: 0 0 22px; color: var(--ink-2); font-size: 13px; }
.activity-empty__actions { display: flex; gap: 9px; }

/* ---------- Error ---------- */
.error-page { padding: 80px 20px; text-align: center; }
.error-page__code { color: #d6e5f1; font-size: 84px; line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.error-page h1 { margin: 7px 0 8px; font-size: 25px; }
.error-page p { margin: 0 auto 22px; max-width: 440px; color: var(--ink-2); font-size: 13px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 100;
  transform: translate(-50%, 12px);
  padding: 11px 18px;
  border-radius: 11px;
  background: #1d2b36;
  color: #fff;
  font-size: 12.5px;
  opacity: 0;
  pointer-events: none;
  transition: .22s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #8f2e2e; }

/* ---------- Mobile nav ---------- */
.mobile-nav { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .site-nav__item span { display: none; }
  .site-nav__item { padding: 0 10px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-top: 20px; }
  .checkin-hero { max-width: 560px; }
  .checkin-panel { grid-template-columns: 1fr; }
  .checkin-panel__side { flex-direction: row; border-left: 0; border-top: 1px solid var(--line); }
  .mini-stat { flex: 1; }
}
@media (max-width: 720px) {
  .site-shell { width: calc(100% - 24px); padding-bottom: 88px; }
  .site-header { top: 8px; min-height: 57px; padding: 7px 10px 7px 12px; margin-top: 8px; }
  .brand__text { font-size: 13px; }
  .brand__mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand__text em { display: none; }
  .site-nav { display: none; }
  .site-actions { margin-left: auto; }
  .points-chip { height: 32px; padding: 0 9px; font-size: 11.5px; }
  .avatar { width: 34px; height: 34px; }
  .site-main { padding-top: 18px; }
  .hero { padding: 12px 2px 20px; gap: 22px; }
  .hero__copy h1 { font-size: 32px; }
  .hero__lead { font-size: 13.5px; }
  .hero__actions .btn { flex: 1; }
  .checkin-hero { padding: 19px 18px 15px; border-radius: 20px; }
  .page-head { padding: 12px 2px 17px; }
  .page-head h1 { font-size: 30px; }
  .page-head__lead { font-size: 12.5px; }
  .page-head__badge { display: none; }
  .section { margin-top: 29px; }
  .section__head { align-items: center; }
  .section__head h2 { font-size: 17px; }
  .wallet-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .wallet-card { padding: 14px; border-radius: 14px; }
  .wallet-card__value { font-size: 26px; }
  .wallet-card__meta { font-size: 10.5px; }
  .empty-card { flex-wrap: wrap; padding: 17px; }
  .empty-card .btn { margin-left: 0; width: 100%; }
  .checkin-panel__main { padding: 22px 18px; }
  .checkin-panel__main h2 { font-size: 22px; }
  .checkin-panel__side { padding: 14px; gap: 9px; }
  .mini-stat { padding: 11px; }
  .cycle-track { padding: 17px 8px; gap: 0; }
  .cycle-node small { font-size: 9.5px; }
  .cycle-node__dot { width: 34px; height: 34px; }
  .cycle-node::before { top: 17px; }
  .history-row { grid-template-columns: 45px minmax(0, 1fr) auto; gap: 9px; padding: 12px 13px; }
  .history-row__reason { font-size: 12px; }
  .wallet-hero { padding: 22px 19px; border-radius: 19px; }
  .wallet-hero__value { font-size: 40px; }
  .wallet-hero__icon { width: 52px; height: 52px; border-radius: 15px; }
  .shop-preview-grid { grid-template-columns: 1fr; }
  .shop-shell { min-height: 300px; }
  .activity-empty { min-height: 330px; padding: 40px 20px; }
  .site-footer { margin-top: 36px; padding-bottom: 12px; font-size: 11px; }
  .mobile-nav {
    position: fixed;
    left: 50%;
    bottom: 10px;
    z-index: 30;
    display: flex;
    width: min(560px, calc(100% - 22px));
    transform: translateX(-50%);
    padding: 6px;
    border: 1px solid rgba(225, 235, 244, .9);
    border-radius: 19px;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(18px);
  }
  .mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 7px 2px 5px;
    border-radius: 13px;
    color: var(--ink-3);
    font-size: 9.5px;
    font-weight: 550;
  }
  .mobile-nav a .icon { width: 19px; height: 19px; }
  .mobile-nav a.is-active { background: var(--blue-soft); color: var(--blue-deep); }
  .toast { bottom: 87px; max-width: calc(100% - 32px); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
