:root {
  color-scheme: light;
  --bg: #f5fbf6;
  --surface: #ffffff;
  --surface-soft: #eef8ef;
  --text: #202326;
  --muted: #737b80;
  --line: #e3ece5;
  --pink: #ff4f93;
  --pink-strong: #ee2f79;
  --pink-soft: #ffe3ee;
  --green: #3e9f69;
  --green-soft: #dff4e7;
  --yellow: #f6bd49;
  --blue: #65a9ff;
  --ink: #24382d;
  --paper: #fffaf1;
  --seal: #b84536;
  --shadow: 0 10px 28px rgba(39, 65, 50, 0.10);
  --radius: 8px;
  --nav-height: 72px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #dfeee5;
}

body {
  min-height: 100dvh;
  margin: 0;
  color: var(--text);
  background: #dfeee5;
}

body,
button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 79, 147, 0.10), transparent 28%),
    linear-gradient(180deg, #f7fcf7 0%, var(--bg) 54%, #eef7f2 100%);
  box-shadow: 0 0 48px rgba(34, 58, 41, 0.18);
}

.app-main {
  min-height: 100dvh;
  padding: max(18px, env(safe-area-inset-top)) 16px calc(var(--nav-height) + 26px + env(safe-area-inset-bottom));
}

.topbar,
.subpage-bar,
.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.topbar h1,
.subpage-bar h1,
.profile-head h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

.subpage-bar h1 {
  font-size: 19px;
  text-align: center;
}

.subpage-bar__spacer {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.topbar__hello,
.profile-head p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.home-topbar {
  margin-bottom: 10px;
}

.topbar__brand {
  margin: 0;
  color: #1f3128;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.topbar__actions {
  display: flex;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(43, 94, 66, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(33, 68, 49, 0.08);
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.primary-button {
  padding: 0 18px;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 79, 147, 0.25);
}

.primary-button.is-done {
  background: var(--green);
  box-shadow: 0 10px 20px rgba(62, 159, 105, 0.22);
}

.secondary-button {
  padding: 0 16px;
  background: var(--pink-soft);
  color: var(--pink-strong);
}

.ghost-button {
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--pink-strong);
}

.small-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.brand-hero {
  position: relative;
  min-height: 286px;
  margin-bottom: 12px;
  padding: 22px 20px 20px;
  overflow: hidden;
  border: 1px solid rgba(184, 69, 54, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 246, 239, 0.94) 54%, rgba(237, 249, 240, 0.92) 100%),
    var(--paper);
  box-shadow: 0 16px 34px rgba(57, 76, 45, 0.13);
  isolation: isolate;
}

.brand-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(90deg, rgba(48, 69, 55, 0.04) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg, rgba(184, 69, 54, 0.025) 0 1px, transparent 1px 18px);
  content: "";
  opacity: 0.55;
}

.brand-hero::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 86px;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 69, 54, 0), rgba(184, 69, 54, 0.42), rgba(62, 159, 105, 0));
  content: "";
}

.brand-hero__art {
  position: absolute;
  right: -118px;
  bottom: -54px;
  z-index: -1;
  width: 344px;
  height: 248px;
  opacity: 0.82;
  -webkit-mask-image: linear-gradient(120deg, transparent 0%, rgba(0, 0, 0, 0.06) 18%, #000 46%, #000 100%);
  mask-image: linear-gradient(120deg, transparent 0%, rgba(0, 0, 0, 0.06) 18%, #000 46%, #000 100%);
}

.brand-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 58%;
}

.brand-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 316px;
}

.brand-hero__seal {
  display: grid;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(184, 69, 54, 0.34);
  border-radius: 6px;
  background: rgba(184, 69, 54, 0.92);
  color: #fff8ed;
  font-family: "STSong", "Songti SC", "SimSun", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(184, 69, 54, 0.19);
}

.brand-hero__title {
  margin: 0;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-weight: 700;
  line-height: 1.12;
}

.brand-hero__title span:first-child {
  display: inline;
  font-size: 42px;
}

.brand-hero__title i {
  display: inline-block;
  margin: 0 2px;
  color: var(--seal);
  font-size: 24px;
  font-style: normal;
  line-height: 1;
  transform: translateY(-7px);
}

.brand-hero__title span:last-child {
  display: block;
  margin-top: 4px;
  font-size: 28px;
}

.brand-hero__copy p {
  max-width: 292px;
  margin: 16px 0 0;
  color: #50685b;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.85;
}

.brand-hero__brush {
  position: absolute;
  bottom: 32px;
  left: 20px;
  width: 92px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(184, 69, 54, 0.78), rgba(184, 69, 54, 0.22), rgba(184, 69, 54, 0));
  transform: rotate(-2deg);
}

.term-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 12px;
  min-height: 206px;
  margin-bottom: 12px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 79, 147, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 231, 240, 0.86)),
    #fff;
  box-shadow: var(--shadow);
}

.term-hero h2 {
  margin: 0 0 10px;
  color: #1f3128;
  font-size: 27px;
  line-height: 1.12;
}

.term-hero p {
  margin: 0;
  color: #54625a;
  font-size: 14px;
  line-height: 1.55;
}

.term-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.term-hero__meta span {
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #5c6d62;
  font-size: 12px;
  font-weight: 700;
}

.term-hero__visual {
  align-self: stretch;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-soft);
}

.term-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.term-hero .primary-button {
  position: absolute;
  right: 18px;
  bottom: 16px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.quick-card {
  display: grid;
  min-height: 104px;
  align-content: start;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(37, 72, 49, 0.07);
}

.quick-card strong,
.special-card strong,
.article-card strong,
.benefit-card h3 {
  font-size: 15px;
  line-height: 1.35;
}

.quick-card small,
.special-card small,
.mini-post small,
.post-card small,
.benefit-card__meta,
.article-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quick-card__icon,
.menu-list__icon,
.record-row__icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink);
}

.quick-card__icon--green,
.menu-list__icon--green {
  background: var(--green-soft);
  color: var(--green);
}

.panel,
.calendar-panel,
.post-card,
.compose-panel,
.menu-list,
.article-detail {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(37, 72, 49, 0.06);
}

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

.section-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.section-title p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.section-title a {
  flex: 0 0 auto;
  color: var(--pink-strong);
  font-size: 13px;
  font-weight: 700;
}

.task-list,
.record-list,
.headline-list {
  display: grid;
  gap: 8px;
}

.task-row,
.record-row {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: #334339;
  font-size: 14px;
}

.task-row input,
.record-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--pink);
}

.record-row input {
  margin-left: auto;
}

.headline-row {
  display: grid;
  grid-template-columns: 28px 1fr 20px;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}

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

.headline-row span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-strong);
  font-size: 12px;
  font-weight: 800;
}

.headline-row strong {
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.42;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.headline-row svg {
  color: #a8b4ad;
}

.headline-row.is-extra {
  display: none;
}

.headline-list.is-expanded .headline-row.is-extra {
  display: grid;
}

.specials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.special-card {
  min-height: 122px;
  padding: 14px;
  border-radius: var(--radius);
  color: #203027;
  overflow: hidden;
}

.special-card span {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
}

.special-card strong,
.special-card small {
  display: block;
}

.special-card small {
  margin-top: 8px;
}

.special-card--green {
  background: linear-gradient(135deg, #dff4e7, #ffffff);
  border: 1px solid rgba(62, 159, 105, 0.22);
}

.special-card--pink {
  background: linear-gradient(135deg, #ffe4ee, #ffffff);
  border: 1px solid rgba(255, 79, 147, 0.22);
}

.content-feed {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.article-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  min-height: 108px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-card img {
  width: 92px;
  height: 88px;
  border-radius: var(--radius);
  object-fit: cover;
}

.article-card span {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.article-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.article-card p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-post {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.mini-post:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.mini-post p {
  margin: 5px 0 4px;
  color: #435247;
  font-size: 14px;
  line-height: 1.5;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

.avatar--large {
  width: 58px;
  height: 58px;
  font-size: 23px;
}

.tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 430px);
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(39, 65, 50, 0.10);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.tabbar__item {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #8d9891;
  font-size: 12px;
  font-weight: 700;
}

.tabbar__item svg {
  width: 24px;
  height: 24px;
}

.tabbar__item.is-active {
  color: var(--pink);
}

.checkin-summary {
  display: grid;
  gap: 14px;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #ffe7f1);
  box-shadow: var(--shadow);
}

.login-hero {
  margin-bottom: 12px;
  padding: 20px 18px;
  border: 1px solid rgba(255, 79, 147, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #ffe8f1);
  box-shadow: var(--shadow);
}

.login-hero h2 {
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.18;
}

.login-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.login-card {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(37, 72, 49, 0.06);
}

.login-form {
  display: grid;
  gap: 12px;
}

.login-form label {
  display: grid;
  gap: 6px;
}

.login-form label > span {
  color: #405047;
  font-size: 13px;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  outline: none;
  background: #fff;
  color: var(--text);
  font-size: 15px;
}

.login-form input:focus {
  border-color: rgba(255, 79, 147, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 79, 147, 0.10);
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 8px;
}

.code-row .secondary-button {
  width: 112px;
  min-height: 44px;
  padding: 0 10px;
}

.demo-code,
.form-error {
  min-height: 20px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.demo-code {
  color: var(--green);
  font-weight: 800;
}

.form-error {
  margin-bottom: 10px;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: var(--pink-soft);
  color: var(--pink-strong);
  font-weight: 700;
}

.login-submit,
.wechat-button {
  width: 100%;
}

.wechat-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: #20c160;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(32, 193, 96, 0.20);
}

.auth-gate {
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 79, 147, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #fff0f5);
}

.auth-gate h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
}

.auth-gate p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.checkin-summary h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.18;
}

.checkin-summary p {
  margin: 0;
  color: #56655d;
  font-size: 14px;
  line-height: 1.55;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.stat-strip div {
  min-height: 78px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}

.stat-strip strong {
  display: block;
  color: var(--pink-strong);
  font-size: 22px;
  line-height: 1.2;
}

.stat-strip span {
  color: var(--muted);
  font-size: 12px;
}

.weekday-row,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.weekday-row {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.day-cell {
  position: relative;
  display: grid;
  min-height: 48px;
  place-items: center;
  gap: 2px;
  border-top: 1px solid var(--line);
  color: #314138;
}

.day-cell span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
}

.day-cell small {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.day-cell.is-muted {
  color: #c0c8c2;
}

.day-cell.is-checked span {
  background: var(--pink);
  color: #fff;
}

.day-cell.is-today span {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.compose-panel {
  display: none;
}

.compose-panel.is-open {
  display: block;
}

.compose-panel textarea {
  width: 100%;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: none;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.compose-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.image-preview img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
}

.circle-feed {
  display: grid;
  gap: 12px;
}

.post-card__head {
  display: grid;
  grid-template-columns: 42px 1fr 40px;
  align-items: center;
  gap: 10px;
}

.post-card__head strong {
  display: block;
  font-size: 15px;
}

.post-card__more {
  box-shadow: none;
}

.post-card__content {
  margin: 12px 0;
  color: #303b35;
  font-size: 16px;
  line-height: 1.55;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.photo-grid--1 {
  grid-template-columns: minmax(0, 220px);
}

.photo-grid--2,
.photo-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-grid__item {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.post-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7b8580;
  font-size: 14px;
  font-weight: 750;
}

.post-action.is-liked {
  color: var(--pink);
}

.post-action.is-liked svg {
  fill: currentColor;
}

.comment-box {
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.comment-list p {
  margin: 0 0 8px;
  color: #4a5750;
  font-size: 13px;
  line-height: 1.45;
}

.comment-list p:last-child {
  margin-bottom: 0;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 52px;
  gap: 8px;
  margin-top: 10px;
}

.comment-form input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  outline: none;
  background: #fff;
  font-size: 14px;
}

.comment-form button {
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.float-compose {
  position: fixed;
  right: max(18px, calc((100vw - 430px) / 2 + 18px));
  bottom: calc(var(--nav-height) + 18px + env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 79, 147, 0.30);
}

.compose-open .float-compose {
  display: none;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(12, 18, 15, 0.88);
}

.photo-viewer[hidden] {
  display: none;
}

.photo-viewer img {
  max-height: 82dvh;
  border-radius: var(--radius);
  object-fit: contain;
}

.photo-viewer__close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.app-toast {
  position: fixed;
  right: 50%;
  bottom: calc(var(--nav-height) + 22px + env(safe-area-inset-bottom));
  z-index: 90;
  max-width: min(82vw, 340px);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(27, 37, 31, 0.88);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateX(50%) translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translateX(50%) translateY(0);
}

.benefit-hero {
  position: relative;
  min-height: 262px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.benefit-hero img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.benefit-hero div {
  padding: 14px;
}

.benefit-hero h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
}

.benefit-hero p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

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

.benefit-card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.benefit-card img {
  width: 104px;
  height: 126px;
  border-radius: var(--radius);
  object-fit: cover;
}

.benefit-card h3 {
  margin: 2px 0 6px;
}

.benefit-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.benefit-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.profile-head {
  align-items: center;
  padding: 12px 0 4px;
}

.profile-head > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.menu-list {
  display: grid;
  padding: 6px 0;
}

.menu-list a {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  row-gap: 2px;
  min-height: 58px;
  align-items: center;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}

.menu-list a:last-child {
  border-bottom: 0;
}

.menu-list strong {
  display: block;
  font-size: 15px;
}

.menu-list small {
  color: var(--muted);
  font-size: 12px;
}

.menu-list__icon--yellow {
  background: #fff5d9;
  color: #c98912;
}

.menu-list__icon {
  grid-row: 1 / 3;
}

.menu-list strong,
.menu-list small {
  grid-column: 2;
}

.menu-list__icon--blue {
  background: #e5f0ff;
  color: var(--blue);
}

.article-detail {
  padding: 0 0 18px;
  overflow: hidden;
}

.article-detail > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.article-detail > span,
.article-detail h1,
.article-detail__summary,
.article-detail__body {
  display: block;
  padding-right: 16px;
  padding-left: 16px;
}

.article-detail > span {
  margin-top: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.article-detail h1 {
  margin: 8px 0 10px;
  font-size: 25px;
  line-height: 1.22;
}

.article-detail__summary {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.article-detail__body p {
  margin: 0 0 12px;
  color: #334039;
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 340px) {
  .app-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-hero {
    min-height: 266px;
    padding: 20px 16px 18px;
  }

  .brand-hero__art {
    right: -150px;
    bottom: -54px;
    width: 322px;
    height: 232px;
  }

  .brand-hero__seal {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    font-size: 19px;
  }

  .brand-hero__title span:first-child {
    font-size: 36px;
  }

  .brand-hero__title i {
    font-size: 20px;
    transform: translateY(-6px);
  }

  .brand-hero__title span:last-child {
    font-size: 24px;
  }

  .brand-hero__copy p {
    max-width: 254px;
    font-size: 14px;
    line-height: 1.72;
  }

  .term-hero {
    grid-template-columns: 1fr;
  }

  .term-hero__visual {
    height: 116px;
  }

  .term-hero .primary-button {
    position: static;
    grid-column: 1;
    justify-self: start;
  }

  .specials,
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile visual system V2 — warm editorial, tactile and light-mode stable. */
:root {
  color-scheme: light dark;
  --bg: #f7f3ed;
  --surface: #fffdf9;
  --surface-soft: #f0f6f1;
  --text: #1d2b24;
  --muted: #778179;
  --line: rgba(55, 85, 68, 0.11);
  --pink: #e75586;
  --pink-strong: #bf3768;
  --pink-soft: #fce4ec;
  --green: #4f8d69;
  --green-soft: #e0f0e5;
  --yellow: #d8a148;
  --blue: #6d9ed1;
  --ink: #20342a;
  --paper: #fffaf2;
  --seal: #ad463b;
  --shadow: 0 18px 46px rgba(41, 61, 48, 0.10), 0 2px 9px rgba(41, 61, 48, 0.05);
  --shadow-soft: 0 10px 30px rgba(44, 67, 52, 0.075);
  --radius: 22px;
  --nav-height: 76px;
}

html,
body {
  background-color: #e9e5de !important;
  color-scheme: light dark !important;
}

html {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

button,
a,
label,
input,
textarea {
  touch-action: manipulation;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(231, 85, 134, 0.22);
  outline-offset: 3px;
}

.app-shell {
  background:
    radial-gradient(circle at 8% -4%, rgba(232, 151, 174, 0.20), transparent 29%),
    radial-gradient(circle at 96% 15%, rgba(117, 169, 132, 0.13), transparent 26%),
    linear-gradient(180deg, #fbf8f3 0%, #f7f3ed 44%, #f2f6f1 100%) !important;
  box-shadow: 0 0 64px rgba(29, 47, 37, 0.18);
}

.app-shell::before {
  position: absolute;
  top: -100px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
  filter: blur(2px);
  content: "";
  pointer-events: none;
}

.app-main {
  position: relative;
  padding: max(16px, env(safe-area-inset-top)) 14px calc(var(--nav-height) + 28px + env(safe-area-inset-bottom));
}

.app-main > * {
  animation: page-rise 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.app-main > :nth-child(2) { animation-delay: 45ms; }
.app-main > :nth-child(3) { animation-delay: 90ms; }
.app-main > :nth-child(4) { animation-delay: 125ms; }
.app-main > :nth-child(n + 5) { animation-delay: 155ms; }

@keyframes page-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.topbar,
.subpage-bar,
.profile-head {
  margin-bottom: 18px;
}

.topbar h1,
.profile-head h1 {
  color: var(--ink) !important;
  font-size: 30px;
  letter-spacing: -0.025em;
}

.subpage-bar h1 {
  color: var(--ink) !important;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.topbar__hello,
.profile-head p {
  color: #849087 !important;
  font-weight: 600;
}

.topbar__brand {
  color: var(--ink) !important;
  font-family: "Songti SC", "STSong", "Noto Serif SC", "SimSun", serif;
  font-size: 26px;
  letter-spacing: 0.04em;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 253, 249, 0.82) !important;
  color: #31443a !important;
  box-shadow: 0 9px 24px rgba(46, 68, 54, 0.10), inset 0 0 0 1px rgba(52, 83, 64, 0.04);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.icon-button:active {
  transform: scale(0.91);
  box-shadow: 0 4px 12px rgba(46, 68, 54, 0.08);
}

.primary-button,
.secondary-button,
.ghost-button,
.wechat-button {
  min-height: 44px;
  transition: transform 150ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: linear-gradient(135deg, #ea668f 0%, #d94378 100%) !important;
  color: #fff !important;
  box-shadow: 0 13px 28px rgba(200, 54, 104, 0.24), inset 0 1px rgba(255, 255, 255, 0.24);
}

.primary-button.is-done {
  background: linear-gradient(135deg, #67a67f 0%, #438461 100%) !important;
  box-shadow: 0 13px 28px rgba(66, 133, 96, 0.20), inset 0 1px rgba(255, 255, 255, 0.22);
}

.secondary-button {
  background: linear-gradient(135deg, #fdebf1, #fae0e9) !important;
  color: var(--pink-strong) !important;
  box-shadow: inset 0 0 0 1px rgba(196, 55, 103, 0.06);
}

.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.wechat-button:active {
  filter: saturate(0.94);
  transform: scale(0.965);
}

.small-label {
  color: var(--green) !important;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.brand-hero {
  min-height: 254px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(154, 88, 65, 0.13);
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(255, 252, 246, 0.99) 0%, rgba(255, 247, 241, 0.96) 54%, rgba(235, 246, 237, 0.94) 100%),
    var(--paper) !important;
  box-shadow: 0 24px 52px rgba(76, 69, 52, 0.13), inset 0 1px rgba(255, 255, 255, 0.86);
}

.brand-hero::before {
  opacity: 0.31;
}

.brand-hero::after {
  right: 20px;
  bottom: 16px;
  left: 80px;
}

.brand-hero__art {
  right: -104px;
  bottom: -36px;
  width: 318px;
  height: 226px;
  opacity: 0.94;
  filter: saturate(0.88) contrast(0.96);
}

.brand-hero__copy {
  max-width: 310px;
}

.brand-hero__seal {
  width: 34px;
  height: 34px;
  margin-bottom: 15px;
  border-radius: 9px;
  background: linear-gradient(145deg, #bf5144, #9f382f) !important;
  box-shadow: 0 9px 20px rgba(154, 55, 46, 0.22);
}

.brand-hero__title {
  color: #26382f !important;
  letter-spacing: -0.025em;
}

.brand-hero__title span:first-child {
  font-size: 40px;
}

.brand-hero__title span:last-child {
  margin-top: 6px;
  font-size: 27px;
}

.brand-hero__copy p {
  max-width: 286px;
  margin-top: 13px;
  color: #5e7166 !important;
  font-size: 14.5px;
  line-height: 1.76;
}

.brand-hero__brush {
  bottom: 26px;
  opacity: 0.86;
}

.term-hero {
  min-height: 196px;
  gap: 14px;
  padding: 17px;
  border: 1px solid rgba(216, 84, 129, 0.13);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 253, 251, 0.98), rgba(252, 234, 240, 0.94)),
    #fff !important;
  box-shadow: var(--shadow);
}

.term-hero h2 {
  color: var(--ink) !important;
  font-size: 29px;
  letter-spacing: -0.03em;
}

.term-hero p,
.checkin-summary p,
.login-hero p {
  color: #68756e !important;
}

.term-hero__visual {
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 19px;
  box-shadow: inset 0 0 0 1px rgba(48, 77, 59, 0.04);
}

.quick-grid {
  gap: 12px;
}

.quick-card {
  min-height: 112px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.92) !important;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(65, 89, 72, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.quick-card:active,
.special-card:active,
.article-card:active,
.benefit-card:active,
.menu-list a:active {
  transform: scale(0.975);
}

.quick-card__icon,
.menu-list__icon,
.record-row__icon {
  width: 38px;
  height: 38px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.68);
}

.panel,
.calendar-panel,
.post-card,
.compose-panel,
.menu-list,
.article-detail,
.login-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.93) !important;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(57, 84, 67, 0.05);
}

.section-title h2 {
  color: var(--ink) !important;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.section-title p {
  color: #899189 !important;
}

.section-title a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--pink-soft) !important;
  color: var(--pink-strong) !important;
}

.task-row,
.record-row {
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid rgba(71, 119, 87, 0.055);
  border-radius: 15px;
  background: linear-gradient(135deg, #f0f7f1, #edf5ef) !important;
  transition: background 180ms ease, transform 160ms ease;
}

.task-row:has(input:checked),
.record-row:has(input:checked) {
  background: linear-gradient(135deg, #e2f2e6, #f4f8f3) !important;
  color: #3f7656;
}

.headline-row {
  min-height: 48px;
  border-color: rgba(59, 88, 69, 0.08);
}

.headline-row span {
  background: #fbe7ee !important;
}

.ghost-button {
  border: 0;
  background: linear-gradient(180deg, #fff, #faf7f3) !important;
  color: var(--pink-strong) !important;
  box-shadow: inset 0 0 0 1px rgba(66, 91, 75, 0.09);
}

.specials {
  gap: 12px;
}

.special-card {
  min-height: 132px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease;
}

.special-card--green {
  background: linear-gradient(145deg, #dfeee3, #fbfdf9) !important;
}

.special-card--pink {
  background: linear-gradient(145deg, #f9e3ea, #fffafc) !important;
}

.article-card {
  min-height: 116px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.94) !important;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(62, 87, 70, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.article-card img {
  border-radius: 15px;
}

.avatar {
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: linear-gradient(145deg, #ef7b9e, #d5a047) !important;
  box-shadow: 0 8px 18px rgba(184, 76, 110, 0.15);
}

.tabbar {
  height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  padding: 7px 10px calc(7px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(54, 78, 63, 0.08);
  background: rgba(255, 253, 250, 0.94) !important;
  box-shadow: 0 -14px 38px rgba(45, 64, 52, 0.11);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.tabbar__item {
  position: relative;
  gap: 2px;
  border-radius: 18px;
  color: #929b95 !important;
  font-size: 11.5px;
  transition: color 180ms ease, transform 160ms ease, background 180ms ease;
}

.tabbar__item svg {
  width: 38px;
  height: 34px;
  padding: 7px 8px;
  border-radius: 14px;
  transition: background 180ms ease, transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tabbar__item.is-active {
  color: var(--pink-strong) !important;
}

.tabbar__item.is-active svg {
  background: linear-gradient(135deg, #fce7ee, #faedf1) !important;
  color: var(--pink-strong) !important;
  transform: translateY(-2px);
}

.tabbar__item.is-active::before {
  position: absolute;
  top: -8px;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ec6d95, #cf3d71);
  content: "";
  box-shadow: 0 4px 10px rgba(207, 61, 113, 0.22);
}

.tabbar__item:active {
  transform: scale(0.92);
}

.checkin-summary,
.login-hero,
.auth-gate {
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(249, 229, 236, 0.93)) !important;
  box-shadow: var(--shadow);
}

.checkin-summary {
  padding: 19px;
}

.checkin-summary h2 {
  color: var(--ink) !important;
  font-size: 29px;
}

.stat-strip {
  gap: 10px;
}

.stat-strip div {
  min-height: 84px;
  padding: 13px 7px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 19px;
  background: rgba(255, 253, 250, 0.94) !important;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(57, 84, 67, 0.05);
}

.stat-strip strong {
  color: var(--pink-strong) !important;
}

.day-cell {
  min-height: 50px;
  border-color: rgba(54, 83, 65, 0.075);
}

.day-cell.is-checked span {
  background: linear-gradient(145deg, #ec6a94, #cf3d71) !important;
  box-shadow: 0 6px 13px rgba(207, 61, 113, 0.20);
}

.login-form input,
.comment-form input {
  border: 1px solid rgba(68, 96, 78, 0.12);
  background: #fffdfb !important;
  color: var(--text) !important;
  box-shadow: inset 0 1px 3px rgba(45, 64, 52, 0.025);
}

.login-form input:focus,
.comment-form input:focus {
  border-color: rgba(215, 67, 119, 0.46);
  box-shadow: 0 0 0 4px rgba(231, 85, 134, 0.10);
}

.post-card {
  padding: 16px;
}

.post-card__content {
  color: #34423a !important;
}

.photo-grid__item {
  border-radius: 16px;
}

.post-action {
  min-width: 48px;
  min-height: 36px;
  justify-content: center;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.post-action:active {
  background: #f6edef;
  transform: scale(0.92);
}

.comment-box {
  border: 1px solid rgba(68, 99, 78, 0.055);
  border-radius: 16px;
  background: #f1f6f1 !important;
}

.float-compose {
  right: max(18px, calc((100vw - 430px) / 2 + 18px));
  bottom: calc(var(--nav-height) + 18px + env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: linear-gradient(145deg, #ed6c96, #d63f75) !important;
  box-shadow: 0 16px 30px rgba(199, 52, 103, 0.28), inset 0 1px rgba(255, 255, 255, 0.25);
}

.app-toast {
  min-width: 132px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(31, 44, 36, 0.90) !important;
  box-shadow: 0 16px 34px rgba(19, 30, 23, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.benefit-hero {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  background: rgba(255, 253, 250, 0.94) !important;
  box-shadow: var(--shadow);
}

.benefit-hero img {
  min-height: 190px;
}

.benefit-card {
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 21px;
  background: rgba(255, 253, 250, 0.94) !important;
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(57, 84, 67, 0.05);
  transition: transform 180ms ease;
}

.benefit-card img {
  border-radius: 16px;
}

.profile-head {
  padding: 8px 3px 2px;
}

.menu-list {
  padding: 5px 16px;
}

.menu-list a {
  min-height: 68px;
  border-color: rgba(57, 84, 67, 0.075);
  transition: transform 160ms ease, background 160ms ease;
}

.article-detail {
  padding: 0 0 18px;
  overflow: hidden;
}

.article-detail > img {
  border-radius: 0 0 24px 24px;
}

.article-detail h1 {
  color: var(--ink) !important;
  letter-spacing: -0.025em;
}

.article-detail__summary {
  border-left: 3px solid rgba(231, 85, 134, 0.48);
  padding-left: 12px;
}

@media (max-width: 340px) {
  .app-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand-hero {
    min-height: 244px;
  }

  .brand-hero__title span:first-child {
    font-size: 35px;
  }

  .brand-hero__title span:last-child {
    font-size: 23px;
  }

  .term-hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .term-hero__visual {
    height: auto;
  }

  .term-hero .primary-button {
    position: absolute;
    grid-column: auto;
  }

  .specials,
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #101411;
    --surface: #171c18;
    --surface-soft: #19231d;
    --text: #eef2eb;
    --muted: #98a29b;
    --line: rgba(231, 239, 232, 0.09);
    --pink: #f06d9b;
    --pink-strong: #ff82ad;
    --pink-soft: #34202a;
    --green: #75be91;
    --green-soft: #1b3023;
    --yellow: #e0b462;
    --ink: #f1eee5;
    --paper: #1e1a17;
    --seal: #d65a4c;
    --shadow: 0 20px 52px rgba(0, 0, 0, 0.30), 0 2px 10px rgba(0, 0, 0, 0.18);
    --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.22);
  }

  html,
  body {
    background-color: #090c0a !important;
    color-scheme: dark !important;
  }

  .app-shell {
    background:
      radial-gradient(circle at 8% -4%, rgba(153, 57, 88, 0.22), transparent 31%),
      radial-gradient(circle at 100% 15%, rgba(77, 131, 91, 0.17), transparent 26%),
      linear-gradient(180deg, #111512 0%, #0e120f 48%, #121813 100%) !important;
    box-shadow: 0 0 72px rgba(0, 0, 0, 0.48);
  }

  .app-shell::before {
    background: rgba(104, 145, 116, 0.055);
  }

  .topbar h1,
  .profile-head h1,
  .subpage-bar h1,
  .topbar__brand,
  .term-hero h2,
  .checkin-summary h2,
  .section-title h2,
  .article-detail h1 {
    color: #f2efe8 !important;
  }

  .topbar__hello,
  .profile-head p,
  .section-title p,
  .quick-card small,
  .special-card small,
  .mini-post small,
  .post-card small,
  .benefit-card__meta,
  .article-card p {
    color: #9aa59e !important;
  }

  .icon-button {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.065) !important;
    color: #c7d2ca !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  }

  .brand-hero {
    border-color: rgba(216, 123, 96, 0.16);
    background:
      linear-gradient(125deg, rgba(31, 25, 22, 0.99) 0%, rgba(31, 26, 23, 0.96) 50%, rgba(22, 38, 29, 0.94) 100%),
      #1c1916 !important;
    box-shadow: 0 26px 58px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.045);
  }

  .brand-hero::before {
    opacity: 0.19;
  }

  .brand-hero__art {
    opacity: 0.82;
    filter: saturate(0.76) brightness(0.82) contrast(1.03);
  }

  .brand-hero__title {
    color: #f4f0e5 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
  }

  .brand-hero__copy p {
    color: #b9c6bd !important;
  }

  .term-hero {
    border-color: rgba(226, 88, 137, 0.18);
    background:
      linear-gradient(135deg, rgba(27, 31, 28, 0.98), rgba(43, 24, 34, 0.96)),
      #181c19 !important;
  }

  .term-hero p,
  .checkin-summary p,
  .login-hero p {
    color: #a9b2ac !important;
  }

  .term-hero__meta span {
    background: rgba(255, 255, 255, 0.055) !important;
    color: #b9c3bc !important;
  }

  .term-hero__visual {
    border-color: rgba(255, 255, 255, 0.08);
    background: #1a2a20 !important;
  }

  .quick-card,
  .panel,
  .calendar-panel,
  .post-card,
  .compose-panel,
  .menu-list,
  .article-detail,
  .login-card,
  .benefit-card {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(24, 29, 25, 0.94) !important;
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.016);
  }

  .quick-card strong,
  .mini-post strong,
  .post-card__head strong,
  .benefit-card h3,
  .article-card strong,
  .menu-list strong {
    color: #edf1eb !important;
  }

  .quick-card__icon,
  .menu-list__icon,
  .record-row__icon {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045);
  }

  .section-title a {
    background: #34202a !important;
    color: #ff8bb2 !important;
  }

  .task-row,
  .record-row {
    border-color: rgba(113, 177, 132, 0.06);
    background: linear-gradient(135deg, #18231c, #172019) !important;
    color: #c8d2ca !important;
  }

  .task-row:has(input:checked),
  .record-row:has(input:checked) {
    background: linear-gradient(135deg, #203628, #1b2c21) !important;
    color: #8dcc9f !important;
  }

  .headline-row {
    border-color: rgba(255, 255, 255, 0.065);
  }

  .headline-row strong {
    color: #dce3dc !important;
  }

  .headline-row span {
    background: #34202a !important;
    color: #ff8bb2 !important;
  }

  .ghost-button {
    background: linear-gradient(180deg, #1c211d, #181d19) !important;
    color: #ff82ad !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  }

  .special-card {
    box-shadow: var(--shadow-soft);
  }

  .special-card--green {
    border-color: rgba(112, 184, 137, 0.16);
    background: linear-gradient(145deg, #1b3022, #171d19) !important;
    color: #e6eee7 !important;
  }

  .special-card--pink {
    border-color: rgba(224, 100, 145, 0.16);
    background: linear-gradient(145deg, #33202a, #1b191a) !important;
    color: #f0e7eb !important;
  }

  .article-card {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(24, 29, 25, 0.94) !important;
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.015);
  }

  .tabbar {
    border-top-color: rgba(255, 255, 255, 0.065);
    background: rgba(18, 22, 19, 0.95) !important;
    box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.28);
  }

  .tabbar__item {
    color: #858f88 !important;
  }

  .tabbar__item.is-active {
    color: #ff82ad !important;
  }

  .tabbar__item.is-active svg {
    background: linear-gradient(135deg, #33202a, #2c1c24) !important;
    color: #ff82ad !important;
  }

  .checkin-summary,
  .login-hero,
  .auth-gate {
    border-color: rgba(255, 255, 255, 0.075);
    background: linear-gradient(135deg, rgba(25, 30, 26, 0.98), rgba(48, 26, 37, 0.94)) !important;
    box-shadow: var(--shadow);
  }

  .stat-strip div {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(24, 29, 25, 0.95) !important;
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.016);
  }

  .stat-strip span,
  .weekday-row {
    color: #929d95 !important;
  }

  .day-cell {
    border-color: rgba(255, 255, 255, 0.06);
    color: #d9e0d9 !important;
  }

  .day-cell.is-muted {
    color: #525b54 !important;
  }

  .login-form input,
  .comment-form input {
    border-color: rgba(255, 255, 255, 0.09);
    background: #1c221e !important;
    color: #edf1eb !important;
  }

  .login-form label > span {
    color: #c6d0c8 !important;
  }

  .post-card__content,
  .mini-post p,
  .benefit-card p,
  .article-detail__body p {
    color: #cbd4cd !important;
  }

  .post-actions {
    border-color: rgba(255, 255, 255, 0.065);
  }

  .comment-box {
    border-color: rgba(255, 255, 255, 0.055);
    background: #18211b !important;
  }

  .comment-list p {
    color: #bfc9c1 !important;
  }

  .benefit-hero {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(24, 29, 25, 0.95) !important;
  }

  .menu-list a {
    border-color: rgba(255, 255, 255, 0.065);
  }

  .article-detail__summary {
    color: #aeb8b0 !important;
  }
}

/* Account system --------------------------------------------------------- */
.page-login .app-main,
.page-account .app-main {
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 190, 214, 0.34), transparent 24%),
    radial-gradient(circle at 5% 32%, rgba(174, 221, 189, 0.26), transparent 28%);
}

.auth-topbar {
  margin-bottom: 12px;
}

.auth-hero {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 132px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 26px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.96), rgba(255, 234, 243, 0.90)),
    var(--surface);
  box-shadow: 0 18px 42px rgba(71, 73, 64, 0.10);
}

.auth-hero::after {
  position: absolute;
  top: -34px;
  right: -30px;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 79, 147, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 79, 147, 0.035), 0 0 0 36px rgba(255, 79, 147, 0.02);
  content: "";
}

.auth-hero__mark {
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, #ff7aaa, #ee3d7e);
  color: #fff;
  font-family: Georgia, "STKaiti", serif;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(213, 50, 108, 0.24);
  transform: rotate(-4deg);
}

.auth-hero .small-label {
  margin-bottom: 5px;
  color: #a94a6d;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.auth-hero h2 {
  margin-bottom: 6px;
  color: #2a342e;
  font-family: Georgia, "STKaiti", serif;
  font-size: 23px;
}

.auth-hero p {
  max-width: 235px;
  font-size: 11px;
  line-height: 1.65;
}

.auth-card,
.account-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 38px rgba(41, 66, 50, 0.085);
  backdrop-filter: blur(14px);
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 16px;
  background: #f2f5f1;
}

.login-tabs button {
  position: relative;
  min-height: 42px;
  border-radius: 13px;
  color: #879089;
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 120ms ease;
}

.login-tabs button:active {
  transform: scale(0.97);
}

.login-tabs button.is-active {
  background: #fff;
  color: var(--pink-strong);
  box-shadow: 0 7px 16px rgba(44, 63, 50, 0.09);
}

.auth-feedback {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 13px;
  padding: 11px 12px;
  border-radius: 14px;
}

.auth-feedback svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.auth-form {
  gap: 14px;
}

.auth-field {
  gap: 7px !important;
}

.auth-field > span {
  padding-left: 3px;
  color: #3f4b44 !important;
  font-size: 12px !important;
}

.auth-input-shell {
  display: flex;
  min-width: 0;
  align-items: center;
  border: 1px solid #e6ebe7;
  border-radius: 16px;
  background: #fbfcfb;
  transition: border 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.auth-input-shell:focus-within {
  border-color: rgba(238, 47, 121, 0.42);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(238, 47, 121, 0.075);
}

.auth-input-shell > svg {
  width: 18px;
  height: 18px;
  margin-left: 13px;
  flex: 0 0 auto;
  color: #9aa49d;
  stroke-width: 1.8;
}

.login-form .auth-input-shell input {
  min-width: 0;
  min-height: 48px;
  border: 0;
  padding: 0 12px 0 10px;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}

.login-form .auth-input-shell input:focus {
  border: 0;
  box-shadow: none;
}

.auth-input-shell--password input {
  padding-right: 4px !important;
}

.password-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: #909a93;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.password-toggle.is-visible {
  color: var(--pink-strong);
}

.auth-form .code-row {
  grid-template-columns: minmax(0, 1fr) 106px;
}

.auth-form .code-row .secondary-button {
  width: 106px;
  min-height: 50px;
  border-radius: 16px;
  background: #fce8f0;
  font-size: 12px;
  box-shadow: none;
}

.auth-form .code-row .secondary-button:disabled {
  opacity: 0.58;
}

.demo-code {
  min-height: 18px;
  padding: 0 2px;
  color: #4a8660;
  font-size: 11px;
  font-weight: 600;
}

.demo-code span {
  display: inline-flex;
  margin-right: 4px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #e6f4e9;
  color: #3e8158;
  font-size: 9px;
  font-weight: 800;
}

.agreement-row {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  align-items: flex-start;
  color: #7e8781;
  font-size: 10px;
  line-height: 1.55;
}

.agreement-row input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  accent-color: var(--pink-strong);
}

.agreement-row span {
  color: #7e8781 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
}

.agreement-row a,
.auth-form__meta a,
.auth-footer a {
  color: var(--pink-strong);
  font-weight: 700;
}

.auth-form__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: -4px;
  padding: 0 2px;
  color: #939b96;
  font-size: 10px;
}

.login-submit,
.account-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 17px;
  background: linear-gradient(135deg, #f55a91, #df316d);
  font-size: 14px;
  letter-spacing: 0.08em;
  box-shadow: 0 13px 24px rgba(214, 43, 104, 0.22);
}

.auth-hint,
.auth-footer {
  margin: -3px 0 0;
  color: #9aa19d;
  font-size: 9px;
  text-align: center;
}

.auth-provider {
  margin: 18px 5px 8px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #abb1ad;
  font-size: 9px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  background: rgba(71, 91, 77, 0.10);
  content: "";
}

.auth-provider .wechat-button {
  min-height: 46px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: #3d8e5c;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(50, 78, 60, 0.08);
}

.auth-footer {
  margin-top: 16px;
}

.avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.profile-head--polished {
  margin: 2px -2px 14px;
  padding: 13px 6px 9px;
}

.profile-avatar {
  position: relative;
  overflow: visible;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 11px 24px rgba(54, 74, 60, 0.15);
}

.profile-avatar img {
  overflow: hidden;
}

.profile-avatar > span {
  position: absolute;
  right: -3px;
  bottom: -2px;
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 2px solid #f7fbf7;
  border-radius: 50%;
  background: var(--pink-strong);
  color: #fff;
}

.profile-avatar > span svg {
  width: 10px;
  height: 10px;
  stroke-width: 2.3;
}

.profile-head__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #ad7187;
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.profile-head--polished h1 {
  font-size: 23px;
}

.profile-stats {
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 13px 32px rgba(47, 75, 57, 0.08);
}

.profile-menu {
  margin-bottom: 13px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 13px 34px rgba(44, 72, 53, 0.075);
}

.profile-menu a {
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  padding-right: 13px;
}

.profile-menu .menu-list__chevron {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 16px;
  height: 16px;
  color: #b5bdb8;
}

.menu-list__icon--pink {
  background: #fde5ed;
  color: #c74d76;
}

.menu-list__icon--violet {
  background: #f0e9fb;
  color: #8767b1;
}

.account-hero {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 13px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 246, 236, 0.94));
  box-shadow: 0 15px 35px rgba(48, 76, 57, 0.09);
}

.account-hero > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #6db784, #418f60);
  color: #fff;
  box-shadow: 0 12px 22px rgba(60, 134, 86, 0.20);
}

.account-hero > span svg {
  width: 25px;
  height: 25px;
}

.account-hero small,
.account-identity small {
  color: #6d9e7d;
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.account-hero h2 {
  margin: 3px 0 5px;
  font-size: 20px;
}

.account-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.account-identity {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 19px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 237, 244, 0.91));
  box-shadow: 0 16px 36px rgba(58, 70, 61, 0.09);
}

.avatar--account {
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(133, 61, 88, 0.14);
}

.account-identity > div:nth-child(2) {
  min-width: 0;
}

.account-identity strong,
.account-identity span {
  display: block;
}

.account-identity strong {
  margin: 3px 0;
  overflow: hidden;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-identity > div > span {
  color: var(--muted);
  font-size: 10px;
}

.account-identity .account-status {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e7f5eb;
  color: #3e8558;
  font-size: 9px;
  font-weight: 800;
}

.account-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52aa70;
  box-shadow: 0 0 0 3px rgba(82, 170, 112, 0.13);
}

.success-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 13px;
  padding: 12px 14px;
  border: 1px solid rgba(72, 159, 103, 0.13);
  border-radius: 17px;
  background: #e9f7ed;
  color: #397b50;
  animation: account-enter 360ms ease both;
}

.success-banner > svg {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: #4fa56d;
  color: #fff;
}

.success-banner strong,
.success-banner span {
  display: block;
}

.success-banner strong {
  font-size: 12px;
}

.success-banner span {
  margin-top: 2px;
  font-size: 9px;
  opacity: 0.8;
}

.account-section-title {
  margin: 19px 3px 9px;
}

.account-section-title > div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.account-section-title > div > span {
  display: inline-grid;
  width: 25px;
  height: 18px;
  place-items: center;
  border-radius: 7px;
  background: #f5e4eb;
  color: #b84c72;
  font-family: Georgia, serif;
  font-size: 8px;
  font-weight: 800;
}

.account-section-title h2 {
  margin: 0;
  font-size: 15px;
}

.account-section-title p {
  margin: 4px 0 0 33px;
  color: #909993;
  font-size: 9px;
}

.security-form,
.profile-fields {
  display: grid;
  gap: 0;
}

.account-field {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.account-field:first-of-type {
  padding-top: 2px;
}

.account-field:last-of-type {
  border-bottom: 0;
}

.account-field > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.account-field strong {
  font-size: 12px;
}

.account-field small {
  color: #9aa29d;
  font-size: 9px;
}

.account-field input,
.account-field textarea,
.account-password,
.danger-zone input {
  width: 100%;
  border: 1px solid #e4eae5;
  border-radius: 14px;
  outline: none;
  background: #fafcfb;
  color: var(--text);
  font-size: 12px;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.account-field > input {
  min-height: 45px;
  padding: 0 12px;
}

.account-field textarea {
  min-height: 92px;
  padding: 11px 12px;
  resize: vertical;
  line-height: 1.6;
}

.account-field input:focus,
.account-field textarea:focus,
.danger-zone input:focus,
.account-password:focus-within {
  border-color: rgba(238, 47, 121, 0.36);
  box-shadow: 0 0 0 4px rgba(238, 47, 121, 0.065);
}

.account-password {
  display: flex;
  align-items: center;
}

.account-password input {
  min-width: 0;
  min-height: 45px;
  flex: 1;
  border: 0;
  padding: 0 0 0 12px;
  outline: none;
  background: transparent;
  box-shadow: none !important;
  font-size: 12px;
}

.security-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 13px;
  border-radius: 14px;
}

.session-card {
  padding-top: 5px;
  padding-bottom: 8px;
}

.session-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 61px;
  border-bottom: 1px solid var(--line);
}

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

.session-row__icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: #edf5ef;
  color: #518566;
}

.session-row__icon svg {
  width: 18px;
  height: 18px;
}

.session-row strong,
.session-row span {
  display: block;
}

.session-row strong {
  font-size: 11px;
}

.session-row strong em {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #e7f5eb;
  color: #3f8759;
  font-size: 7px;
  font-style: normal;
  vertical-align: 1px;
}

.session-row > div > span {
  margin-top: 4px;
  overflow: hidden;
  color: #929a95;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-row form button {
  padding: 7px 8px;
  border-radius: 9px;
  background: #f7ebef;
  color: #bc4c72;
  font-size: 9px;
  font-weight: 800;
}

.session-row__current {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #55ad73;
  box-shadow: 0 0 0 4px rgba(85, 173, 115, 0.12);
}

.plain-action {
  display: flex;
  width: 100%;
  min-height: 41px;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  border-top: 1px solid var(--line);
  color: #b2486c;
  font-size: 10px;
  font-weight: 800;
}

.plain-action svg {
  width: 15px;
  height: 15px;
}

.account-management {
  padding-top: 4px;
  padding-bottom: 4px;
}

.account-action,
.danger-zone > summary {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 10px;
  width: 100%;
  min-height: 61px;
  align-items: center;
  text-align: left;
}

.account-action > span,
.danger-zone > summary > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: #edf3f7;
  color: #66869b;
}

.account-action > span svg,
.danger-zone > summary > span svg {
  width: 18px;
  height: 18px;
}

.account-action strong,
.account-action small,
.danger-zone summary strong,
.danger-zone summary small {
  display: block;
}

.account-action strong,
.danger-zone summary strong {
  font-size: 11px;
}

.account-action small,
.danger-zone summary small {
  margin-top: 3px;
  color: #929a95;
  font-size: 9px;
}

.account-action > svg,
.danger-zone summary > svg {
  width: 15px;
  height: 15px;
  color: #b5bdb8;
  transition: transform 180ms ease;
}

.danger-zone {
  border-top: 1px solid var(--line);
}

.danger-zone > summary {
  cursor: pointer;
  list-style: none;
}

.danger-zone > summary::-webkit-details-marker {
  display: none;
}

.danger-zone > summary > span {
  background: #fae9ee;
  color: #bd4e73;
}

.danger-zone[open] summary > svg {
  transform: rotate(90deg);
}

.danger-zone > form {
  display: grid;
  gap: 11px;
  padding: 4px 0 14px;
  animation: account-enter 220ms ease both;
}

.danger-zone__notice {
  padding: 11px 12px;
  border-radius: 13px;
  background: #fff1f4;
  color: #9c405f;
}

.danger-zone__notice strong {
  font-size: 10px;
}

.danger-zone__notice p {
  margin: 4px 0 0;
  font-size: 9px;
  line-height: 1.65;
}

.danger-zone label {
  display: grid;
  gap: 6px;
  color: #656e68;
  font-size: 9px;
  font-weight: 800;
}

.danger-zone input {
  min-height: 43px;
  padding: 0 11px;
}

.danger-zone .danger-button {
  width: 100%;
  border-radius: 14px;
}

.danger-zone .danger-button:disabled {
  opacity: 0.35;
  box-shadow: none;
  cursor: not-allowed;
}

.account-footnote {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin: 15px 5px 4px;
  color: #929a95;
  font-size: 9px;
  text-align: center;
}

.account-footnote svg {
  width: 13px;
  height: 13px;
  color: #70a081;
}

.account-empty {
  display: flex;
  gap: 11px;
  align-items: center;
}

.account-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: #eef5f0;
  color: #609171;
}

.account-empty strong {
  font-size: 11px;
}

.account-empty p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.profile-edit-form {
  display: grid;
  gap: 13px;
}

.avatar-editor {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 237, 244, 0.92));
  box-shadow: 0 15px 36px rgba(56, 71, 61, 0.09);
}

.avatar-editor__preview {
  position: relative;
  cursor: pointer;
}

.avatar--profile {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.94);
  font-size: 27px;
  box-shadow: 0 12px 26px rgba(112, 60, 78, 0.17);
}

.avatar-editor__camera {
  position: absolute;
  right: -2px;
  bottom: 0;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--pink-strong);
  color: #fff;
}

.avatar-editor__camera svg {
  width: 13px;
  height: 13px;
}

.avatar-editor input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.avatar-editor > div strong,
.avatar-editor > div span {
  display: block;
}

.avatar-editor > div strong {
  margin-bottom: 5px;
  font-size: 14px;
}

.avatar-editor > div span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.profile-fields {
  padding-top: 10px;
  padding-bottom: 10px;
}

@keyframes account-enter {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 340px) {
  .auth-hero {
    grid-template-columns: 50px minmax(0, 1fr);
    padding: 15px;
  }

  .auth-hero__mark {
    width: 49px;
    height: 49px;
    border-radius: 16px;
    font-size: 23px;
  }

  .auth-hero h2 {
    font-size: 20px;
  }

  .auth-form .code-row {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .auth-form .code-row .secondary-button {
    width: 96px;
    padding: 0 5px;
    font-size: 11px;
  }

  .account-identity {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .account-identity .account-status {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .success-banner,
  .danger-zone > form {
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  .auth-hero,
  .auth-card,
  .account-card,
  .account-hero,
  .account-identity,
  .avatar-editor,
  .profile-stats,
  .profile-menu,
  .auth-provider .wechat-button {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(25, 30, 26, 0.95);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  }

  .auth-hero h2 {
    color: var(--text);
  }

  .login-tabs,
  .auth-input-shell,
  .account-field input,
  .account-field textarea,
  .account-password,
  .danger-zone input {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.045);
  }

  .login-tabs button.is-active {
    background: rgba(255, 255, 255, 0.09);
    color: #ff8eb6;
  }

  .auth-input-shell:focus-within,
  .account-field input:focus,
  .account-field textarea:focus,
  .account-password:focus-within,
  .danger-zone input:focus {
    background: rgba(255, 255, 255, 0.065);
  }

  .auth-field > span,
  .account-field strong {
    color: var(--text) !important;
  }

  .success-banner,
  .account-identity .account-status,
  .session-row strong em,
  .demo-code span {
    background: rgba(76, 162, 105, 0.14);
    color: #8ed0a3;
  }

  .danger-zone__notice {
    background: rgba(205, 61, 108, 0.12);
    color: #ee88aa;
  }

  .session-row__icon,
  .account-empty > span,
  .account-action > span {
    background: rgba(120, 170, 138, 0.10);
  }

  .profile-avatar > span,
  .avatar-editor__camera {
    border-color: #191e1a;
  }
}

body.is-leaving .app-shell {
  opacity: 0.72;
  transform: scale(0.992);
  transition: opacity 130ms ease, transform 130ms ease;
}

button:disabled {
  cursor: wait;
  filter: saturate(0.65);
  opacity: 0.62;
}

.compose-scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(10, 15, 11, 0.48);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.compose-panel {
  position: fixed;
  right: auto;
  bottom: 0;
  left: 50%;
  z-index: 45;
  display: block;
  width: min(100%, 430px);
  max-height: 84dvh;
  margin: 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border-radius: 30px 30px 0 0;
  opacity: 0;
  transform: translate(-50%, 104%);
  visibility: hidden;
  box-shadow: 0 -24px 64px rgba(16, 25, 19, 0.22);
  overscroll-behavior: contain;
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    visibility 0s linear 380ms;
}

.compose-panel.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

body.compose-open {
  overflow: hidden;
}

body.compose-open .compose-scrim {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.compose-panel__grabber {
  display: block;
  width: 42px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(111, 126, 116, 0.28);
}

.compose-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.compose-panel__header .small-label {
  margin-bottom: 4px;
}

.compose-panel__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.compose-panel textarea {
  min-height: 138px;
  padding: 14px 2px;
  resize: none;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 16px;
  line-height: 1.7;
}

.compose-panel__footer {
  margin-top: 14px;
}

.image-preview {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.image-preview img {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(20, 35, 25, 0.09);
}

.post-action.is-pop svg {
  animation: heart-pop 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heart-pop {
  0% { transform: scale(0.7); }
  45% { transform: scale(1.34) rotate(-8deg); }
  72% { transform: scale(0.92) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

.checkin-burst {
  position: fixed;
  z-index: 80;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.checkin-burst i {
  --angle: 0deg;
  --distance: 38px;
  position: absolute;
  width: 8px;
  height: 12px;
  border-radius: 70% 20% 70% 20%;
  background: linear-gradient(145deg, #f27ca4, #d8a24d);
  animation: petal-fly 720ms cubic-bezier(0.2, 0.75, 0.26, 1) forwards;
  transform: rotate(var(--angle)) translateY(0) scale(0.4);
}

.checkin-burst i:nth-child(2n) {
  background: linear-gradient(145deg, #77bd90, #e8c476);
}

@keyframes petal-fly {
  0% { opacity: 0; transform: rotate(var(--angle)) translateY(0) scale(0.35); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--angle)) translateY(calc(var(--distance) * -1)) scale(1) rotate(80deg); }
}

.js-checkin.is-celebrating {
  animation: checkin-pulse 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes checkin-pulse {
  0%, 100% { transform: scale(1); }
  38% { transform: scale(0.94); }
  68% { transform: scale(1.055); }
}

@media (prefers-color-scheme: dark) {
  .compose-panel {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(23, 28, 24, 0.98) !important;
    box-shadow: 0 -28px 72px rgba(0, 0, 0, 0.45);
  }

  .compose-panel__header h2 {
    color: #f1eee7 !important;
  }

  .compose-panel__grabber {
    background: rgba(210, 223, 213, 0.22);
  }
}

/* 21-day mobile challenge */
.challenge-card {
  position: relative;
  margin-bottom: 14px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(239, 161, 183, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(255, 253, 249, 0.98), rgba(246, 241, 232, 0.96));
  box-shadow: var(--shadow-card);
}

.challenge-card::after {
  position: absolute;
  top: -46px;
  right: -40px;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(156, 53, 88, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.challenge-card__intro,
.challenge-rank__title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.challenge-card__intro > div:first-child {
  min-width: 0;
}

.challenge-card__intro h2 {
  max-width: 238px;
  margin: 5px 0 6px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.challenge-card__intro h2 span {
  display: block;
}

.challenge-card__intro h2 span + span {
  margin-left: 22px;
  color: var(--pink-deep);
}

.challenge-card__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.challenge-ring {
  --challenge-progress: 0%;
  position: relative;
  display: grid;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--pink) var(--challenge-progress), rgba(128, 139, 130, 0.14) 0);
  box-shadow: 0 12px 28px rgba(155, 42, 80, 0.15);
}

.challenge-ring::before {
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  content: "";
}

.challenge-ring span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  color: var(--ink);
}

.challenge-ring strong {
  font-size: 25px;
  line-height: 1;
}

.challenge-ring small {
  margin-left: 2px;
  color: var(--muted);
  font-size: 10px;
}

.challenge-wall {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.challenge-day {
  position: relative;
  display: flex;
  aspect-ratio: 1;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(85, 103, 91, 0.09);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--muted);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.challenge-day span {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.challenge-day small {
  margin-top: 4px;
  font-size: 8px;
  opacity: 0.7;
}

.challenge-day.is-checked {
  border-color: transparent;
  background: linear-gradient(145deg, #c84f79, #92284e);
  color: #fff;
  box-shadow: 0 7px 16px rgba(154, 40, 78, 0.22);
}

.challenge-day.is-checked::after {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd9e5;
  content: "";
}

.challenge-day.is-today {
  outline: 2px solid rgba(85, 144, 101, 0.48);
  outline-offset: 2px;
}

.challenge-rank {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(91, 111, 98, 0.10);
}

.challenge-rank__title {
  align-items: flex-end;
}

.challenge-rank__title h3 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.rank-chip {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(162, 49, 87, 0.09);
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 800;
}

.rank-list {
  display: grid;
  gap: 8px;
  margin-top: 13px;
}

.rank-row {
  display: grid;
  grid-template-columns: 24px 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.45);
}

.rank-row.is-current {
  box-shadow: inset 0 0 0 1px rgba(170, 51, 91, 0.22);
}

.rank-row__number {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.rank-row:first-child .rank-row__number { color: #c98d19; }
.rank-row:nth-child(2) .rank-row__number { color: #8d9aa2; }
.rank-row:nth-child(3) .rank-row__number { color: #b86f43; }

.rank-row__avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #305c45, #183b2b);
  color: #e9f6ed;
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.rank-row__name {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row__name small {
  margin-left: 6px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(161, 47, 85, 0.1);
  color: var(--pink-deep);
  font-size: 9px;
}

.rank-row > strong {
  color: var(--ink);
  font-size: 15px;
}

.rank-row > strong small {
  margin-left: 2px;
  color: var(--muted);
  font-size: 9px;
}

/* Fixed overlays must not inherit page entrance transforms. */
.compose-panel,
.compose-scrim,
.photo-viewer {
  animation: none !important;
}

@media (max-width: 355px) {
  .challenge-card {
    padding: 16px 14px;
  }

  .challenge-wall {
    gap: 6px;
  }

  .challenge-day {
    border-radius: 11px;
  }
}

@media (prefers-color-scheme: dark) {
  .challenge-card {
    border-color: rgba(255, 255, 255, 0.075);
    background:
      radial-gradient(circle at 100% 0%, rgba(169, 53, 91, 0.19), transparent 34%),
      linear-gradient(145deg, rgba(30, 31, 28, 0.99), rgba(24, 28, 24, 0.99));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  }

  .challenge-ring::before {
    background: #1d211d;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.055);
  }

  .challenge-day {
    border-color: rgba(255, 255, 255, 0.055);
    background: rgba(255, 255, 255, 0.035);
  }

  .challenge-rank {
    border-top-color: rgba(255, 255, 255, 0.065);
  }

  .rank-chip,
  .rank-row__name small {
    background: rgba(226, 80, 127, 0.12);
    color: #ff92b8;
  }

  .rank-row {
    background: rgba(255, 255, 255, 0.028);
  }
}

/* Authentication is a focused mobile flow without the primary tab bar. */
.page-login .tabbar {
  display: none;
}

.page-login .app-main {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

/* Reusable mobile sheets: search, reminders and filters */
[hidden] {
  display: none !important;
}

.notice-trigger {
  position: relative;
}

.notice-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--pink-strong);
  box-shadow: 0 4px 10px rgba(190, 45, 94, 0.36);
}

.mobile-sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 44;
  background: rgba(10, 15, 11, 0.50);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: opacity 260ms ease, visibility 0s linear 260ms;
}

.mobile-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 45;
  display: block;
  width: min(100%, 430px);
  max-height: 82dvh;
  margin: 0;
  padding: 10px 18px calc(22px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px 30px 0 0;
  background: rgba(255, 253, 249, 0.985);
  box-shadow: 0 -24px 64px rgba(16, 25, 19, 0.24);
  opacity: 0;
  overscroll-behavior: contain;
  transform: translate(-50%, 104%);
  visibility: hidden;
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    visibility 0s linear 380ms;
}

.mobile-sheet.is-open {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
  transition-delay: 0s;
}

.mobile-sheet--compact {
  min-height: 220px;
}

body.sheet-open {
  overflow: hidden;
}

body.sheet-open .mobile-sheet-scrim {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.mobile-sheet__grabber {
  display: block;
  width: 42px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(111, 126, 116, 0.26);
}

.mobile-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mobile-sheet__head > div {
  min-width: 0;
}

.mobile-sheet__head h2 {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.sheet-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(81, 104, 88, 0.11);
  border-radius: 18px;
  background: rgba(89, 112, 96, 0.07);
  color: var(--muted);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sheet-search:focus-within {
  border-color: rgba(185, 60, 105, 0.36);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 0 0 4px rgba(190, 57, 104, 0.08);
}

.sheet-search svg {
  flex: 0 0 20px;
}

.sheet-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.sheet-search input::placeholder {
  color: var(--muted);
  opacity: 0.78;
}

.sheet-search__results {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.sheet-search__results a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
  align-items: center;
  min-height: 58px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(80, 104, 87, 0.055);
  color: var(--ink);
  transition: transform 160ms ease, background 160ms ease;
}

.sheet-search__results a:active {
  transform: scale(0.985);
}

.sheet-search__results a span {
  grid-column: 1;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.sheet-search__results a strong {
  grid-column: 1;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-search__results a svg {
  grid-row: 1 / 3;
  grid-column: 2;
  width: 17px;
  color: var(--muted);
}

.sheet-search__empty {
  margin: 12px 0 4px;
  padding: 24px 12px;
  border-radius: 16px;
  background: rgba(80, 104, 87, 0.055);
  color: var(--muted);
  text-align: center;
}

.notice-list {
  display: grid;
  gap: 9px;
}

.notice-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 8px;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 10px 13px;
  border-radius: 18px;
  background: rgba(80, 104, 87, 0.055);
}

.notice-item > span {
  color: var(--pink-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 800;
}

.notice-item div {
  display: grid;
  gap: 4px;
}

.notice-item strong {
  color: var(--ink);
  font-size: 14px;
}

.notice-item small {
  color: var(--muted);
  font-size: 11px;
}

.notice-item > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #72b58a;
  box-shadow: 0 0 0 4px rgba(83, 151, 105, 0.10);
}

.mobile-sheet__action {
  width: 100%;
  margin-top: 15px;
}

.filter-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.filter-chips button {
  min-height: 48px;
  padding: 9px 8px;
  border: 1px solid rgba(80, 103, 87, 0.11);
  border-radius: 16px;
  background: rgba(80, 103, 87, 0.055);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.filter-chips button:active {
  transform: scale(0.96);
}

.filter-chips button.is-active {
  border-color: rgba(181, 50, 96, 0.18);
  background: linear-gradient(145deg, #aa315c, #7d1f45);
  color: #fff;
  box-shadow: 0 10px 22px rgba(139, 34, 70, 0.18);
}

.mobile-sheet,
.mobile-sheet-scrim {
  animation: none !important;
}

@media (prefers-color-scheme: dark) {
  .notice-dot {
    border-color: #252822;
  }

  .mobile-sheet {
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(23, 28, 24, 0.99);
    box-shadow: 0 -28px 72px rgba(0, 0, 0, 0.45);
  }

  .mobile-sheet__grabber {
    background: rgba(210, 223, 213, 0.22);
  }

  .sheet-search,
  .sheet-search__results a,
  .sheet-search__empty,
  .notice-item,
  .filter-chips button {
    border-color: rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.04);
  }

  .sheet-search:focus-within {
    border-color: rgba(235, 99, 145, 0.36);
    background: rgba(255, 255, 255, 0.055);
  }
}

/* Article favorites */
.favorite-toggle svg {
  fill: transparent;
  transition: fill 180ms ease, color 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.favorite-toggle.is-favorited {
  border-color: rgba(190, 56, 101, 0.18);
  background: rgba(190, 56, 101, 0.10) !important;
  color: var(--pink-strong) !important;
}

.favorite-toggle.is-favorited svg {
  fill: currentColor;
}

.favorite-toggle.is-pop svg {
  animation: heart-pop 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.favorite-panel {
  scroll-margin-top: 16px;
}

.favorite-panel > .section-title > span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(170, 50, 91, 0.09);
  color: var(--pink-deep);
  font-size: 10px;
  font-weight: 800;
}

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

.favorite-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 66px;
  padding: 7px;
  border-radius: 17px;
  background: rgba(75, 101, 83, 0.05);
  color: var(--ink);
  transition: transform 160ms ease, background 160ms ease;
}

.favorite-row:active {
  transform: scale(0.985);
}

.favorite-row img {
  width: 58px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
}

.favorite-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.favorite-row span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.favorite-row strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-row > svg {
  width: 16px;
  color: var(--muted);
}

.favorite-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 74px;
  padding: 11px 13px;
  border: 1px dashed rgba(166, 50, 90, 0.18);
  border-radius: 18px;
  background: rgba(166, 50, 90, 0.045);
  color: var(--ink);
}

.favorite-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 50, 90, 0.10);
  color: var(--pink-strong);
  font-size: 25px;
}

.favorite-empty div {
  display: grid;
  gap: 3px;
}

.favorite-empty strong {
  font-size: 13px;
}

.favorite-empty small {
  color: var(--muted);
  font-size: 10px;
}

@media (prefers-color-scheme: dark) {
  .favorite-toggle.is-favorited {
    background: rgba(235, 83, 133, 0.13) !important;
    color: #ff78a8 !important;
  }

  .favorite-panel > .section-title > span,
  .favorite-empty > span {
    background: rgba(235, 83, 133, 0.12);
    color: #ff8eb4;
  }

  .favorite-row {
    background: rgba(255, 255, 255, 0.03);
  }

  .favorite-empty {
    border-color: rgba(236, 91, 140, 0.16);
    background: rgba(236, 91, 140, 0.045);
  }
}

.profile-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 12px 13px;
  border: 1px dashed rgba(81, 141, 98, 0.22);
  border-radius: 18px;
  background: rgba(73, 133, 91, 0.055);
  color: var(--ink);
}

.profile-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(73, 133, 91, 0.12);
  color: var(--green);
  font-size: 24px;
}

.profile-empty div {
  display: grid;
  gap: 4px;
}

.profile-empty strong {
  font-size: 13px;
}

.profile-empty small {
  color: var(--muted);
  font-size: 10px;
}

/* Content governance, personal publishing and legal pages */
.subpage-title {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
  text-align: center;
}

.subpage-title span {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.subpage-title h1 {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 19px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-action-sheet {
  min-height: 270px;
}

.post-sheet-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: 11px 13px;
  border: 1px solid rgba(70, 98, 79, 0.08);
  border-radius: 20px;
  background: rgba(78, 104, 86, 0.05);
  color: var(--ink);
  text-align: left;
  transition: transform 160ms ease, background 160ms ease;
}

.post-sheet-row:active {
  transform: scale(0.985);
}

.post-sheet-row__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px;
  background: rgba(188, 54, 99, 0.10);
  color: var(--pink-strong);
}

.post-sheet-row__icon svg,
.post-sheet-row > svg {
  width: 19px;
}

.post-sheet-row > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.post-sheet-row strong {
  font-size: 14px;
}

.post-sheet-row small,
.post-sheet-copy {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.post-sheet-row > svg {
  color: var(--muted);
}

.report-reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 13px 0 15px;
}

.report-reasons button {
  min-height: 46px;
  padding: 9px;
  border: 1px solid rgba(72, 102, 81, 0.10);
  border-radius: 15px;
  background: rgba(75, 105, 83, 0.055);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  transition: transform 150ms ease, background 180ms ease, color 180ms ease;
}

.report-reasons button:active {
  transform: scale(0.96);
}

.report-reasons button.is-active {
  border-color: rgba(62, 126, 84, 0.20);
  background: linear-gradient(145deg, #e3f1e6, #edf6ee);
  color: #397452;
  box-shadow: inset 0 0 0 1px rgba(61, 124, 82, 0.05);
}

.post-sheet-submit {
  width: 100%;
}

.post-delete-confirm {
  display: grid;
  justify-items: center;
  padding: 2px 0 4px;
  text-align: center;
}

.post-delete-confirm__mark {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 12px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, #fde7ed, #f9dce5);
  color: var(--pink-strong);
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(180, 54, 96, 0.13);
}

.post-delete-confirm h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
}

.post-delete-confirm p {
  max-width: 290px;
  margin: 7px 0 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.post-delete-confirm > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.danger-button {
  min-height: 46px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #d84c78, #b92f5e);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(184, 44, 91, 0.20);
}

.post-card.is-removing,
.manage-post-card.is-removing {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 240ms ease, transform 240ms ease;
}

.manage-summary {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 23px;
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.98), rgba(239, 247, 240, 0.95));
  box-shadow: var(--shadow-soft);
}

.manage-summary > div {
  display: grid;
  min-height: 66px;
  padding: 9px 12px;
  place-items: center;
  border-radius: 17px;
  background: rgba(186, 54, 99, 0.08);
}

.manage-summary span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.manage-summary strong {
  color: var(--pink-strong);
  font-family: Georgia, serif;
  font-size: 27px;
}

.manage-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.manage-post-list {
  display: grid;
  gap: 12px;
}

.manage-post-card {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(55, 84, 65, 0.035);
}

.manage-post-card__top {
  display: grid;
  grid-template-columns: auto 1fr 40px;
  gap: 9px;
  align-items: center;
}

.manage-post-card__top time {
  color: var(--muted);
  font-size: 10px;
}

.manage-post-card__top .icon-button {
  width: 38px;
  height: 38px;
}

.status-chip {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(63, 135, 87, 0.10);
  color: #3d8056;
  font-size: 9px;
  font-weight: 800;
}

.status-chip--hidden {
  background: rgba(199, 142, 49, 0.12);
  color: #9c6b1d;
}

.manage-post-card > p {
  margin: 13px 2px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.manage-post-card__cover {
  width: 100%;
  max-height: 260px;
  border-radius: 17px;
  object-fit: cover;
}

.manage-post-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
}

.manage-post-card__meta a {
  margin-left: auto;
  color: var(--pink-strong);
  font-weight: 800;
}

.manage-empty,
.error-state {
  display: grid;
  justify-items: center;
  padding: 46px 22px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 26px;
  background: rgba(255, 253, 250, 0.95);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.manage-empty > span,
.error-state > span {
  display: grid;
  width: 62px;
  height: 62px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 21px;
  background: linear-gradient(145deg, #c14b42, #9d342f);
  color: #fff8ed;
  font-family: "Songti SC", "STSong", serif;
  font-size: 28px;
  box-shadow: 0 14px 28px rgba(147, 48, 44, 0.20);
}

.manage-empty h2,
.error-state h1 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.manage-empty p,
.error-state p {
  max-width: 280px;
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.legal-hero {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 26px;
  background: linear-gradient(135deg, #fffaf5, #f5eee8 54%, #edf5ee);
  box-shadow: var(--shadow);
}

.legal-hero::after {
  position: absolute;
  right: -30px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(153, 67, 51, 0.12);
  border-radius: 50%;
  content: "";
}

.legal-hero__seal {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #bd4a40, #96312d);
  color: #fff9ef;
  font-family: "Songti SC", "STSong", serif;
  font-size: 25px;
  box-shadow: 0 12px 25px rgba(141, 45, 41, 0.20);
}

.legal-hero small {
  color: var(--muted);
  font-size: 9px;
}

.legal-hero h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 21px;
}

.legal-hero > p {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.legal-links {
  display: grid;
  gap: 11px;
  margin-top: 14px;
}

.legal-links > a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  gap: 13px;
  align-items: center;
  min-height: 94px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease;
}

.legal-links > a:active {
  transform: scale(0.985);
}

.legal-link__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: #f8e4ea;
  color: var(--pink-strong);
  font-family: "Songti SC", "STSong", serif;
  font-size: 20px;
  font-weight: 800;
}

.legal-link__icon--green {
  background: #e3f0e5;
  color: var(--green);
}

.legal-links div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.legal-links small {
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.legal-links strong {
  font-size: 14px;
}

.legal-links p {
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legal-links > a > svg {
  width: 18px;
  color: var(--muted);
}

.legal-note {
  margin-top: 14px;
  padding: 15px 17px;
  border-left: 3px solid rgba(77, 142, 96, 0.48);
  border-radius: 4px 17px 17px 4px;
  background: rgba(74, 137, 92, 0.07);
}

.legal-note strong {
  color: var(--green);
  font-size: 11px;
}

.legal-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.legal-document {
  display: grid;
  gap: 11px;
}

.legal-document__intro {
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background: linear-gradient(135deg, #fff9f5, #f8e8ed);
  box-shadow: var(--shadow-soft);
}

.legal-document__intro--green {
  background: linear-gradient(135deg, #fbfdf9, #e7f2e9);
}

.legal-document__intro span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.legal-document__intro strong {
  display: block;
  margin-top: 3px;
  color: var(--pink-strong);
  font-size: 16px;
}

.legal-document__intro--green strong {
  color: var(--green);
}

.legal-document__intro p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.legal-document > section {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.95);
  box-shadow: var(--shadow-soft);
}

.legal-document > section > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: rgba(177, 52, 95, 0.09);
  color: var(--pink-strong);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 800;
}

.legal-document h2 {
  margin: 1px 0 7px;
  color: var(--ink);
  font-size: 15px;
}

.legal-document section p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.78;
}

.error-state {
  margin-top: 18vh;
}

.error-state > span {
  width: auto;
  min-width: 70px;
  padding: 0 13px;
  font-family: Georgia, serif;
  font-size: 20px;
}

@media (prefers-color-scheme: dark) {
  .post-sheet-row,
  .manage-summary,
  .manage-post-card,
  .manage-empty,
  .error-state,
  .legal-hero,
  .legal-links > a,
  .legal-document__intro,
  .legal-document > section {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(24, 29, 25, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .report-reasons button {
    border-color: rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.045);
  }

  .report-reasons button.is-active {
    border-color: rgba(113, 190, 137, 0.20);
    background: rgba(93, 164, 115, 0.16);
    color: #8fd2a3;
  }

  .post-delete-confirm__mark,
  .legal-link__icon {
    background: rgba(235, 83, 133, 0.14);
    color: #ff8db4;
  }

  .legal-link__icon--green {
    background: rgba(105, 180, 128, 0.14);
    color: #89c99c;
  }

  .manage-summary > div,
  .legal-document > section > span {
    background: rgba(235, 83, 133, 0.11);
  }

  .legal-hero::after {
    border-color: rgba(255, 255, 255, 0.08);
  }
}

/* Mobile layout pass: focused subpages and denser 360px first screens. */
.page-account .tabbar,
.page-error .tabbar {
  display: none;
}

.page-account .app-main,
.page-error .app-main {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

@media (max-width: 380px) {
  .brand-hero {
    min-height: 232px;
    padding: 16px;
    border-radius: 24px;
  }

  .brand-hero__art {
    right: -96px;
    bottom: -45px;
    width: 284px;
    height: 204px;
  }

  .brand-hero__seal {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    font-size: 19px;
  }

  .brand-hero__title span:first-child {
    font-size: 34px;
  }

  .brand-hero__title i {
    font-size: 20px;
    transform: translateY(-6px);
  }

  .brand-hero__title span:last-child {
    margin-top: 4px;
    font-size: 23px;
  }

  .brand-hero__copy p {
    max-width: 246px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.62;
  }

  .brand-hero__brush {
    bottom: 20px;
  }

  .auth-hero {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    min-height: 116px;
    padding: 15px;
  }

  .auth-hero__mark {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 24px;
  }

  .auth-hero h2 {
    font-size: 21px;
  }

  .auth-hero p {
    max-width: none;
    font-size: 11.5px;
    line-height: 1.55;
  }

  .auth-gate {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 12px;
    align-items: center;
    padding: 14px 15px;
  }

  .auth-gate h2,
  .auth-gate p {
    grid-column: 1;
  }

  .auth-gate h2 {
    margin-bottom: 5px;
    font-size: 17px;
  }

  .auth-gate p {
    margin: 0;
    font-size: 12px;
  }

  .auth-gate .primary-button {
    grid-column: 2;
    grid-row: 1 / 3;
    width: auto;
    min-width: 68px;
    padding: 0 14px;
    border-radius: 14px;
  }

  .benefit-hero img {
    height: 168px;
    min-height: 168px;
  }

  .benefit-hero div {
    padding: 12px 14px 14px;
  }

  .benefit-hero h2 {
    font-size: 22px;
  }
}

/* P0 interaction closure: verified publishing, richer check-in feedback and moderation. */
.page-immersive .tabbar {
  display: none;
}

.page-immersive .app-main {
  padding-bottom: calc(28px + env(safe-area-inset-bottom));
}

.circle-success {
  margin-bottom: 12px;
}

.publish-gate {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 17px;
  border: 1px solid rgba(174, 87, 113, 0.12);
  background:
    radial-gradient(circle at 100% 0, rgba(225, 171, 185, 0.25), transparent 42%),
    linear-gradient(135deg, rgba(255, 252, 249, 0.98), rgba(250, 239, 241, 0.96));
}

.publish-gate__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 17px;
  color: var(--pink-strong);
  background: rgba(177, 52, 95, 0.09);
  box-shadow: inset 0 0 0 1px rgba(177, 52, 95, 0.08);
}

.publish-gate__icon svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.publish-gate > div h2 {
  margin: 3px 0 5px;
  font-size: 17px;
}

.publish-gate > div p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.publish-gate .primary-button {
  grid-column: 1 / -1;
  grid-row: auto;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0 18px;
}

.account-card--focus {
  border-color: rgba(177, 52, 95, 0.22);
  box-shadow: 0 18px 42px rgba(115, 55, 73, 0.12), 0 0 0 4px rgba(177, 52, 95, 0.035);
}

.phone-bind-intro {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 4px 2px 16px;
}

.phone-bind-intro > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 17px;
  color: var(--green);
  background: rgba(79, 139, 91, 0.10);
}

.phone-bind-intro svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.phone-bind-intro strong,
.phone-bind-intro p {
  display: block;
}

.phone-bind-intro p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.phone-bind-form {
  display: grid;
  gap: 12px;
}

.account-field--stack {
  display: grid;
  gap: 8px;
  align-items: stretch;
}

.account-field--stack > input,
.phone-bind-code > input,
.admin-status-form input {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid rgba(63, 54, 56, 0.10);
  border-radius: 15px;
  outline: none;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
}

.account-field--stack > input:focus,
.phone-bind-code > input:focus,
.admin-status-form input:focus {
  border-color: rgba(177, 52, 95, 0.38);
  box-shadow: 0 0 0 4px rgba(177, 52, 95, 0.07);
}

.phone-bind-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 8px;
}

.phone-bind-code .secondary-button {
  min-height: 46px;
  padding: 0 10px;
  border-radius: 15px;
  font-size: 12px;
}

.phone-bind-submit {
  width: 100%;
  margin-top: 2px;
}

.task-progress {
  display: inline-grid;
  min-width: 52px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: var(--pink-strong);
  background: rgba(177, 52, 95, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.record-row {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.record-row.is-complete {
  border-color: rgba(79, 139, 91, 0.14);
  background: linear-gradient(90deg, rgba(238, 247, 239, 0.88), rgba(255, 255, 255, 0.84));
  transform: translateX(2px);
}

.checkin-feedback {
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(228, 179, 191, 0.34), transparent 37%),
    linear-gradient(180deg, #fffdfb, #fbf5f1);
}

.checkin-feedback__halo {
  position: relative;
  display: grid;
  width: 78px;
  height: 78px;
  margin: 5px auto 13px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #cf6e8f, #9d345a);
  box-shadow: 0 15px 35px rgba(157, 52, 90, 0.25), 0 0 0 11px rgba(177, 52, 95, 0.06);
}

.checkin-feedback__halo::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.checkin-feedback__halo span {
  font-family: Georgia, serif;
  font-size: 27px;
}

.checkin-feedback h2 {
  margin: 5px 0 7px;
  font-size: 23px;
  letter-spacing: -0.02em;
}

.checkin-feedback > p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.checkin-feedback__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 20px 0 16px;
  padding: 14px 4px;
  border: 1px solid rgba(177, 52, 95, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.checkin-feedback__stats > div + div {
  border-left: 1px solid rgba(63, 54, 56, 0.08);
}

.checkin-feedback__stats strong,
.checkin-feedback__stats span {
  display: block;
}

.checkin-feedback__stats strong {
  color: var(--pink-strong);
  font-size: 19px;
}

.checkin-feedback__stats span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.checkin-feedback .primary-button {
  width: 100%;
}

.checkin-feedback__later {
  border: 0;
  padding: 13px 20px 2px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
}

.post-sheet-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 13px 0;
  color: var(--muted);
  font-size: 9px;
}

.post-sheet-divider::before,
.post-sheet-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(63, 54, 56, 0.08);
}

.post-sheet-row__icon--soft {
  color: var(--green);
  background: rgba(79, 139, 91, 0.10);
}

.menu-list__icon--admin {
  color: #fff;
  background: linear-gradient(145deg, #604b7c, #8d6ca9);
}

.admin-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.admin-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61ae70;
  box-shadow: 0 0 0 4px rgba(97, 174, 112, 0.11);
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow-soft);
}

.admin-overview > div {
  min-width: 0;
  padding: 13px 6px;
  border-radius: 17px;
  text-align: center;
  background: linear-gradient(145deg, rgba(250, 241, 243, 0.90), rgba(255, 255, 255, 0.88));
}

.admin-overview span,
.admin-overview strong,
.admin-overview small {
  display: block;
}

.admin-overview span,
.admin-overview small {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-overview strong {
  margin: 5px 0 2px;
  color: var(--pink-strong);
  font-size: 23px;
}

.admin-section {
  margin-top: 20px;
}

.admin-report-list,
.admin-post-list {
  display: grid;
  gap: 12px;
}

.admin-report-card,
.admin-post-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  background: rgba(255, 253, 250, 0.96);
  box-shadow: var(--shadow-soft);
}

.admin-report-card__top,
.admin-post-card__head,
.admin-report-card__meta,
.admin-report-card__actions,
.admin-status-form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-report-card__top span,
.admin-report-card__top small,
.admin-report-card__meta,
.admin-post-card__head small {
  color: var(--muted);
  font-size: 9px;
}

.admin-report-card > p,
.admin-post-card > p {
  margin: 11px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
}

.admin-reason,
.admin-post-card__flag {
  display: inline-flex;
  margin-top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #a34356;
  background: rgba(208, 83, 103, 0.09);
  font-size: 9px;
}

.admin-report-card__actions {
  margin-top: 13px;
}

.admin-report-card__actions form {
  flex: 1;
}

.admin-report-card__actions button {
  width: 100%;
  min-height: 42px;
}

.admin-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: -1px 0 12px;
  padding: 2px 1px 7px;
  scrollbar-width: none;
}

.admin-filters a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(63, 54, 56, 0.08);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  text-decoration: none;
}

.admin-filters a.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #c86586, #9f365c);
  box-shadow: 0 8px 18px rgba(159, 54, 92, 0.17);
}

.admin-post-card__head > div {
  display: grid;
  gap: 3px;
}

.status-chip--rejected {
  color: #b45445;
  background: rgba(199, 84, 61, 0.10);
}

.admin-post-card__note {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
}

.admin-status-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(63, 54, 56, 0.07);
}

.admin-status-form label > span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9px;
}

.admin-status-form input {
  min-height: 42px;
  font-size: 11px;
}

.admin-status-button {
  flex: 1;
  min-height: 39px;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
}

.admin-status-button--show { color: #39754a; background: rgba(79, 139, 91, 0.12); }
.admin-status-button--hide { color: #9c5d2f; background: rgba(189, 120, 63, 0.12); }
.admin-status-button--reject { color: #a24455; background: rgba(196, 67, 91, 0.10); }
.admin-status-button:disabled { opacity: 0.38; }

@media (prefers-color-scheme: dark) {
  .publish-gate,
  .checkin-feedback,
  .admin-overview,
  .admin-report-card,
  .admin-post-card {
    border-color: rgba(255, 255, 255, 0.075);
    background: rgba(24, 29, 25, 0.96);
  }

  .account-field--stack > input,
  .phone-bind-code > input,
  .admin-status-form input,
  .checkin-feedback__stats,
  .admin-filters a {
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.045);
  }

  .record-row.is-complete {
    background: rgba(93, 164, 115, 0.11);
  }

  .admin-overview > div {
    background: rgba(255, 255, 255, 0.035);
  }
}

@media (max-width: 380px) {
  .checkin-feedback h2 { font-size: 21px; }
  .checkin-feedback__halo { width: 70px; height: 70px; }
  .admin-report-card, .admin-post-card { padding: 14px; }
  .admin-live { font-size: 0; }
}

/* V1.4 member, points, reward and closed-community experience */
.member-wallet {
  position: relative;
  display: flex;
  min-height: 144px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  margin: 0 0 14px;
  padding: 22px 19px 18px;
  border: 1px solid rgba(255, 240, 207, 0.28);
  border-radius: 26px;
  color: #fffaf1;
  background:
    radial-gradient(circle at 85% 12%, rgba(248, 215, 139, 0.34), transparent 28%),
    linear-gradient(140deg, #25372e, #496252 62%, #7a6640);
  box-shadow: 0 20px 44px rgba(38, 57, 47, 0.22);
}

.member-wallet::before,
.member-wallet::after {
  position: absolute;
  border: 1px solid rgba(255, 244, 216, 0.16);
  border-radius: 50%;
  content: "";
}

.member-wallet::before { top: -42px; right: -16px; width: 142px; height: 142px; }
.member-wallet::after { top: -18px; right: 20px; width: 86px; height: 86px; }
.member-wallet > * { position: relative; z-index: 1; }
.member-wallet span { color: rgba(255, 250, 241, 0.72); font-size: 12px; font-weight: 700; }
.member-wallet strong { display: block; margin: 6px 0 3px; font: 700 37px/1 Georgia, serif; letter-spacing: -0.04em; }
.member-wallet strong small { font: 700 12px/1 "Microsoft YaHei", sans-serif; letter-spacing: 0; }
.member-wallet p { margin: 0; color: rgba(255, 250, 241, 0.66); font-size: 11px; }
.member-wallet .member-wallet__action {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 3px;
  padding: 0 11px;
  border: 1px solid rgba(255, 248, 225, 0.19);
  border-radius: 999px;
  color: #fff7df;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
.member-wallet__action svg { width: 16px; height: 16px; }

.benefit-promise,
.integration-wait,
.circle-closed,
.points-hero,
.points-records,
.points-ledger,
.points-mini-link {
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 24px;
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(57, 84, 67, 0.05);
}

.benefit-promise {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding: 15px 17px;
  border-color: rgba(72, 132, 91, 0.14);
  background: linear-gradient(135deg, #edf7ef, #fffdf9);
}
.benefit-promise span { color: #4c8460; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.benefit-promise strong { color: #2d4435; font-size: 15px; }
.benefit-promise p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.reward-preview { margin-bottom: 19px; }
.reward-preview__rail {
  display: grid;
  grid-auto-columns: minmax(152px, 43vw);
  grid-auto-flow: column;
  gap: 11px;
  overflow-x: auto;
  padding: 2px 1px 9px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reward-preview__rail::-webkit-scrollbar { display: none; }
.reward-mini-card {
  position: relative;
  display: grid;
  min-height: 194px;
  align-content: end;
  overflow: hidden;
  padding: 12px;
  border-radius: 21px;
  color: #fff;
  background: #354c3e;
  box-shadow: 0 13px 28px rgba(46, 69, 55, 0.16);
  scroll-snap-align: start;
}
.reward-mini-card::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(20, 33, 25, 0.92));
  content: "";
}
.reward-mini-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.reward-mini-card > *:not(img) { position: relative; z-index: 1; }
.reward-mini-card > span { width: max-content; margin-bottom: 5px; padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 9px; font-weight: 800; }
.reward-mini-card strong { font-size: 14px; }
.reward-mini-card small { margin-top: 3px; color: rgba(255,255,255,.66); font-size: 9px; }

.circle-closed,
.integration-wait {
  position: relative;
  display: grid;
  justify-items: center;
  overflow: hidden;
  margin-top: 18px;
  padding: 46px 23px 25px;
  text-align: center;
}
.circle-closed__glow {
  position: absolute;
  top: -90px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 116, 157, .22), transparent 68%);
}
.circle-closed__mark {
  position: relative;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(209, 66, 115, .12);
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(145deg, #ec7ca0, #c94170);
  box-shadow: 0 18px 40px rgba(198, 60, 108, .25);
  transform: rotate(-4deg);
}
.circle-closed__mark span { font: 700 38px/1 "STKaiti", "KaiTi", serif; }
.circle-closed__mark i {
  position: absolute;
  right: -9px;
  bottom: 8px;
  width: 11px;
  height: 11px;
  border: 3px solid #fffdf9;
  border-radius: 50%;
  background: #6fa47f;
}
.circle-closed__mark i:nth-of-type(2) { right: -19px; bottom: 25px; width: 7px; height: 7px; opacity: .75; }
.circle-closed__mark i:nth-of-type(3) { right: -14px; bottom: 41px; width: 4px; height: 4px; opacity: .5; }
.circle-closed h2,
.integration-wait h2 { margin: 8px 0 11px; color: var(--ink); font-size: 24px; letter-spacing: -.035em; }
.circle-closed__notice,
.integration-wait > p { margin: 0; color: #5d6b62; font-size: 13px; line-height: 1.9; }
.circle-closed__progress { display: flex; gap: 7px; margin: 22px 0 16px; }
.circle-closed__progress span { width: 31px; height: 4px; border-radius: 99px; background: #e7e8e4; }
.circle-closed__progress .is-ready { background: linear-gradient(90deg, #e46993, #d14375); }
.circle-closed__footnote { margin-bottom: 22px !important; color: #9a9f9a !important; font-size: 10px !important; line-height: 1.65 !important; }
.circle-closed .primary-button,
.integration-wait .primary-button { width: 100%; }

.integration-wait__icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, #67c75d, #25a83a);
  box-shadow: 0 18px 36px rgba(45, 167, 65, .24);
}
.integration-wait__icon svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.integration-wait__promise { display: grid; gap: 5px; width: 100%; margin: 22px 0; padding: 14px; border-radius: 17px; background: #f0f7f1; text-align: left; }
.integration-wait__promise strong { color: #365640; font-size: 12px; }
.integration-wait__promise span { color: #77867b; font-size: 10px; line-height: 1.55; }

.points-feedback {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 86, 79, .14);
  border-radius: 16px;
  color: #8d4a46;
  background: #fff2ef;
}
.points-feedback.is-success { border-color: rgba(75, 137, 91, .14); color: #3f7650; background: #edf7ef; }
.points-feedback strong { font-size: 12px; }
.points-feedback span { font-size: 10px; line-height: 1.5; }
.points-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  padding: 24px 20px;
  color: #fffaf1;
  background: linear-gradient(145deg, #263a30, #526b5a 65%, #877449);
  box-shadow: 0 22px 48px rgba(34, 55, 43, .25);
}
.points-hero__halo { position: absolute; top: -60px; right: -35px; width: 190px; height: 190px; border: 1px solid rgba(255,240,198,.18); border-radius: 50%; box-shadow: inset 0 0 0 34px rgba(255,255,255,.025); }
.points-hero .small-label { color: rgba(255,248,225,.74); }
.points-hero__balance { position: relative; display: flex; align-items: baseline; gap: 9px; margin: 15px 0 6px; }
.points-hero__balance strong { font: 700 52px/1 Georgia, serif; letter-spacing: -.05em; }
.points-hero__balance span { color: rgba(255,250,240,.72); font-size: 11px; }
.points-hero > p { position: relative; margin: 0; color: rgba(255,250,240,.62); font-size: 10px; }
.points-hero__rule { position: absolute; right: 17px; bottom: 19px; display: flex; align-items: baseline; gap: 3px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.08); }
.points-hero__rule span { display: none; }
.points-hero__rule strong { color: #ffedbd; font-size: 16px; }
.points-hero__rule small { color: rgba(255,250,240,.66); font-size: 9px; }

.reward-shop { margin-bottom: 18px; }
.reward-list { display: grid; gap: 12px; }
.reward-card { display: grid; grid-template-columns: 105px 1fr; gap: 13px; padding: 11px; border: 1px solid rgba(60,86,69,.07); border-radius: 21px; background: #fffdfb; box-shadow: var(--shadow-soft); }
.reward-card__media { position: relative; overflow: hidden; min-height: 144px; border-radius: 16px; background: #edf3ed; }
.reward-card__media img { width: 100%; height: 100%; object-fit: cover; }
.reward-card__media > span { position: absolute; bottom: 7px; left: 7px; padding: 4px 7px; border-radius: 999px; color: #fff; background: rgba(35,53,42,.72); font-size: 9px; font-weight: 700; backdrop-filter: blur(8px); }
.reward-card__body { display: grid; align-content: center; min-width: 0; }
.reward-card__body h3 { margin: 5px 0 5px; color: var(--ink); font-size: 15px; }
.reward-card__body > p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.reward-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }
.reward-card__bottom > strong { color: var(--pink-strong); font-size: 18px; }
.reward-card__bottom > strong small { font-size: 9px; }
.reward-card__bottom .secondary-button { min-height: 34px; padding: 0 10px; font-size: 10px; }
.reward-card__bottom .secondary-button:disabled { color: #aaa; background: #f1f1ee !important; box-shadow: none; }

.points-records,
.points-ledger,
.points-mini-link { margin-bottom: 16px; padding: 16px; }
.redemption-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px solid rgba(61,85,70,.07); }
.redemption-row img { width: 44px; height: 44px; border-radius: 13px; object-fit: cover; }
.redemption-row div { display: grid; gap: 3px; min-width: 0; }
.redemption-row strong { overflow: hidden; color: var(--ink); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.redemption-row span { color: var(--muted); font-size: 9px; }
.redemption-row code { padding: 6px 7px; border-radius: 8px; color: #3f7050; background: #eef7f0; font-size: 9px; }
.points-empty { display: flex; align-items: center; gap: 11px; padding: 16px 2px 4px; color: var(--muted); }
.points-empty > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #d87698, #ba3b68); font: 700 17px/1 "STKaiti", serif; }
.points-empty p { margin: 0; color: var(--ink); font-size: 11px; line-height: 1.5; }
.points-empty small { color: var(--muted); font-size: 9px; }
.ledger-row { display: grid; grid-template-columns: 35px 1fr auto; align-items: center; gap: 9px; min-height: 58px; border-top: 1px solid rgba(61,85,70,.07); }
.ledger-row__icon { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 11px; color: #4f805e; background: #edf6ef; font-size: 16px; }
.ledger-row div { display: grid; gap: 2px; }
.ledger-row strong { color: var(--ink); font-size: 11px; }
.ledger-row small { color: var(--muted); font-size: 9px; }
.ledger-row b { font-size: 13px; }
.ledger-row b.is-income { color: #4c855d; }
.ledger-row b.is-spend { color: #b85c70; }
.points-mini-link { display: grid; gap: 14px; background: linear-gradient(135deg, #f0f7f1, #fffdf9); }
.points-mini-link strong { display: block; margin: 4px 0; color: #304a39; font-size: 15px; }
.points-mini-link p { margin: 0; color: var(--muted); font-size: 10px; }
.points-mini-link .primary-button { width: 100%; }

.auth-provider .wechat-button {
  text-decoration: none;
}
.auth-provider .wechat-button.is-disabled {
  cursor: not-allowed;
  filter: grayscale(.25);
  opacity: .55;
}
.auth-provider__hint { margin: 8px 0 0; text-align: center; }

@media (max-width: 350px) {
  .reward-card { grid-template-columns: 92px 1fr; gap: 10px; }
  .reward-card__media { min-height: 132px; }
  .reward-card__bottom { align-items: flex-start; flex-direction: column; }
  .reward-card__bottom form,
  .reward-card__bottom .secondary-button { width: 100%; }
  .redemption-row { grid-template-columns: 40px 1fr; }
  .redemption-row code { grid-column: 2; justify-self: start; }
}

@media (prefers-color-scheme: dark) {
  .benefit-promise,
  .circle-closed,
  .integration-wait,
  .points-records,
  .points-ledger,
  .points-mini-link,
  .reward-card {
    border-color: rgba(255,255,255,.07);
    background: rgba(24, 29, 25, .96);
  }
  .integration-wait__promise { background: rgba(89, 151, 105, .1); }
  .benefit-promise { background: linear-gradient(135deg, rgba(65,105,75,.18), rgba(24,29,25,.96)); }
  .points-feedback { background: rgba(159,77,71,.14); }
  .points-feedback.is-success { background: rgba(71,129,87,.14); }
}
