:root {
  --ink: #0f172a;
  --soft-ink: rgba(15, 23, 42, 0.62);
  --orange: #ff8a32;
  --orange-deep: #ff5a1c;
  --gold: #ffd36a;
  --gold-soft: rgba(255, 211, 106, 0.12);
  --panel: rgba(255, 255, 255, 0.92);
  --panel-strong: rgba(255, 255, 255, 0.98);
  --panel-soft: rgba(255, 255, 255, 0.86);
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.18);
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
  --sticker-radius-xl: 22px;
  --sticker-radius-lg: 18px;
  --sticker-radius-md: 14px;
  --sticker-border: rgba(15, 23, 42, 0.085);
  --sticker-shadow:
    0 2px 0 rgba(15, 23, 42, 0.04),
    0 14px 30px rgba(15, 23, 42, 0.08),
    0 3px 0 rgba(15, 23, 42, 0.02);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", "Microsoft YaHei UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 14%, rgba(74, 139, 255, 0.14), transparent 32%),
    radial-gradient(circle at 82% 10%, rgba(255, 196, 110, 0.16), transparent 36%),
    linear-gradient(180deg, #f6f8fb 0%, #ffffff 52%, #f4f7ff 100%);
}

.app-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 15% 15%, rgba(74, 139, 255, 0.1), transparent 26%),
    radial-gradient(circle at 85% 12%, rgba(255, 196, 110, 0.12), transparent 22%),
    radial-gradient(circle at 50% 86%, rgba(74, 139, 255, 0.08), transparent 24%);
  background-size: 22px 22px, 22px 22px, auto, auto, auto;
  opacity: 0.32;
}

#app {
  position: relative;
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 12px 12px 60px;
}

html[data-app-container="app"] body {
  background: #f6f8fb;
}

html[data-app-container="app"] #app {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 calc(68px + env(safe-area-inset-bottom));
}

.login-shell,
.app-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 0;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

html[data-app-container="app"] .hero-banner {
  border-left-width: 0;
  border-right-width: 0;
}

html[data-app-container="app"] .hero-home {
  margin: 0;
  border-top-width: 0;
  border-radius: 0 0 22px 22px;
  padding:
    calc(12px + env(safe-area-inset-top))
    calc(12px + env(safe-area-inset-right))
    12px
    calc(12px + env(safe-area-inset-left));
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.12;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto -18% -42% auto;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 137, 0.24) 0%, rgba(255, 154, 61, 0.06) 58%, transparent 72%);
  animation: driftGlow 8s ease-in-out infinite;
}

.eyebrow {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: #9d5a19;
  font-size: 11px;
  letter-spacing: 1px;
}

.hero-banner h1,
.screen-title {
  margin: 10px 0 6px;
  font-family: "Bahnschrift", "Segoe UI Semibold", sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  line-height: 1.08;
}

.hero-banner p {
  margin: 0;
  font-size: 13px;
  color: var(--soft-ink);
}

.muted {
  margin: 0;
  font-size: 13px;
  color: var(--soft-ink);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--sticker-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.login-card {
  padding: 18px;
}

.credentials {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.credentials label,
.field label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--soft-ink);
}

input,
select,
textarea,
button {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 1px 2px rgba(15, 23, 42, 0.04);
}

input::placeholder,
select::placeholder,
textarea::placeholder {
  color: rgba(15, 23, 42, 0.42);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(74, 139, 255, 0.42);
  box-shadow:
    0 0 0 3px rgba(74, 139, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 2px 4px rgba(15, 23, 42, 0.06);
}

button {
  border: none;
  border-radius: 14px;
  cursor: pointer;
}

.primary-btn,
.secondary-btn,
.ghost-btn,
.tab-btn,
.icon-action {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.tab-btn:hover,
.icon-action:hover {
  transform: translateY(-1px);
}

.primary-btn {
  padding: 12px 16px;
  color: #1c1005;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, #ffd774 0%, #ff9f3b 48%, #ff6b24 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 14px 30px rgba(255, 119, 40, 0.28);
}

.secondary-btn {
  padding: 10px 12px;
  color: #fff1d3;
  border: 1px solid rgba(255, 194, 110, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    rgba(18, 31, 53, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 214, 142, 0.08);
}

.ghost-btn {
  padding: 10px 12px;
  color: var(--soft-ink);
  border: 1px solid rgba(137, 164, 215, 0.16);
  background: rgba(14, 24, 42, 0.74);
}

.mine-lite-btn {
  color: #9c5b19;
  border: 1px solid rgba(255, 191, 104, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 230, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(255, 186, 96, 0.12);
}

.mine-logout-btn {
  color: #b24e2f;
  border-color: rgba(255, 165, 139, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 239, 234, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(255, 156, 120, 0.1);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--soft-ink);
}

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

.status-pill {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
  font-size: 10px;
  color: #b5641b;
}

.shortcut-row,
.reward-scroll,
.task-list,
.gift-list,
.ranking-list,
.metric-grid,
.mini-stats,
.timeline {
  display: grid;
  gap: 0;
}

.shortcut-row {
  grid-template-columns: repeat(3, 1fr);
}

.shortcut-item {
  padding: 14px 8px;
  text-align: center;
}

.shortcut-icon,
.nav-icon,
.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff4d9 0%, #ffd88b 100%);
  color: #9c5518;
  font-size: 16px;
  font-weight: 700;
}

.nav-icon {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  font-size: 10px;
}

.shortcut-item strong,
.section-head strong,
.task-body strong,
.gift-body strong,
.panel h2,
.panel h3 {
  display: block;
  font-family: "Bahnschrift", "Segoe UI Semibold", sans-serif;
  letter-spacing: 0.04em;
  font-size: 15px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.reward-scroll {
  grid-auto-flow: column;
  grid-auto-columns: 140px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.reward-scroll::-webkit-scrollbar {
  display: none;
}

.reward-card {
  padding: 16px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(15, 23, 42, 0.06);
}

.reward-card strong {
  font-size: 30px;
}

.section {
  padding: 12px;
}

.signin-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.signin-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.signin-panel::before,
.signin-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.signin-panel::before {
  inset: 0;
  background:
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.08;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.signin-panel::after {
  top: -38px;
  right: -34px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 133, 0.16) 0%, rgba(255, 144, 53, 0.04) 60%, transparent 72%);
  filter: blur(4px);
}

.signin-panel-head {
  position: relative;
  z-index: 1;
}

.signin-banner-strip {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.35fr) minmax(164px, 0.9fr);
  gap: 10px;
  margin-top: 0;
  min-height: 84px;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.signin-banner-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  align-content: center;
}

.signin-banner-mainline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.signin-banner-value {
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.signin-banner-status {
  margin: 0;
  min-width: 0;
  font-size: 11px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.signin-insight-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
}

.signin-insight-card {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 8px 7px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.signin-insight-card.accent {
  background: linear-gradient(180deg, rgba(255, 247, 229, 0.98), rgba(255, 255, 255, 0.96));
}

.signin-insight-card strong {
  font-size: 18px;
  line-height: 1;
}

.signin-insight-label {
  font-size: 10px;
  line-height: 1.1;
}

.signin-insight-meta {
  font-size: 10px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.signin-guidance {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin-top: 0;
  padding: 14px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.signin-guidance-ready,
.signin-guidance-done {
  background: linear-gradient(180deg, rgba(240, 252, 245, 0.98), rgba(255, 255, 255, 0.96));
  border-color: rgba(125, 240, 169, 0.16);
}

.signin-guidance-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.signin-guidance-head strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.signin-guidance-head p {
  margin: 0;
}

.signin-guidance-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 0;
}

.signin-guidance-item {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.signin-guidance-item strong {
  font-size: 20px;
  line-height: 1.05;
  color: var(--ink);
}

.signin-guidance-item.accent {
  background: linear-gradient(180deg, rgba(255, 247, 229, 0.98), rgba(255, 255, 255, 0.96));
  border-color: rgba(255, 196, 104, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.signin-stage {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 14px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

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

.signin-stage-head strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.signin-stage-head p {
  margin: 0;
}

.signin-calendar-shell {
  padding: 8px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.signin-weekbar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 6px;
}

.signin-weekbar span {
  padding: 5px 0;
  text-align: center;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.03);
  color: #9d5a19;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.signin-milestone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 4px;
}

.signin-special-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 6px;
}

.signin-milestone-card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  isolation: isolate;
}

.signin-milestone-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 0 0 0 0;
  background: linear-gradient(90deg, rgba(255, 206, 116, 0), rgba(255, 206, 116, 0.86), rgba(255, 126, 39, 0.2));
  opacity: 0.28;
}

.signin-milestone-card.claimable {
  border-color: rgba(255, 211, 115, 0.24);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.signin-milestone-card.claimable::before {
  opacity: 1;
  background: linear-gradient(90deg, rgba(255, 239, 181, 0.18), rgba(255, 214, 116, 1), rgba(255, 121, 35, 0.42));
}

.signin-milestone-card.claimed {
  opacity: 0.88;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.99), rgba(255, 255, 255, 0.96));
}

.signin-special-card {
  overflow: hidden;
  gap: 8px;
  padding: 11px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.signin-special-card::before {
  background: linear-gradient(90deg, rgba(255, 228, 157, 0.16), rgba(255, 176, 57, 0.94), rgba(255, 115, 34, 0.28));
}

.signin-special-card::after {
  content: "";
  position: absolute;
  right: -56px;
  top: -42px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 228, 158, 0.18) 0%, rgba(255, 153, 43, 0.05) 52%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.signin-milestone-card.locked {
  opacity: 0.78;
}

.signin-special-card > * {
  position: relative;
  z-index: 1;
}

.signin-milestone-top,
.signin-milestone-foot,
.signin-milestone-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.signin-milestone-body {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 0;
}

.signin-milestone-status {
  font-size: 10px;
  color: #b77723;
}

.signin-milestone-art,
.signin-milestone-coin {
  width: 54px;
  min-width: 54px;
  height: 54px;
  border-radius: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 203, 112, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 246, 226, 0.98), rgba(255, 235, 196, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 16px rgba(255, 191, 98, 0.12);
}

.signin-milestone-art {
  background-size: cover;
  background-position: center;
}

.signin-milestone-coin {
  color: #c17416;
  font-size: 18px;
  font-weight: 800;
}

.signin-milestone-coin span {
  font-size: 9px;
  margin-left: 2px;
}

.signin-milestone-copy {
  display: grid;
  gap: 0;
  align-content: center;
  min-width: 0;
}

.signin-milestone-copy strong {
  font-size: 15px;
  line-height: 1.12;
}

.signin-milestone-copy-empty {
  min-width: 8px;
}

.signin-milestone-body .milestone-claim-btn {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  min-width: 50px;
  min-height: 42px;
  white-space: normal;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: #6b3407;
  border-radius: 13px;
  border: 1px solid rgba(255, 145, 37, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 239, 198, 0.98), rgba(255, 170, 61, 0.96));
  box-shadow:
    0 8px 16px rgba(255, 137, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  animation: claimPulse 1.8s ease-in-out infinite;
}

.signin-milestone-body .milestone-claim-btn span {
  display: block;
}

.signin-milestone-body .milestone-claim-btn::after {
  width: 22px;
}

.signin-milestone-body .milestone-claim-btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow:
    0 10px 18px rgba(255, 176, 75, 0.2),
    0 0 0 1px rgba(255, 210, 131, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.signin-milestone-body .ghost-btn {
  display: inline-grid;
  place-items: center;
  justify-self: end;
  align-self: center;
  min-width: 50px;
  min-height: 42px;
  white-space: normal;
  padding: 5px 8px;
  font-size: 11px;
  line-height: 1.08;
  letter-spacing: 0.03em;
  border-radius: 13px;
  color: #7a889a;
  border: 1px solid rgba(156, 171, 196, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 246, 251, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.signin-milestone-body .ghost-btn span {
  display: block;
}

.signin-milestone-body .milestone-state-btn-done {
  color: #0f6b3e;
  border-color: rgba(70, 190, 119, 0.34);
  background: linear-gradient(180deg, rgba(237, 255, 245, 0.99), rgba(178, 239, 202, 0.94));
  box-shadow:
    0 8px 16px rgba(55, 174, 106, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.signin-milestone-body .milestone-state-btn-pending {
  color: #526887;
  border-color: rgba(125, 157, 202, 0.28);
  background: linear-gradient(180deg, rgba(249, 252, 255, 0.99), rgba(219, 232, 250, 0.94));
  box-shadow:
    0 8px 16px rgba(91, 122, 168, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.signin-special-headline {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.signin-special-datebadge {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 8px 6px;
  border-radius: 0;
  border: 1px solid rgba(255, 214, 121, 0.22);
  background: linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(255, 241, 210, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 16px rgba(255, 194, 105, 0.1);
}

.signin-special-day {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  color: #b86a17;
}

.signin-special-datecopy {
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #b27a37;
}

.signin-special-titleblock {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.signin-special-titleblock strong {
  font-size: 16px;
  line-height: 1.22;
}

.signin-special-showcase {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 252, 244, 0.98), rgba(255, 245, 223, 0.94));
  border: 1px solid rgba(255, 205, 116, 0.18);
}

.signin-special-visual {
  display: grid;
  place-items: center;
}

.signin-special-card .signin-milestone-art,
.signin-special-card .signin-milestone-coin {
  width: 88px;
  min-width: 88px;
  height: 88px;
  border-radius: 0;
  box-shadow:
    0 10px 20px rgba(255, 190, 102, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.signin-special-copy {
  display: grid;
  gap: 4px;
  align-content: center;
}

.signin-special-copy strong {
  font-size: 17px;
  line-height: 1.16;
}

.signin-special-stockrow {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.signin-special-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.signin-special-pill.muted {
  background: rgba(248, 250, 255, 0.96);
  color: var(--soft-ink);
}

.signin-special-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.signin-special-insight {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 247, 233, 0.96));
  border: 1px solid rgba(255, 210, 124, 0.18);
}

.signin-special-insight strong {
  font-size: 12px;
  line-height: 1.32;
  color: var(--ink);
}

.signin-special-foot {
  align-items: flex-end;
}

.signin-special-foot .caption {
  max-width: 52%;
  line-height: 1.35;
}

.signin-special-card .milestone-claim-btn {
  min-width: 120px;
  padding-inline: 14px;
}

.milestone-claim-btn {
  position: relative;
  overflow: hidden;
  min-width: 104px;
  padding: 9px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #8c5514;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 214, 0.96));
  border: 1px solid rgba(255, 199, 111, 0.28);
  box-shadow:
    0 8px 18px rgba(255, 188, 96, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  animation: claimPulse 1.8s ease-in-out infinite;
}

.milestone-claim-btn::after {
  content: "";
  position: absolute;
  inset: -20% auto -20% -34%;
  width: 28px;
  transform: rotate(18deg);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.68), transparent);
  opacity: 0.72;
  animation: claimSweep 2.2s ease-in-out infinite;
}

.milestone-claim-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 22px rgba(255, 188, 96, 0.18),
    0 0 0 1px rgba(255, 220, 149, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.signin-milestone-card .ghost-btn {
  color: #7a889a;
  border: 1px solid rgba(156, 171, 196, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 246, 251, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.signin-milestone-card.burst {
  animation: signin-burst 0.82s ease-out;
}

.signin-celebration {
  position: absolute;
  inset: 18px 18px auto 18px;
  z-index: 2;
  inset: 14px 14px auto 14px;
  padding: 18px 16px;
  border-radius: 0;
  border: 1px solid rgba(255, 212, 120, 0.42);
  background:
    radial-gradient(circle at center, rgba(255, 222, 158, 0.28), rgba(16, 28, 44, 0.94) 58%),
    rgba(14, 24, 38, 0.96);
  text-align: center;
  animation: celebration-pop 1.8s ease both;
}

.signin-celebration-core {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 212, 120, 0.16);
  color: #ffe1a8;
  margin-bottom: 8px;
}

.signin-celebration-ring {
  position: absolute;
  inset: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 216, 141, 0.22);
  pointer-events: none;
}

@keyframes signin-burst {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 rgba(255, 216, 141, 0);
  }
  40% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(255, 216, 141, 0.12);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
  }
}

@keyframes claimPulse {
  0%,
  100% {
    box-shadow:
      0 14px 26px rgba(255, 140, 0, 0.3),
      0 0 0 1px rgba(255, 218, 132, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.48);
  }
  50% {
    box-shadow:
      0 18px 30px rgba(255, 140, 0, 0.4),
      0 0 0 5px rgba(255, 202, 99, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.58);
  }
}

@keyframes claimSweep {
  0%,
  20% {
    transform: translateX(0) rotate(18deg);
    opacity: 0;
  }
  38%,
  66% {
    transform: translateX(190px) rotate(18deg);
    opacity: 0.82;
  }
  100% {
    transform: translateX(190px) rotate(18deg);
    opacity: 0;
  }
}

@keyframes celebration-pop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  18%,
  72% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px) scale(1.02);
  }
}

.signin-day {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 7px 6px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  min-height: 68px;
}

.signin-day.signed {
  border-color: rgba(117, 194, 145, 0.28);
  background: linear-gradient(180deg, rgba(240, 252, 245, 0.98), rgba(255, 255, 255, 0.96));
}

.signin-day.missed {
  opacity: 0.72;
}

.signin-day.unsigned {
  border-color: rgba(110, 151, 216, 0.14);
}

.signin-day.upcoming {
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.99), rgba(255, 255, 255, 0.96));
  border-color: rgba(120, 148, 186, 0.12);
}

.signin-day-empty {
  min-height: 68px;
  padding: 0;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.signin-day.today {
  box-shadow: inset 0 0 0 1px rgba(79, 148, 255, 0.48);
}

.signin-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 2px;
}

.signin-day-head strong {
  font-size: 15px;
  color: var(--ink);
}

.signin-day-reward,
.signin-day-status,
.signin-day-bonus {
  font-size: 10px;
  line-height: 1.2;
  color: var(--soft-ink);
}

.signin-day-reward {
  color: #9d5a19;
  white-space: nowrap;
}

.signin-day-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  margin-top: auto;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1px solid rgba(160, 182, 214, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.signin-day.signed .signin-day-status {
  color: #1f6a3c;
  border-color: rgba(117, 194, 145, 0.28);
  background: rgba(240, 252, 245, 1);
}

.signin-day.missed .signin-day-status,
.signin-day.unsigned .signin-day-status {
  color: #5f6f85;
  border-color: rgba(150, 176, 218, 0.16);
  background: rgba(245, 247, 250, 1);
}

.signin-day.upcoming .signin-day-status {
  color: #6b7c92;
  border-color: rgba(121, 147, 184, 0.14);
  background: rgba(245, 247, 250, 1);
}

.signin-day-bonus {
  margin-top: 4px;
  color: #ffd98d;
}

.task-card,
.gift-card,
.ranking-card,
.panel,
.detail-hero,
.detail-section {
  padding: 12px;
}

.task-card {
  padding: 10px;
  display: grid;
  position: relative;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 12px 26px rgba(15, 23, 42, 0.06),
    0 4px 10px rgba(15, 23, 42, 0.04);
  transform: translateZ(0);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.task-card:active {
  transform: translate3d(0, 1px, 0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 22px rgba(15, 23, 42, 0.05),
    0 3px 8px rgba(15, 23, 42, 0.03);
}

.detail-section {
  padding: 12px;
}

.task-poster-shell {
  position: relative;
  min-height: 118px;
  border-radius: 0;
  overflow: hidden;
}

.poster {
  min-height: 118px;
  height: 100%;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 10px 22px rgba(15, 23, 42, 0.12);
}

.task-poster-glow {
  position: absolute;
  inset: auto -10% -14% auto;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 181, 82, 0.54) 0%, rgba(255, 181, 82, 0.08) 62%, transparent 76%);
  filter: blur(4px);
  pointer-events: none;
}

.task-poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(4, 9, 18, 0.08), rgba(4, 9, 18, 0.58) 72%, rgba(4, 9, 18, 0.82));
}

.task-poster-reward {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 20, 34, 0.78);
  border: 1px solid rgba(255, 212, 131, 0.24);
  color: #fff0c9;
  font-size: 10px;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.task-meta,
.gift-meta,
.caption {
  font-size: 12px;
  color: var(--soft-ink);
}

.task-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.task-body {
  display: grid;
  gap: 8px;
}

.task-title {
  margin-top: 0;
  font-size: 15px;
  line-height: 1.26;
  letter-spacing: 0.01em;
}

.task-time-chip {
  font-size: 10px;
  color: #ffddb0;
}

.task-summary-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.task-summary-item {
  padding: 10px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.task-summary-item strong {
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink);
}

.task-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 10px;
}

.task-meta-item {
  padding: 9px 10px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.task-meta-item strong {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0;
}

.task-kicker {
  font-size: 10px;
  color: var(--soft-ink);
}

.task-progress-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  white-space: nowrap;
  border: 1px solid rgba(255, 192, 110, 0.16);
  background: rgba(18, 29, 47, 0.78);
  color: #d9e5fb;
}

.task-progress-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.task-progress-dot.done {
  color: #7df0a9;
  border-color: rgba(125, 240, 169, 0.26);
  background: rgba(17, 44, 29, 0.42);
}

.task-progress-dot.working {
  color: #ff8f8f;
  border-color: rgba(255, 143, 143, 0.24);
  background: rgba(68, 24, 24, 0.42);
}

.task-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.task-progress-block {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.task-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 197, 106, 0.12);
  border: 1px solid rgba(255, 197, 106, 0.22);
  color: #ffd899;
  font-size: 11px;
}

.task-status-tag.is-positive {
  background: rgba(86, 214, 142, 0.18);
  border-color: rgba(109, 231, 163, 0.34);
  color: #b9ffd0;
}

.task-status-tag.is-negative {
  background: rgba(255, 102, 102, 0.15);
  border-color: rgba(255, 126, 126, 0.28);
  color: #ffb2b2;
}

.task-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  margin-top: 0;
}

.task-inline-note {
  font-size: 10px;
  color: #7d93b7;
}

.task-detail-btn {
  padding: 8px 12px;
  min-width: 0;
  color: #fff7e4;
  font-weight: 700;
  border-radius: 0;
  font-size: 12px;
  border: 1px solid rgba(123, 185, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(94, 161, 255, 0.88) 0%, rgba(44, 109, 246, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 22px rgba(48, 107, 232, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.task-detail-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 14px 28px rgba(48, 107, 232, 0.26);
}

.task-open-btn {
  min-width: 100px;
  padding: 8px 12px;
  border-radius: 0;
  font-size: 12px;
  border-color: rgba(255, 194, 110, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(255, 202, 115, 0.18) 0%, rgba(255, 122, 48, 0.2) 100%),
    rgba(18, 31, 53, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 160, 0.12),
    0 10px 24px rgba(255, 128, 48, 0.14);
}

.task-share-btn {
  min-width: 0;
  width: 100%;
}

.mini-stats {
  grid-template-columns: repeat(2, 1fr);
}

.metric-card {
  padding: 12px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 26px rgba(15, 23, 42, 0.08);
}

.metric-card strong {
  font-size: 20px;
  color: var(--ink);
}

.mine-menu-grid,
.record-list {
  display: grid;
  gap: 0;
}

.mine-menu-card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mine-menu-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 203, 118, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 28px rgba(15, 23, 42, 0.08);
}

.mine-menu-card:active {
  transform: translateY(0);
}

.mine-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  flex: 0 0 auto;
  color: #fff6dd;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(255, 182, 82, 0.96) 0%, rgba(255, 98, 34, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 8px 16px rgba(255, 108, 35, 0.14);
}

.mine-menu-copy {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.mine-menu-mainline {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
}

.mine-menu-copy strong {
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.mine-menu-desc {
  min-width: 0;
  font-size: 11px;
  line-height: 1.2;
  color: var(--soft-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mine-menu-side {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-items: end;
  flex: 0 0 auto;
}

.mine-menu-meta {
  font-size: 10px;
  color: var(--soft-ink);
  white-space: nowrap;
}

.mine-menu-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #b97422;
  background: rgba(255, 202, 116, 0.12);
  border: 1px solid rgba(255, 202, 116, 0.14);
  font-size: 12px;
}

.mine-overview-actions > button {
  flex: 1 1 0;
}

.record-card {
  border-radius: 0;
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.record-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.record-card-amount {
  font-size: 16px;
  color: #ffd36a;
  white-space: nowrap;
}

.record-card-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--soft-ink);
}

.reward-record-card {
  border-color: rgba(255, 200, 110, 0.16);
}

.redemption-record-card {
  border-color: rgba(115, 182, 255, 0.16);
}

.address-list {
  display: grid;
  gap: 0;
}

.address-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.address-card.default {
  border-color: rgba(255, 210, 124, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 28px rgba(15, 23, 42, 0.06);
}

.address-card.compact {
  padding: 10px;
  border-radius: 0;
}

.address-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.address-card-top strong {
  font-size: 16px;
}

.address-card-detail {
  margin: 0;
  line-height: 1.6;
  color: var(--soft-ink);
}

.address-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.address-card-actions > button {
  flex: 1 1 0;
}

.address-form {
  margin-top: 12px;
  padding: 12px;
  border-radius: 0;
  border: 1px solid rgba(255, 196, 110, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 182, 85, 0.08), transparent 42%),
    rgba(12, 24, 40, 0.82);
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ink);
  font-size: 13px;
}

.checkbox-line input {
  width: 16px;
  height: 16px;
}

.danger {
  color: #d83821;
}

.detail-page {
  display: grid;
  gap: 0;
}

.password-page {
  gap: 0;
}

.password-hero p {
  margin-top: 12px;
  max-width: 28rem;
}

.password-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.password-tips {
  grid-template-columns: repeat(3, 1fr);
}

.detail-hero {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.metric-grid {
  grid-template-columns: repeat(2, 1fr);
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
}

.timeline .metric-card {
  text-align: center;
}

.detail-metric-status {
  font-size: 16px;
  line-height: 1.35;
}

.detail-metric-status.done {
  color: #7fe4a8;
}

.detail-metric-status.working {
  color: #ffd28d;
}

.detail-progress-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.detail-progress-summary {
  padding: 12px;
  border-radius: 0;
  font-size: 13px;
  line-height: 1.6;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.detail-progress-summary.done {
  color: #166b3b;
  border-color: rgba(117, 222, 164, 0.22);
  background: linear-gradient(180deg, rgba(240, 252, 245, 0.98), rgba(255, 255, 255, 0.96));
}

.detail-progress-summary.pending {
  color: #8b5b10;
  border-color: rgba(255, 188, 98, 0.18);
  background: linear-gradient(180deg, rgba(255, 247, 229, 0.98), rgba(255, 255, 255, 0.96));
}

.detail-progress-list {
  display: grid;
  gap: 0;
}

.detail-progress-item {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.detail-progress-item.done {
  border-color: rgba(117, 222, 164, 0.22);
}

.detail-progress-item.pending {
  border-color: rgba(255, 188, 98, 0.18);
}

.detail-progress-item.neutral {
  border-color: rgba(158, 176, 206, 0.16);
}

.detail-progress-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.detail-progress-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.detail-progress-copy strong {
  font-size: 14px;
}

.detail-progress-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid var(--line);
  background: rgba(248, 250, 255, 0.96);
}

.detail-progress-status.done {
  color: #166b3b;
  border-color: rgba(117, 222, 164, 0.26);
  background: rgba(240, 252, 245, 0.98);
}

.detail-progress-status.pending {
  color: #8b5b10;
  border-color: rgba(255, 188, 98, 0.24);
  background: rgba(255, 247, 229, 0.98);
}

.detail-progress-status.neutral {
  color: var(--soft-ink);
  border-color: rgba(162, 179, 207, 0.18);
  background: rgba(248, 250, 255, 0.96);
}

.detail-progress-track {
  position: relative;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.detail-progress-fill.done {
  background: linear-gradient(90deg, #4fce8f 0%, #7fe4a8 100%);
}

.detail-progress-fill.pending {
  background: linear-gradient(90deg, #ffb155 0%, #ff8f3d 100%);
}

.detail-progress-fill.neutral {
  background: linear-gradient(90deg, #8fa8cf 0%, #b5c8e9 100%);
}

.ad-card {
  display: grid;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.ad-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.ad-link-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 196, 110, 0.2);
  background: rgba(255, 183, 84, 0.1);
  color: #ffe0ae;
  font-size: 11px;
}

.ad-preview-panel {
  display: grid;
  grid-template-columns: 102px 1fr;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 0;
  text-align: left;
  color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ad-preview-panel:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 199, 118, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 214, 142, 0.08),
    0 18px 32px rgba(6, 12, 28, 0.28);
}

.ad-preview-thumb {
  position: relative;
  min-height: 112px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(0, 0, 0, 0.18);
}

.ad-preview-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(7, 14, 27, 0.02) 0%, rgba(7, 14, 27, 0.18) 42%, rgba(7, 14, 27, 0.7) 100%);
}

.preview-thumb-badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(6, 15, 29, 0.72);
  border: 1px solid rgba(255, 214, 142, 0.22);
  color: #fff2cf;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ad-preview-copy {
  display: grid;
  align-content: center;
  gap: 6px;
}

.ad-preview-copy strong {
  font-size: 16px;
}

.preview-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-meta-row span,
.preview-detail {
  font-size: 11px;
  line-height: 1.5;
  color: var(--soft-ink);
}

.preview-meta-row span {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 204, 124, 0.12);
}

.ad-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.poster-generate-btn {
  position: relative;
  overflow: hidden;
  padding: 11px 13px;
  color: #1f1104;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 0;
  border: 1px solid rgba(255, 224, 156, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), transparent 32%),
    linear-gradient(135deg, #fff0b5 0%, #ffd56b 30%, #ff9f3b 68%, #ff6a21 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 12px 24px rgba(255, 123, 42, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.poster-generate-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.24) 46%, transparent 74%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.poster-generate-btn:hover {
  transform: translateY(-1px) scale(1.01);
  filter: saturate(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.46),
    0 18px 36px rgba(255, 123, 42, 0.32);
}

.poster-generate-btn:hover::after {
  transform: translateX(120%);
}

.button-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.share-result {
  margin-top: 10px;
  padding: 12px;
  border-radius: 0;
  background: rgba(16, 30, 50, 0.92);
  display: grid;
  gap: 8px;
}

.share-grid {
  display: grid;
  grid-template-columns: 1fr 108px;
  gap: 12px;
  align-items: center;
}

.share-grid img {
  width: 100%;
  border-radius: 0;
  background: #fff;
  border: 1px solid rgba(167, 117, 59, 0.2);
}

.banner-strip {
  padding: 14px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.gift-list,
.ranking-list,
.task-list {
  grid-template-columns: 1fr;
}

.gift-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: stretch;
}

.gift-image {
  min-height: 80px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 10px 20px rgba(15, 23, 42, 0.06);
}

.gift-body {
  display: grid;
  min-height: 80px;
}

.gift-copy {
  display: grid;
  align-content: start;
  gap: 6px;
}

.gift-action-row {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 8px;
}

.gift-redeem-btn {
  min-width: 104px;
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 187, 0.08),
    0 12px 24px rgba(255, 131, 46, 0.14);
}

.ranking-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.rank-badge {
  width: 38px;
  height: 38px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #fff0d0 0%, #ffb857 100%);
  color: #3c2309;
  font-weight: 700;
}

.wallet-balance {
  font-size: 36px;
  font-family: Georgia, "Times New Roman", serif;
}

.share-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 10px 18px;
  background: rgba(3, 8, 18, 0.58);
  backdrop-filter: blur(10px);
}

.share-sheet {
  width: min(404px, 100%);
  padding: 12px;

  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.redeem-sheet {
  display: grid;
  gap: 12px;
}

.share-sheet-handle {
  width: 42px;
  height: 5px;
  margin: 2px auto 10px;
  border-radius: 999px;
  background: rgba(255, 226, 173, 0.24);
}

.share-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-option-btn {
  padding: 14px 12px;
  border-radius: 0;
  text-align: left;
  color: var(--ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  display: grid;
  gap: 8px;
}

.share-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  color: #fffaf2;
  font-size: 16px;
  font-weight: 700;
}

.share-icon-wechat {
  background: linear-gradient(180deg, #58d672 0%, #12a537 100%);
  box-shadow: 0 14px 28px rgba(19, 165, 55, 0.22);
}

.share-icon-moments {
  background: linear-gradient(180deg, #ffd66b 0%, #ff8d34 100%);
  box-shadow: 0 14px 28px rgba(255, 141, 52, 0.22);
}

.share-close-btn,
.share-cancel-btn {
  width: 100%;
}

.poster-sheet {
  display: grid;
  gap: 12px;
}

.poster-sheet-loading {
  padding: 20px 16px;
  border-radius: 0;
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.poster-sheet-loading strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.poster-sheet-preview {
  padding: 8px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.poster-sheet-preview-trigger {
  width: 100%;
  text-align: left;
  padding: 8px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  cursor: pointer;
}

.poster-sheet-image {
  display: block;
  width: 100%;
  border-radius: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 12px 26px rgba(0, 0, 0, 0.2);
}

.poster-sheet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.poster-sheet-actions > button {
  width: 100%;
}

.redeem-sheet-preview {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.redeem-sheet-thumb {
  min-height: 88px;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 10px 18px rgba(0, 0, 0, 0.18);
}

.redeem-sheet-copy {
  display: grid;
  align-content: start;
  gap: 6px;
}

.redeem-sheet-copy strong {
  font-size: 16px;
}

.compact-head {
  margin-bottom: 8px;
}

.redeem-sheet-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.redeem-address-panel {
  padding: 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.redeem-address-form {
  gap: 8px;
  margin-top: 0;
}

.redeem-address-tip {
  display: block;
  margin-top: 2px;
  color: var(--soft-ink);
  line-height: 1.45;
}

.redeem-sheet-notice {
  padding: 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  color: var(--soft-ink);
  font-size: 12px;
  line-height: 1.6;
}

.redeem-sheet-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.redeem-sheet-actions > button {
  width: 100%;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: min(420px, calc(100vw - 24px));
  padding: 4px;
  border-radius: 0;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  backdrop-filter: blur(18px);
}

html[data-app-container="app"] .bottom-nav {
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  border-left-width: 0;
  border-right-width: 0;
  border-bottom-width: 0;
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
}

.nav-item {
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 0;
  color: var(--soft-ink);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.nav-item.active {
  color: #a85a16;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-item span:last-child {
  white-space: nowrap;
}

.stack {
  display: grid;
  gap: 0;
}

.notice {
  padding: 14px 16px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  color: var(--soft-ink);
  border: 1px solid var(--line);
}

.refresh-banner {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top) + 8px);
  transform: translateX(-50%);
  z-index: 80;
  width: min(430px, calc(100vw - 20px));
  padding: 10px 14px;
  border-radius: 999px;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.12);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}

.app-state-card {
  display: grid;
  gap: 16px;
  padding: 22px 20px;
}

.app-state-card.loading {
  border-color: rgba(255, 196, 110, 0.2);
}

.app-state-card.offline {
  border-color: rgba(255, 148, 102, 0.22);
}

.app-state-card.error {
  border-color: rgba(255, 120, 102, 0.28);
}

.app-state-copy {
  display: grid;
  gap: 10px;
}

.app-state-copy p {
  margin: 0;
  color: var(--soft-ink);
  line-height: 1.6;
}

.app-state-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.helper-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.login-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--soft-ink);
  font-size: 12px;
}

.login-legal-link {
  color: var(--ink);
  text-decoration: none;
}

.login-legal-link:hover {
  color: #a85a16;
  text-decoration: underline;
}

.password-actions > button {
  flex: 1 1 0;
}

.empty {
  padding: 18px;
  text-align: center;
  color: var(--soft-ink);
}

.hero-home {
  display: grid;
  gap: 7px;
}

.hero-copy {
  display: grid;
  gap: 6px;
}

.hero-copy h1 {
  max-width: none;
}

.hero-copy p {
  max-width: none;
}

.hero-pulse-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.hero-pulse-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: stretch;
}

.hero-insight-panel {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(92px, 104px) minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  margin-right: 0;
}

.hero-orbit {
  position: relative;
  width: 70px;
  height: 70px;
  justify-self: center;
}

.hero-orbit-panel {
  width: 96px;
  height: 96px;
  padding: 6px 0 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(15, 23, 42, 0.05);
}

.orbit-ring,
.orbit-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.orbit-ring {
  border: 1px solid rgba(255, 167, 74, 0.28);
  box-shadow: 0 0 0 8px rgba(255, 198, 100, 0.04), 0 0 18px rgba(255, 142, 48, 0.12);
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 167, 74, 0.18);
}

.orbit-ring::after {
  inset: 15px;
}

.orbit-core {
  inset: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffd978 0%, #ff8e34 100%);
  color: #281304;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 123, 38, 0.2);
}

.hero-orbit-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: grid;
  justify-items: center;
  gap: 1px;
  text-align: center;
}

.hero-orbit-copy span {
  font-size: 8px;
  color: var(--soft-ink);
}

.hero-orbit-copy strong {
  font-size: 12px;
  color: var(--ink);
}

.hero-side-stats {
  display: grid;
  width: 100%;
  max-width: 208px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  justify-content: center;
  align-items: center;
  justify-self: center;
  align-self: center;
  height: auto;
}

.hero-side-stat {
  min-height: 0;
  min-width: 0;
  min-height: 40px;
  padding: 4px 5px;
  border-radius: 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 8px 18px rgba(15, 23, 42, 0.05);
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
}

.hero-side-stat span {
  display: block;
  font-size: 8px;
  color: var(--soft-ink);
  line-height: 1.2;
}

.hero-side-stat strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero-banner h1 {
  font-size: 13px;
  margin: 2px 0 1px;
  line-height: 1.1;
}

.hero-banner p {
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 340px) {
  .hero-insight-panel {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-side-stats {
    max-width: 260px;
  }
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.hero-stat {
  padding: 12px 10px;
  border-radius: 0;
  background: rgba(8, 19, 32, 0.48);
  border: 1px solid rgba(255, 196, 110, 0.14);
  text-align: center;
}

.hero-stat span {
  display: block;
  font-size: 11px;
  color: rgba(223, 232, 250, 0.66);
}

.hero-stat strong {
  margin-top: 8px;
  font-size: 21px;
}

.home-command-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.command-card {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.command-card strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  color: var(--ink);
}

.command-card p {
  margin-top: 8px;
}

.command-card.emphasis {
  background: linear-gradient(180deg, rgba(255, 247, 229, 0.98), rgba(255, 255, 255, 0.96));
  border-color: rgba(255, 204, 118, 0.18);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.task-alert {
  display: grid;
  gap: 12px;
  padding: 16px;

  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px solid var(--line);
}

.task-alert-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.task-alert-head strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.task-alert-head p {
  margin: 0;
}

.task-alert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 191, 104, 0.12);
  border: 1px solid rgba(255, 191, 104, 0.16);
  color: #a85a16;
  font-size: 11px;
  white-space: nowrap;
}

.task-alert-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.task-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.message-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.message-setting-row strong {
  margin-bottom: 6px;
}

.message-setting-row p {
  margin: 0;
}

.quick-card {
  padding: 12px 8px;
  text-align: left;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 36%),
    var(--panel-soft);
  border: 1px solid rgba(255, 185, 98, 0.12);
}

.quick-card strong {
  margin-top: 8px;
  font-size: 13px;
}

.quick-card .caption {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255, 222, 145, 0.24) 0%, rgba(255, 124, 44, 0.3) 100%);
  border: 1px solid rgba(255, 200, 110, 0.22);
  color: #ffe7bb;
  font-family: "Bahnschrift", "Segoe UI", sans-serif;
  font-weight: 700;
}

.task-hub {
  display: grid;
  gap: 0;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 188, 98, 0.1);
  border: 1px solid rgba(255, 188, 98, 0.18);
  color: #ffd8a1;
  font-size: 10px;
}

.task-toggle,
.task-switch {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.task-toggle-btn {
  position: relative;
  overflow: hidden;
  padding: 12px;
  text-align: left;
  color: var(--soft-ink);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
}

.task-toggle-btn::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 84, 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.task-toggle-btn span,
.task-toggle-btn strong {
  display: block;
}

.task-toggle-btn span {
  font-size: 11px;
  color: var(--soft-ink);
}

.task-toggle-btn strong {
  margin-top: 8px;
  font-size: 20px;
  color: var(--ink);
}

.task-toggle-btn.active {
  color: #a85a16;
  border-color: rgba(255, 193, 107, 0.28);
  background: linear-gradient(180deg, rgba(255, 247, 229, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.task-toggle-btn.active::after {
  opacity: 1;
}

.task-stage {
  display: grid;
  gap: 0;
}

.task-load-hint {
  padding: 10px 12px;
  border-radius: 0;
  text-align: center;
  font-size: 12px;
  color: var(--soft-ink);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 255, 0.96));
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

.task-load-hint.done {
  color: var(--soft-ink);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.99), rgba(255, 255, 255, 0.96));
  border-color: rgba(122, 149, 198, 0.16);
}

.completed-task-list {
  display: grid;
  gap: 0;
}

.completed-task-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 12px 26px rgba(15, 23, 42, 0.08);
}

.completed-task-copy {
  display: grid;
  gap: 4px;
}

.completion-line {
  font-size: 11px;
  color: var(--soft-ink);
}

.task-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(79, 208, 122, 0.14);
  border: 1px solid rgba(79, 208, 122, 0.18);
  color: #98f0b2;
  font-size: 11px;
  white-space: nowrap;
}

@keyframes driftGlow {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-10px, -8px, 0) scale(1.05);
  }
}

@media (max-width: 420px) {
  #app {
    padding-inline: 12px;
  }

  .home-command-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .quick-grid,
  .task-toggle,
  .task-switch,
  .signin-milestone-grid,
  .shortcut-row,
  .button-row,
  .metric-grid,
  .timeline,
  .password-tips {
    grid-template-columns: 1fr 1fr;
  }

  .signin-banner-strip {
    grid-template-columns: minmax(0, 1.1fr) minmax(152px, 0.9fr);
    gap: 8px;
    min-height: 78px;
    padding: 9px 10px;
  }

  .signin-special-headline,
  .signin-special-showcase,
  .signin-special-insights {
    grid-template-columns: 1fr;
  }

  .signin-special-datebadge {
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    gap: 10px;
  }

  .signin-special-day {
    font-size: 30px;
  }

  .signin-special-card .signin-milestone-art,
  .signin-special-card .signin-milestone-coin {
    width: 100%;
    min-width: 0;
    max-width: 132px;
    height: 112px;
  }

  .signin-special-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .signin-special-foot .caption {
    max-width: none;
  }

  .address-card-top,
  .address-card-actions,
  .record-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .mine-menu-card {
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
  }

  .mine-menu-side {
    grid-column: 2;
    justify-content: space-between;
  }

  .task-alert-head,
  .message-setting-row {
    flex-direction: column;
    align-items: stretch;
  }

  .task-card,
  .gift-card,
  .share-grid,
  .ad-preview-panel,
  .share-option-grid,
  .poster-sheet-actions,
  .redeem-sheet-preview {
    grid-template-columns: 1fr;
  }

  .task-poster-shell,
  .poster {
    min-height: 152px;
  }

  .completed-task-card {
    flex-direction: column;
  }

  .ad-preview-thumb {
    min-height: 156px;
  }

  .detail-progress-head {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-progress-status {
    justify-self: start;
  }
}

:is(
  .card,
  .hero-banner,
  .hero-stat,
  .task-card,
  .gift-card,
  .ranking-card,
  .panel,
  .detail-hero,
  .detail-section,
  .mine-menu-card,
  .app-state-card,
  .task-alert,
  .command-card,
  .quick-card,
  .banner-strip,
  .share-result,
  .completed-task-card,
  .reward-card,
  .signin-panel,
  .signin-banner-strip,
  .signin-insight-card,
  .signin-guidance,
  .signin-guidance-item,
  .signin-stage,
  .signin-calendar-shell,
  .signin-milestone-card,
  .signin-special-card
) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--sticker-border);
  border-radius: var(--sticker-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.996), rgba(251, 253, 255, 0.98));
  box-shadow: var(--sticker-shadow);
  background-clip: padding-box;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    filter 0.18s ease;
}

:is(
  .card,
  .hero-banner,
  .hero-stat,
  .task-card,
  .gift-card,
  .ranking-card,
  .panel,
  .detail-hero,
  .detail-section,
  .mine-menu-card,
  .app-state-card,
  .task-alert,
  .command-card,
  .quick-card,
  .banner-strip,
  .share-result,
  .completed-task-card,
  .reward-card,
  .signin-panel,
  .signin-banner-strip,
  .signin-insight-card,
  .signin-guidance,
  .signin-guidance-item,
  .signin-stage,
  .signin-calendar-shell,
  .signin-milestone-card,
  .signin-special-card
):hover {
  transform: translateY(-2px) rotate(-0.12deg);
  border-color: rgba(255, 197, 104, 0.22);
  box-shadow:
    0 4px 0 rgba(15, 23, 42, 0.03),
    0 18px 34px rgba(15, 23, 42, 0.1),
    0 3px 0 rgba(15, 23, 42, 0.02);
}

:is(
  .card,
  .hero-banner,
  .hero-stat,
  .task-card,
  .gift-card,
  .ranking-card,
  .panel,
  .detail-hero,
  .detail-section,
  .mine-menu-card,
  .app-state-card,
  .task-alert,
  .command-card,
  .quick-card,
  .banner-strip,
  .completed-task-card,
  .reward-card,
  .signin-panel,
  .signin-banner-strip,
  .signin-insight-card,
  .signin-guidance,
  .signin-guidance-item,
  .signin-stage,
  .signin-calendar-shell,
  .signin-milestone-card,
  .signin-special-card
):active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 10px 20px rgba(15, 23, 42, 0.06),
    0 2px 0 rgba(15, 23, 42, 0.02);
}

.quick-grid {
  overflow: hidden;
  gap: 0;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: var(--sticker-radius-lg);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.04),
    0 10px 22px rgba(15, 23, 42, 0.07);
}

.quick-grid > .quick-card {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.quick-grid > .quick-card:first-child {
  border-right: 1px solid rgba(15, 23, 42, 0.16);
}

.quick-grid > .quick-card:hover,
.quick-grid > .quick-card:active {
  transform: none;
  border-color: transparent;
  box-shadow: none;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.task-toggle {
  width: min(246px, 100%);
  justify-self: start;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  background: #fff;
}

.task-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 34px;
  padding: 7px 12px;
  border: 0;
  border-radius: 0;
  text-align: center;
  white-space: nowrap;
  background: transparent;
  box-shadow: none;
}

.task-toggle-btn + .task-toggle-btn {
  border-left: 1px solid rgba(15, 23, 42, 0.12);
}

.task-toggle-btn::after {
  display: none;
}

.task-toggle-btn span,
.task-toggle-btn strong {
  display: inline;
  margin: 0;
  line-height: 1;
}

.task-toggle-btn span {
  font-size: 12px;
  color: var(--soft-ink);
}

.task-toggle-btn strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.task-toggle-btn.active {
  color: #125dbd;
  border-color: transparent;
  background: #eaf3ff;
  box-shadow: none;
}

.task-toggle-btn.active span,
.task-toggle-btn.active strong {
  color: #125dbd;
}

@media (max-width: 360px) {
  .task-toggle {
    width: min(224px, 100%);
  }

  .task-toggle-btn {
    gap: 4px;
    padding-inline: 9px;
  }

  .task-toggle-btn span {
    font-size: 11px;
  }

  .task-toggle-btn strong {
    font-size: 12px;
  }
}
