/* Generated from the original miniapp. Edit ui/web.css for browser adaptations. */

/* app.wxss */


body {
  min-height: 100%;
  background: #f2f5f1;
  color: #13231d;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: calc(28 * var(--rpx));
  letter-spacing: 0;
}

button,
input,
span,
div {
  box-sizing: border-box;
}

button::after {
  border: 0;
}

.page {
  min-height: 100vh;
  padding-bottom: calc(calc(36 * var(--rpx)) + env(safe-area-inset-bottom));
}

.page.image-actions-page {
  padding-bottom: 0;
}

.image-page-scroll {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.image-page-scroll.with-toolbar {
  top: calc(82 * var(--rpx));
}

.notice-pending .buffered-image-stage {
  filter: blur(8px);
  pointer-events: none;
}

.image-actions {
  position: relative;
  width: 100%;
  height: calc(88 * var(--rpx));
  padding: calc(10 * var(--rpx)) calc(24 * var(--rpx)) calc(12 * var(--rpx));
  display: flex;
  align-items: center;
  gap: calc(16 * var(--rpx));
  background: #f4f1e8;
  border-top: calc(1 * var(--rpx)) solid #ddd7ca;
}

.buffered-image-stage {
  position: relative;
  width: 100%;
  /* Hidden decoded images must not extend scrolling beyond the current image. */
  overflow: hidden;
}

.buffered-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  visibility: hidden;
  pointer-events: none;
}

.buffered-image.is-front {
  visibility: visible;
  pointer-events: auto;
}

.image-date-navigation {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: calc(82 * var(--rpx));
  padding: calc(10 * var(--rpx)) calc(12 * var(--rpx));
  display: grid;
  grid-template-columns: calc(152 * var(--rpx)) minmax(0, 1fr) calc(152 * var(--rpx));
  align-items: center;
  gap: calc(10 * var(--rpx));
  background: #ffffff;
  border-bottom: calc(1 * var(--rpx)) solid #d9dfdb;
}

.image-date-navigation-spacer {
  width: 100%;
  height: calc(82 * var(--rpx));
}

.image-date-navigation button {
  width: calc(152 * var(--rpx));
  height: calc(62 * var(--rpx));
  min-height: calc(62 * var(--rpx));
  margin: 0;
  padding: 0 calc(10 * var(--rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2e26;
  background: #f4f7f5;
  border: calc(1 * var(--rpx)) solid #cbd7d1;
  border-radius: calc(5 * var(--rpx));
  font-size: calc(23 * var(--rpx));
  font-weight: 750;
  line-height: 1;
}

.date-nav-arrow {
  margin: 0 calc(4 * var(--rpx));
  font-size: calc(26 * var(--rpx));
  font-weight: 900;
  line-height: 1;
}

.image-date-navigation button::after {
  border: 0;
}

.image-date-navigation button[disabled] {
  color: #9aa49f;
  background: #f0f2f1;
}

.image-date-picker {
  min-width: 0;
  width: 100%;
}

.image-date-current {
  min-width: 0;
  height: calc(62 * var(--rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  border: calc(1 * var(--rpx)) solid transparent;
  border-radius: calc(5 * var(--rpx));
  font-size: calc(26 * var(--rpx));
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.image-date-current.is-today {
  color: #a92e3c;
  background: #fbe8e9;
  border-color: #e6acb4;
}

.image-date-current.is-other {
  color: #3f4945;
  background: #f4f6f5;
  border-color: #cfd6d2;
}

.image-date-current.is-loading {
  opacity: 0.72;
}

.image-date-arrow {
  margin-left: calc(12 * var(--rpx));
  color: #d8af4b;
  font-size: calc(30 * var(--rpx));
  line-height: 1;
}

.image-actions button,
.image-actions .image-action-ticket {
  box-sizing: border-box;
  width: 0;
  min-width: 0;
  height: calc(64 * var(--rpx));
  min-height: calc(64 * var(--rpx));
  margin: 0;
  padding: 0 calc(10 * var(--rpx));
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(6 * var(--rpx));
  font-size: calc(25 * var(--rpx));
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transform: translateY(calc(-4 * var(--rpx)));
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.image-actions button::after {
  border: 0;
}

.image-action-icon {
  width: calc(30 * var(--rpx));
  height: calc(30 * var(--rpx));
  margin-right: calc(8 * var(--rpx));
  flex: none;
  display: block;
}

.image-action-ticket .image-action-icon {
  width: calc(38 * var(--rpx));
  height: calc(38 * var(--rpx));
  margin-right: calc(6 * var(--rpx));
}

.image-actions span {
  flex: none;
}

.image-action-save {
  color: #0b2e26;
  background: linear-gradient(180deg, #ffffff 0%, #e6eee9 100%);
  border: calc(2 * var(--rpx)) solid #9aafa2;
  box-shadow: 0 calc(7 * var(--rpx)) 0 #7c9587, 0 calc(12 * var(--rpx)) calc(18 * var(--rpx)) rgba(50, 80, 64, 0.18), inset 0 calc(2 * var(--rpx)) 0 #ffffff;
  text-shadow: 0 calc(1 * var(--rpx)) 0 rgba(255, 255, 255, 0.8);
}

.image-action-share {
  color: #ffffff;
  background: linear-gradient(180deg, #26976f 0%, #147554 100%);
  border: calc(2 * var(--rpx)) solid #12674a;
  box-shadow: 0 calc(7 * var(--rpx)) 0 #0b4c37, 0 calc(12 * var(--rpx)) calc(18 * var(--rpx)) rgba(11, 76, 55, 0.23), inset 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.28);
  text-shadow: 0 calc(2 * var(--rpx)) calc(1 * var(--rpx)) rgba(5, 55, 37, 0.25);
}

.image-actions .image-action-save-pressed {
  box-shadow: 0 calc(1 * var(--rpx)) 0 #7c9587, 0 calc(4 * var(--rpx)) calc(8 * var(--rpx)) rgba(50, 80, 64, 0.14), inset 0 calc(2 * var(--rpx)) 0 #ffffff;
  transform: translateY(calc(2 * var(--rpx)));
}

.image-actions .image-action-share-pressed {
  box-shadow: 0 calc(1 * var(--rpx)) 0 #0b4c37, 0 calc(4 * var(--rpx)) calc(8 * var(--rpx)) rgba(11, 76, 55, 0.18), inset 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.18);
  transform: translateY(calc(2 * var(--rpx)));
}

.image-actions .image-action-ticket {
  flex-grow: 1.1;
  color: #ffffff;
  background: linear-gradient(180deg, #ef5650 0%, #d82f34 100%);
  border: calc(2 * var(--rpx)) solid #c42d34;
  box-shadow: 0 calc(7 * var(--rpx)) 0 #931f29, 0 calc(12 * var(--rpx)) calc(18 * var(--rpx)) rgba(153, 31, 41, 0.23), inset 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.28);
  font-size: calc(27 * var(--rpx));
  letter-spacing: calc(1 * var(--rpx));
  text-shadow: 0 calc(2 * var(--rpx)) calc(1 * var(--rpx)) rgba(103, 12, 20, 0.25);
}

.image-actions .image-action-ticket-pressed {
  box-shadow: 0 calc(1 * var(--rpx)) 0 #931f29, 0 calc(4 * var(--rpx)) calc(8 * var(--rpx)) rgba(153, 31, 41, 0.18), inset 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.18);
  transform: translateY(calc(2 * var(--rpx)));
}

.brand-band {
  position: relative;
  overflow: hidden;
  padding: calc(34 * var(--rpx)) calc(30 * var(--rpx)) calc(32 * var(--rpx));
  background: #0b2e26;
  color: #ffffff;
}

.brand-band::after {
  content: "";
  position: absolute;
  right: calc(-70 * var(--rpx));
  bottom: calc(-112 * var(--rpx));
  width: calc(320 * var(--rpx));
  height: calc(220 * var(--rpx));
  border: calc(2 * var(--rpx)) solid rgba(216, 175, 75, 0.38);
  border-radius: 50%;
}

.brand-row,
.section-heading,
.status-row,
.action-row,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: calc(80 * var(--rpx));
  height: calc(80 * var(--rpx));
  margin-right: calc(20 * var(--rpx));
  border: calc(2 * var(--rpx)) solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: #ffffff;
}

.brand-copy {
  min-width: 0;
}

.brand-copy span,
.brand-copy .strong,
.brand-copy .small {
  display: block;
}

.brand-copy .strong {
  font-size: calc(36 * var(--rpx));
  line-height: 1.25;
  font-weight: 700;
}

.brand-copy .small {
  margin-top: calc(5 * var(--rpx));
  color: rgba(255, 255, 255, 0.68);
  font-size: calc(21 * var(--rpx));
}

.source-pill,
.state-pill,
.tag,
.result-badge {
  flex: none;
  border-radius: calc(999 * var(--rpx));
  font-size: calc(21 * var(--rpx));
  line-height: 1;
  font-weight: 600;
}

.source-pill {
  padding: calc(13 * var(--rpx)) calc(17 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(255, 255, 255, 0.25);
  color: #f0d58b;
}

.content-band {
  padding: calc(30 * var(--rpx));
}

.content-band + .content-band {
  padding-top: 0;
}

.panel {
  overflow: hidden;
  border: calc(1 * var(--rpx)) solid #dbe3de;
  border-radius: calc(8 * var(--rpx));
  background: #ffffff;
  box-shadow: 0 calc(8 * var(--rpx)) calc(22 * var(--rpx)) rgba(11, 46, 38, 0.05);
}

.section-heading {
  margin-bottom: calc(22 * var(--rpx));
}

.section-heading div {
  min-width: 0;
}

.section-kicker {
  display: block;
  margin-bottom: calc(7 * var(--rpx));
  color: #16795a;
  font-size: calc(20 * var(--rpx));
  font-weight: 700;
}

.section-title {
  display: block;
  font-size: calc(34 * var(--rpx));
  line-height: 1.3;
  font-weight: 700;
}

.section-note,
.muted {
  color: #6c7a72;
  font-size: calc(23 * var(--rpx));
  line-height: 1.65;
}

.state-pill {
  padding: calc(12 * var(--rpx)) calc(18 * var(--rpx));
  background: #e4f4ec;
  color: #126849;
}

.state-pill.gold {
  background: #fbf1d7;
  color: #8a6213;
}

.state-pill.red {
  background: #fbe9e7;
  color: #aa302a;
}

.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(88 * var(--rpx));
  margin: 0;
  border-radius: calc(6 * var(--rpx));
  font-size: calc(28 * var(--rpx));
  font-weight: 700;
  line-height: 1;
}

.primary-button {
  background: #16795a;
  color: #ffffff;
}

.secondary-button {
  border: calc(1 * var(--rpx)) solid #b9c9c1;
  background: #ffffff;
  color: #164c3d;
}

.safe-note {
  padding: calc(25 * var(--rpx)) calc(30 * var(--rpx));
  border-top: calc(1 * var(--rpx)) solid #e3e9e5;
  background: #f8faf8;
  color: #617068;
  font-size: calc(22 * var(--rpx));
  line-height: 1.7;
  text-align: center;
}




/* styles/prelock-watermark.wxss */
.prelock-stamp {
  position: fixed;
  z-index: 21;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(560 * var(--rpx));
  min-height: calc(390 * var(--rpx));
  padding: calc(24 * var(--rpx)) calc(28 * var(--rpx)) calc(26 * var(--rpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a81920;
  background: rgba(255, 255, 255, 0.88);
  border: calc(4 * var(--rpx)) solid #b31f25;
  box-shadow: 0 calc(10 * var(--rpx)) calc(28 * var(--rpx)) rgba(85, 13, 16, 0.18);
  pointer-events: none;
}

.prelock-title,
.prelock-kicker,
.prelock-countdown,
.prelock-time,
.prelock-contact,
.prelock-wechat {
  width: 100%;
  display: block;
  letter-spacing: 0;
  text-align: center;
  flex: none;
}

.prelock-title {
  font-size: calc(42 * var(--rpx));
  font-weight: 900;
  line-height: calc(58 * var(--rpx));
}

.prelock-kicker {
  margin-top: calc(20 * var(--rpx));
  font-size: calc(24 * var(--rpx));
  font-weight: 700;
  line-height: calc(34 * var(--rpx));
}

.prelock-countdown {
  margin-top: calc(8 * var(--rpx));
  font-size: calc(34 * var(--rpx));
  font-weight: 900;
  line-height: calc(46 * var(--rpx));
}

.prelock-time {
  margin-top: calc(14 * var(--rpx));
  font-size: calc(23 * var(--rpx));
  font-weight: 700;
  line-height: calc(32 * var(--rpx));
}

.prelock-contact {
  margin-top: calc(24 * var(--rpx));
  color: #a81920;
  font-size: calc(31 * var(--rpx));
  font-weight: 900;
  line-height: calc(42 * var(--rpx));
  text-shadow: 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.95), 0 0 calc(14 * var(--rpx)) rgba(255, 255, 255, 0.9);
}

.publishing-stamp {
  position: fixed;
  z-index: 22;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(560 * var(--rpx));
  min-height: calc(224 * var(--rpx));
  padding: calc(28 * var(--rpx)) calc(26 * var(--rpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a81920;
  background: rgba(255, 255, 255, 0.9);
  border: calc(3 * var(--rpx)) solid #b31f25;
  box-shadow: 0 calc(10 * var(--rpx)) calc(28 * var(--rpx)) rgba(85, 13, 16, 0.14);
  pointer-events: none;
}

.publishing-title,
.publishing-subtitle,
.publishing-dots {
  display: block;
  flex: none;
  letter-spacing: 0;
  text-align: center;
}

.publishing-title {
  width: 100%;
  font-size: calc(38 * var(--rpx));
  font-weight: 900;
  line-height: calc(54 * var(--rpx));
}

.publishing-subtitle {
  width: 100%;
  margin-top: calc(8 * var(--rpx));
  font-size: calc(30 * var(--rpx));
  font-weight: 700;
  line-height: calc(42 * var(--rpx));
}

.publishing-dots {
  width: calc(190 * var(--rpx));
  height: calc(50 * var(--rpx));
  margin-top: calc(8 * var(--rpx));
  font-size: calc(38 * var(--rpx));
  font-weight: 900;
  line-height: calc(50 * var(--rpx));
}

.prelock-wechat {
  margin-top: calc(8 * var(--rpx));
  color: #7b151a;
  font-size: calc(27 * var(--rpx));
  font-weight: 850;
  line-height: calc(38 * var(--rpx));
  text-shadow: 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.95), 0 0 calc(14 * var(--rpx)) rgba(255, 255, 255, 0.9);
}


/* styles/daily-view-switch.wxss */
.daily-image-content {
  position: relative;
  min-height: calc(68 * var(--rpx));
}
.daily-view-bar {
  position: fixed;
  z-index: 20;
  top: calc(82 * var(--rpx));
  left: 50%;
  width: calc(288 * var(--rpx));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 250ms ease;
}
.daily-view-bar.is-pulling { transition: none; }
.daily-view-bar.is-hidden { visibility: hidden; }
.daily-view-bar.is-hidden .daily-view-switch,
.daily-view-bar.is-busy .daily-view-switch { pointer-events: none; }
.daily-view-switch {
  position: relative;
  display: flex;
  width: 100%;
  padding: calc(4 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(255, 255, 255, .58);
  border-radius: 0 0 calc(12 * var(--rpx)) calc(12 * var(--rpx));
  background: rgba(235, 241, 236, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 calc(2 * var(--rpx)) calc(8 * var(--rpx)) rgba(16, 43, 24, .12);
  pointer-events: auto;
}
.daily-view-thumb {
  position: absolute;
  top: calc(4 * var(--rpx));
  bottom: calc(4 * var(--rpx));
  left: calc(4 * var(--rpx));
  width: calc(50% - calc(4 * var(--rpx)));
  border-radius: calc(8 * var(--rpx));
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 calc(1 * var(--rpx)) calc(5 * var(--rpx)) rgba(26, 44, 33, .12);
  transform: translateX(0);
  transition: transform 250ms cubic-bezier(.22, .8, .24, 1);
  pointer-events: none;
}
.daily-view-thumb.is-report { transform: translateX(100%); }
.daily-view-switch .daily-view-option {
  position: relative;
  flex: 1;
  min-width: 0;
  height: calc(44 * var(--rpx));
  min-height: calc(44 * var(--rpx));
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(8 * var(--rpx));
  color: #67766e;
  background: transparent;
  font-size: calc(22 * var(--rpx));
  font-weight: 600;
  line-height: calc(44 * var(--rpx));
  white-space: nowrap;
  transition: color 250ms ease;
}
.daily-view-switch .is-selected {
  color: #b72e38;
  font-weight: 800;
}
.daily-view-switch .daily-view-pressed { opacity: .7; }
.daily-view-live-dot {
  position: absolute;
  top: calc(8 * var(--rpx));
  left: calc(10 * var(--rpx));
  width: calc(10 * var(--rpx));
  height: calc(10 * var(--rpx));
  border-radius: 50%;
  background: #e53935;
  box-shadow: 0 0 0 calc(2 * var(--rpx)) rgba(255, 255, 255, .8);
  pointer-events: none;
  animation: daily-live-pulse 2s ease-in-out infinite;
}
@keyframes daily-live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.merged-daily .image-page-scroll.with-toolbar { top: calc(82 * var(--rpx)); }
.theme-night .daily-view-switch { background: rgba(25, 43, 32, .82); border-color: rgba(167, 190, 174, .35); }
.theme-night .daily-view-option { color: #a4b8ab; }
.theme-night .daily-view-thumb { background: rgba(53, 75, 60, .88); }
.theme-night .daily-view-option.is-selected { color: #ff8b92; }


/* styles/content-loading.wxss */
.content-loading {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c7a72;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: calc(30 * var(--rpx));
  line-height: calc(44 * var(--rpx));
  pointer-events: none;
  white-space: nowrap;
  visibility: hidden;
}

.content-loading.is-visible {
  visibility: visible;
}

.content-loading.theme-night { color: #a3b5ab; }

/* The label follows the full message; the dots keep their own fixed space. */
.content-loading-label {
  display: flex;
  align-items: center;
  width: auto;
  height: calc(44 * var(--rpx));
  flex: none;
}

.content-loading-title {
  display: block;
  width: auto;
  height: calc(44 * var(--rpx));
  line-height: calc(44 * var(--rpx));
  flex: none;
}

.content-loading-dots {
  display: block;
  width: calc(36 * var(--rpx));
  height: calc(44 * var(--rpx));
  line-height: calc(44 * var(--rpx));
  margin-left: calc(4 * var(--rpx));
  text-align: left;
  letter-spacing: calc(2 * var(--rpx));
  flex: none;
}


/* pages/main/main.wxss */


.timeline-preview { min-height: 100vh; padding: calc(64 * var(--rpx)) calc(36 * var(--rpx)); box-sizing: border-box; background: #f2f5f1; }
.timeline-card { display: flex; flex-direction: column; align-items: center; padding: calc(64 * var(--rpx)) calc(28 * var(--rpx)); border-radius: calc(28 * var(--rpx)); background: #fff; box-shadow: 0 calc(12 * var(--rpx)) calc(36 * var(--rpx)) rgba(24, 68, 56, .07); }
.timeline-icon { width: calc(104 * var(--rpx)); height: calc(104 * var(--rpx)); margin-bottom: calc(28 * var(--rpx)); }
.timeline-brand { color: #184438; font-size: calc(30 * var(--rpx)); font-weight: 600; }
.timeline-title { margin-top: calc(22 * var(--rpx)); color: #21372b; font-size: calc(46 * var(--rpx)); font-weight: 700; }
.timeline-date { margin-top: calc(16 * var(--rpx)); color: #52685a; font-size: calc(28 * var(--rpx)); }
.timeline-description { margin-top: calc(30 * var(--rpx)); color: #718078; font-size: calc(25 * var(--rpx)); text-align: center; }
.timeline-guide { margin-top: calc(60 * var(--rpx)); color: #184438; font-size: calc(26 * var(--rpx)); line-height: 1.7; text-align: center; }

.main-shell { --main-tab-inset: calc(50px + env(safe-area-inset-bottom)); }
.main-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: var(--main-tab-inset);
  left: 0;
  overflow: hidden;
  /* This containing block preserves the original panel viewport above the tabs. */
  transform: translateZ(0);
  isolation: isolate;
}
.main-panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  /* Keep cached scroll views laid out and their image layers composited.
     display/visibility toggles discard the surface on some phone WebViews. */
  transform: translateZ(0);
}
.main-panel.is-active { z-index: 1; pointer-events: auto; }
.theme-night .main-panel { background: #101b16; }
.daily-entry-loading { position: fixed; inset: 0 0 var(--main-tab-inset); z-index: 22; background: #fff; }
.theme-night .daily-entry-loading { background: #101b16; }
.main-tab-bar {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: var(--main-tab-inset);
  padding-bottom: env(safe-area-inset-bottom);
  border-top: .5px solid #d9dfdb;
  background: #fff;
}
.main-tab-bar .main-tab {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 50px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: #718078;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
  gap: 3px;
}
.main-tab img { display: block; width: 27px; height: 27px; }
.main-tab-bar .main-tab.is-selected { color: #c72f39; }
.theme-night .main-tab-bar { background: #0c1511; border-top-color: #344a3c; }
.theme-night .main-tab { color: #9bafa3; }
.theme-night .main-tab.is-selected { color: #ff7c83; }
.connection-notice {
  position: fixed; z-index: 35; left: 50%;
  bottom: calc(var(--main-tab-inset) + 12px); transform: translateX(-50%);
  max-width: 90%; padding: 7px 13px; border-radius: 16px;
  background: rgba(39, 48, 43, .9); color: #fff;
  font-size: 12px; line-height: 1.4; white-space: nowrap; pointer-events: none;
}


/* pages/today/today.wxss */




.today-page {
  background: #ffffff;
}

.plan-image {
  display: block;
  width: 100%;
}

.plan-image-stage {
  position: relative;
  width: 100%;
}

.today-waiting-stage {
  position: relative;
  width: 100%;
  min-height: calc(100vh - calc(82 * var(--rpx)) - env(safe-area-inset-bottom));
  background: #ffffff;
}

.prelock-empty-surface {
  height: calc(1180 * var(--rpx));
  background: #ffffff;
}

.prelock-cover {
  position: absolute;
  z-index: 2;
  top: calc(210 * var(--rpx));
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(242, 246, 243, 0.28);
  -webkit-backdrop-filter: blur(6px) saturate(0.82);
  backdrop-filter: blur(6px) saturate(0.82);
}

.prelock-cover.empty {
  top: 0;
}

.prelock-cover.is-rasterized {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.today-status-watermark {
  position: fixed;
  z-index: 22;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(560 * var(--rpx));
  min-height: calc(176 * var(--rpx));
  padding: calc(28 * var(--rpx)) calc(26 * var(--rpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #a81920;
  background: rgba(255, 255, 255, 0.9);
  border: calc(3 * var(--rpx)) solid #b31f25;
  box-shadow: 0 calc(10 * var(--rpx)) calc(28 * var(--rpx)) rgba(85, 13, 16, 0.14);
  pointer-events: none;
}

.today-status-watermark.waiting {
  background: #ffffff;
}

.today-status-title {
  width: 100%;
  display: block;
  font-size: calc(38 * var(--rpx));
  font-weight: 900;
  line-height: calc(54 * var(--rpx));
  letter-spacing: 0;
  text-align: center;
}

.today-loading-dots {
  width: calc(190 * var(--rpx));
  height: calc(50 * var(--rpx));
  margin-top: calc(8 * var(--rpx));
  display: block;
  font-size: calc(38 * var(--rpx));
  font-weight: 900;
  line-height: calc(50 * var(--rpx));
  letter-spacing: 0;
  text-align: center;
}

.today-status-subtitle {
  display: block;
  margin-top: calc(10 * var(--rpx));
  color: #6f7771;
  font-size: calc(26 * var(--rpx));
  font-weight: 500;
  line-height: calc(38 * var(--rpx));
  text-align: center;
}



/* pages/report/report.wxss */




.report-page {
  background: #ffffff;
}

.report-empty-message {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  padding: 0 calc(32 * var(--rpx));
  color: #78877e;
  text-align: center;
  font-size: calc(26 * var(--rpx));
  pointer-events: none;
}
.theme-night .report-empty-message { color: #a4b8ab; }

.report-image {
  display: block;
  width: 100%;
}

.report-image-stage {
  position: relative;
  width: 100%;
}

.report-prelock-empty {
  height: calc(1180 * var(--rpx));
  background: linear-gradient(135deg, #eef3ef 0%, #e4ebe7 48%, #f5f2ea 100%);
}

.report-prelock-cover {
  position: absolute;
  z-index: 3;
  top: calc(210 * var(--rpx));
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(238, 243, 239, 0.34);
  backdrop-filter: blur(7px);
  pointer-events: none;
}

.report-live-colon-mask {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: report-live-colon-blink 1s steps(1, end) infinite;
}

.report-goal-highlight {
  position: absolute;
  z-index: 2;
  border-radius: calc(5 * var(--rpx));
  background: rgba(229, 43, 58, 0.46);
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: report-goal-pulse 1s ease-in-out 8;
}

.report-live-cover, .report-live-text {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.report-live-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Arial Black", Arial, "Microsoft YaHei", sans-serif;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.report-score-digit, .report-score-colon {
  position: relative;
  flex: 0 0 auto;
  height: 1em;
  overflow: hidden;
}
.report-score-digit { width: .7em; }
.report-score-colon { margin: 0 calc(.765306 * var(--rpx)); }
.report-score-glyph { position: absolute; top: 0; width: 7.7em; height: 1em; }
.report-score-preload { position: fixed; left: -10000px; top: -10000px; width: 1px; height: 1px; pointer-events: none; }
.report-live-colon { animation: report-score-colon 1s steps(1, end) infinite; }
@keyframes report-score-colon {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: .12; }
}

@keyframes report-goal-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.12; }
}

.report-save-canvas {
  position: fixed;
  left: -20000px;
  top: -20000px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@keyframes report-live-colon-blink {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}


/* pages/history/history.wxss */
.history-page {
  width: 100%;
  min-height: 100vh;
  padding: 0 0 calc(calc(24 * var(--rpx)) + env(safe-area-inset-bottom));
  overflow-x: hidden;
  background: #f4f1e8;
}

.history-strategy-tabs {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: calc(68 * var(--rpx));
  padding: calc(7 * var(--rpx)) calc(6 * var(--rpx));
  display: flex;
  align-items: center;
  gap: calc(5 * var(--rpx));
  background: #ffffff;
  border-bottom: calc(1 * var(--rpx)) solid #d9dfdb;
}

.history-strategy-tabs-spacer {
  width: 100%;
  height: calc(68 * var(--rpx));
}

.history-page .image-page-scroll.with-toolbar {
  top: calc(68 * var(--rpx));
}

.history-strategy-tab {
  position: relative;
  width: 0;
  min-width: 0;
  height: calc(52 * var(--rpx));
  min-height: calc(52 * var(--rpx));
  margin: 0;
  padding: 0 calc(2 * var(--rpx));
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2e26;
  background: #f4f7f5;
  border: calc(1 * var(--rpx)) solid #cbd7d1;
  border-radius: calc(5 * var(--rpx));
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: calc(20 * var(--rpx));
  font-weight: 750;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 calc(3 * var(--rpx)) 0 #d4dfd9, inset 0 calc(2 * var(--rpx)) 0 rgba(255, 255, 255, 0.9);
  transform: translateY(calc(-1 * var(--rpx)));
  transition: transform 100ms ease, box-shadow 100ms ease, background 120ms ease;
}

.history-strategy-tab::after {
  border: 0;
}

.history-strategy-tab.active {
  color: #12623f;
  background: linear-gradient(180deg, #d5ebde 0%, #e2f3e9 100%);
  border-color: #79b792;
  font-weight: 850;
  box-shadow: inset 0 calc(3 * var(--rpx)) calc(5 * var(--rpx)) rgba(18, 80, 48, 0.17), inset 0 calc(-1 * var(--rpx)) 0 rgba(255, 255, 255, 0.65);
  transform: translateY(calc(1 * var(--rpx)));
}

.history-strategy-tab.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(6 * var(--rpx));
  width: calc(26 * var(--rpx));
  height: calc(3 * var(--rpx));
  border-radius: calc(3 * var(--rpx));
  background: currentColor;
  transform: translateX(-50%);
}

.history-strategy-tab.history-strategy-tab-pressed {
  transform: translateY(calc(2 * var(--rpx)));
  box-shadow: inset 0 calc(4 * var(--rpx)) calc(6 * var(--rpx)) rgba(18, 80, 48, 0.2), inset 0 calc(-1 * var(--rpx)) 0 rgba(255, 255, 255, 0.5);
}

.history-category-name {
  display: block;
  max-width: 100%;
  line-height: 1;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.history-image-shell {
  position: relative;
  width: 100%;
  min-height: calc(980 * var(--rpx));
  overflow: hidden;
  background: #f4f1e8;
}

.history-image-layer {
  position: relative;
  width: 100%;
}

.history-detail-image {
  width: 100%;
  height: auto;
  display: block;
}

.history-publication {
  position: absolute;
  left: 5%;
  right: 5%;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #92554d;
  text-align: center;
  line-height: 1.35;
  pointer-events: none;
}

.history-publication-title { font-size: calc(20 * var(--rpx)); font-weight: 700; }
.history-publication-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: calc(4 * var(--rpx)) calc(18 * var(--rpx));
  border: calc(2 * var(--rpx)) solid #b31f25;
  box-sizing: border-box;
}
.history-publication-kicker { margin-top: calc(2 * var(--rpx)); font-size: calc(16 * var(--rpx)); }
.history-publication-clock {
  margin-top: calc(2 * var(--rpx));
  color: #a52f27;
  font-size: calc(26 * var(--rpx));
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: calc(1 * var(--rpx));
}
.history-publication-dots { display: flex; height: calc(22 * var(--rpx)); align-items: center; justify-content: center; }
.history-publication-dot { width: calc(12 * var(--rpx)); font-size: calc(24 * var(--rpx)); opacity: .2; animation: history-publication-dot 1200ms ease-in-out infinite; }
@keyframes history-publication-dot { 0%, 100% { opacity: .2; } 45% { opacity: 1; } }
.theme-night .history-publication { color: #b97e72; }
.theme-night .history-publication-clock { color: #c4877c; }


/* pages/sheets/sheets.wxss */
.sheets-page { position: absolute; inset: 0; background: #f2f5f1; color: #21352b; }
.sheets-search-bar { position: absolute; z-index: 12; top: 0; right: 0; left: 0; height: calc(196 * var(--rpx)); padding: 0; box-sizing: border-box; background: #f2f5f1; border-bottom: calc(1 * var(--rpx)) solid #e0e7e1; }
.sheets-date-navigation { position: relative; box-sizing: border-box; margin-bottom: calc(14 * var(--rpx)); }
.sheets-favorites-titlebar { position: relative; display: flex; align-items: center; justify-content: center; box-sizing: border-box; height: calc(82 * var(--rpx)); margin-bottom: calc(14 * var(--rpx)); border-bottom: calc(1 * var(--rpx)) solid #cfdfd2; background: #e3ede5; color: #315b40; }
.sheets-favorites-title { font-size: calc(28 * var(--rpx)); font-weight: 700; }
.sheets-favorites-titlebar .sheets-favorites-back { position: absolute; top: calc(12 * var(--rpx)); left: calc(12 * var(--rpx)); display: flex; align-items: center; justify-content: center; gap: calc(6 * var(--rpx)); box-sizing: border-box; width: calc(234 * var(--rpx)); height: calc(58 * var(--rpx)); min-height: 0; margin: 0; padding: 0 calc(12 * var(--rpx)); border: calc(1 * var(--rpx)) solid #bfd3c4; border-radius: calc(9 * var(--rpx)); background: #f5f9f5; color: #3a6548; font-size: calc(23 * var(--rpx)); font-weight: 500; line-height: 1; white-space: nowrap; }
.sheets-favorites-back::after { border: 0; }
.sheets-favorites-back-arrow { font-size: calc(34 * var(--rpx)); font-weight: 400; line-height: 1; }
.sheets-favorites-titlebar .sheets-favorites-back-pressed { background: #d5e5d9; }
.sheets-search-tools { display: flex; align-items: center; gap: calc(14 * var(--rpx)); width: calc(100% - calc(48 * var(--rpx))); max-width: calc(702 * var(--rpx)); margin: 0 auto; }
.sheets-search-field { display: flex; flex: 1; min-width: 0; align-items: center; gap: calc(20 * var(--rpx)); height: calc(78 * var(--rpx)); margin: 0; padding: 0 calc(25 * var(--rpx)); box-sizing: border-box; border: calc(1 * var(--rpx)) solid #dbe4dd; border-radius: calc(24 * var(--rpx)); background: #fff; box-shadow: 0 calc(3 * var(--rpx)) calc(10 * var(--rpx)) rgba(30, 57, 39, .035); }
.sheets-search-tools .sheets-favorite-filter { display: flex; flex: none; gap: calc(7 * var(--rpx)); align-items: center; justify-content: center; width: calc(162 * var(--rpx)); height: calc(76 * var(--rpx)); min-height: 0; margin: 0; padding: 0; border: calc(1 * var(--rpx)) solid #dbe4dd; border-radius: calc(19 * var(--rpx)); background: #fff; color: #728278; font-size: calc(23 * var(--rpx)); line-height: 1; }
.sheets-favorite-filter::after, .sheet-favorite::after { border: 0; }
.sheets-filter-star { font-size: calc(32 * var(--rpx)); }
.sheets-search-tools .sheets-favorite-filter.is-selected { color: #9d6c16; border-color: #e7d4a6; background: #fff7e5; }
.sheets-search-icon { position: relative; flex-shrink: 0; width: calc(24 * var(--rpx)); height: calc(24 * var(--rpx)); margin-right: calc(3 * var(--rpx)); border: calc(3 * var(--rpx)) solid #91a195; border-radius: 50%; }
.sheets-search-icon::after { content: ""; position: absolute; right: calc(-10 * var(--rpx)); bottom: calc(-5 * var(--rpx)); width: calc(13 * var(--rpx)); height: calc(3 * var(--rpx)); border-radius: calc(3 * var(--rpx)); background: #91a195; transform: rotate(45deg); }
.sheets-search-input { flex: 1; min-width: 0; height: calc(76 * var(--rpx)); color: #21352b; font-size: calc(28 * var(--rpx)); }
.sheets-search-placeholder { color: #9aa69e; }
.sheets-search-field .sheets-search-clear { flex-shrink: 0; width: calc(48 * var(--rpx)); height: calc(48 * var(--rpx)); min-height: 0; margin: 0 calc(-9 * var(--rpx)) 0 0; padding: 0; border-radius: 50%; background: #eef2ef; color: #8a9a8f; font-size: calc(32 * var(--rpx)); font-weight: 400; line-height: calc(44 * var(--rpx)); }
.sheets-list-viewport { position: absolute; top: calc(196 * var(--rpx)); right: 0; bottom: 0; left: 0; }
.sheets-content { padding: 0 calc(20 * var(--rpx)) calc(118 * var(--rpx)); }
.sheets-contact-dock { position: absolute; z-index: 15; right: 0; bottom: calc(22 * var(--rpx)); width: calc(64 * var(--rpx)); height: calc(76 * var(--rpx)); transition: width 280ms cubic-bezier(.22,.8,.24,1); }
.sheets-contact-dock.is-expanded { width: calc(218 * var(--rpx)); }
.sheets-contact-dock .sheets-contact-button {
  position: relative; display: flex; align-items: center; justify-content: flex-start;
  width: 100%; height: calc(76 * var(--rpx)); min-height: 0; margin: 0; padding: 0 calc(18 * var(--rpx)); overflow: hidden;
  border: calc(1 * var(--rpx)) solid rgba(255,255,255,.2); border-right: 0; border-radius: calc(40 * var(--rpx)) 0 0 calc(40 * var(--rpx));
  background: #c6474e;
  color: #fff;
  box-shadow: 0 calc(4 * var(--rpx)) calc(14 * var(--rpx)) rgba(131,39,48,.18);
  font-size: calc(25 * var(--rpx)); font-weight: 600; line-height: 1; white-space: nowrap;
  transition: transform 120ms ease, background-color 120ms ease, box-shadow 120ms ease;
}
.sheets-contact-button::after { border: 0; }
.sheets-contact-peek { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-left: calc(5 * var(--rpx)); pointer-events: none; opacity: 1; transition: opacity 120ms ease; }
.sheets-contact-peek-icon { display: block; flex: none; width: calc(44 * var(--rpx)); height: calc(44 * var(--rpx)); }
.sheets-contact-content { flex: none; display: flex; align-items: center; justify-content: center; width: calc(180 * var(--rpx)); opacity: 0; transform: translateX(calc(10 * var(--rpx))); pointer-events: none; transition: opacity 180ms ease, transform 280ms cubic-bezier(.22,.8,.24,1); }
.is-expanded .sheets-contact-peek { opacity: 0; }
.is-expanded .sheets-contact-content { opacity: 1; transform: translateX(0); }
.sheets-contact-icon { display: block; flex: none; width: calc(38 * var(--rpx)); height: calc(38 * var(--rpx)); margin-right: calc(6 * var(--rpx)); }
.sheets-contact-dock .sheets-contact-button-pressed { background: #b53b43; box-shadow: 0 calc(2 * var(--rpx)) calc(6 * var(--rpx)) rgba(131,39,48,.16); }
.sheets-page .sheets-back-top { position: absolute; z-index: 15; left: calc(24 * var(--rpx)); bottom: calc(22 * var(--rpx)); display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--rpx)); width: calc(180 * var(--rpx)); height: calc(64 * var(--rpx)); min-height: 0; margin: 0; padding: 0 calc(16 * var(--rpx)); border: calc(1 * var(--rpx)) solid #cad8ce; border-radius: calc(34 * var(--rpx)); color: #315942; background: #fff; box-shadow: 0 calc(4 * var(--rpx)) calc(14 * var(--rpx)) rgba(25,57,38,.12); font-size: calc(24 * var(--rpx)); font-weight: 600; line-height: 1; }
.sheets-back-top::after { border: 0; }
.sheets-back-top-arrow { font-size: calc(32 * var(--rpx)); font-weight: 400; }
.sheets-page .sheets-back-top-pressed { background: #edf3ee; }
.sheets-search-clear::after { border: 0; }
.sheets-summary { min-height: calc(80 * var(--rpx)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(8 * var(--rpx)) calc(12 * var(--rpx)); color: #687b6f; font-size: calc(23 * var(--rpx)); line-height: 1.5; }
.summary-count { color: #254735; font-size: calc(29 * var(--rpx)); font-weight: 750; }
.sheet-section { margin-bottom: calc(14 * var(--rpx)); overflow: hidden; border: calc(1 * var(--rpx)) solid #dde5df; border-radius: calc(12 * var(--rpx)); background: #fff; box-shadow: 0 calc(3 * var(--rpx)) calc(8 * var(--rpx)) rgba(23, 56, 37, .025); }
.sheet-section.is-expanded { border-color: #aabfb1; }
.sheet-heading-row { display: flex; align-items: stretch; }
.sheet-heading-row .sheet-favorite { position: relative; display: flex; flex-direction: column; flex: none; gap: calc(5 * var(--rpx)); align-items: center; justify-content: center; width: calc(78 * var(--rpx)); min-height: calc(110 * var(--rpx)); height: auto; margin: 0; padding: calc(10 * var(--rpx)) calc(7 * var(--rpx)); background: transparent; color: #9ca99f; border-radius: 0; line-height: 1; }
.sheet-favorite::before { content: ""; position: absolute; top: calc(24 * var(--rpx)); bottom: calc(24 * var(--rpx)); left: 0; width: calc(1 * var(--rpx)); background: #e2e8e3; }
.sheet-favorite-star { font-size: calc(37 * var(--rpx)); }
.sheet-favorite-label { font-size: calc(19 * var(--rpx)); font-weight: 400; }
.sheet-heading-row .sheet-favorite.is-favorite { color: #d7a033; }
.sheet-heading-row .sheet-favorite-pressed { background: #f6f3e9; }
.sheet-favorite-pending { position: absolute; right: calc(14 * var(--rpx)); top: calc(23 * var(--rpx)); width: calc(8 * var(--rpx)); height: calc(8 * var(--rpx)); border-radius: 50%; background: #c96a46; }
.sheet-section .sheet-heading { display: flex; flex: 1; min-width: 0; align-items: center; min-height: calc(110 * var(--rpx)); height: auto; margin: 0; padding: calc(21 * var(--rpx)) calc(16 * var(--rpx)); gap: calc(12 * var(--rpx)); border-radius: 0; background: transparent; color: inherit; text-align: left; line-height: 1.4; }
.sheet-heading-pressed { background: #f1f5f2; }
.sheet-name { position: relative; flex: 1; min-width: 0; padding-left: calc(22 * var(--rpx)); font-size: calc(29 * var(--rpx)); font-weight: 700; overflow-wrap: break-word; }
.sheet-image-count { display: inline-block; margin-left: calc(9 * var(--rpx)); color: #8a978e; font-size: calc(20 * var(--rpx)); font-weight: 400; line-height: 1.2; white-space: nowrap; vertical-align: baseline; }
.sheet-saved-date { display: block; margin-top: calc(5 * var(--rpx)); color: #8a988e; font-size: calc(19 * var(--rpx)); font-weight: 400; }
.sheet-unread-dot { position: absolute; left: 0; top: .5em; width: calc(12 * var(--rpx)); height: calc(12 * var(--rpx)); border-radius: 50%; background: #e44150; box-shadow: 0 0 0 calc(3 * var(--rpx)) rgba(228,65,80,.09); }
.sheet-meta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: calc(6 * var(--rpx)); }
.sheet-status-detail { font-size: calc(18 * var(--rpx)); color: #819087; font-weight: 400; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sheet-status { min-width: calc(112 * var(--rpx)); padding: calc(5 * var(--rpx)) calc(11 * var(--rpx)); border-radius: calc(5 * var(--rpx)); background: #f1f3f2; color: #87938b; font-size: calc(21 * var(--rpx)); font-weight: 500; text-align: center; white-space: nowrap; }
.sheet-status.is-updated { color: #a92e3b; background: #fbe9eb; }
.sheet-status.is-uncertain { color: #987027; background: #fbf1dd; }
.sheet-chevron { width: calc(13 * var(--rpx)); height: calc(13 * var(--rpx)); flex-shrink: 0; margin-left: calc(2 * var(--rpx)); border-right: calc(3 * var(--rpx)) solid #92a098; border-bottom: calc(3 * var(--rpx)) solid #92a098; transform: rotate(45deg) translateY(calc(-3 * var(--rpx))); }
.sheet-chevron.is-open { transform: rotate(225deg) translate(calc(-2 * var(--rpx)), calc(-2 * var(--rpx))); border-color: #41634f; }
.sheet-body { border-top: calc(1 * var(--rpx)) solid #e9eeea; }
.sheet-image-hint { padding: calc(17 * var(--rpx)) calc(23 * var(--rpx)); color: #88958c; font-size: calc(21 * var(--rpx)); text-align: right; }
.sheet-picture { position: relative; min-height: calc(220 * var(--rpx)); margin: 0 calc(10 * var(--rpx)) calc(12 * var(--rpx)); overflow: hidden; background: #f6f7f5; border-radius: calc(4 * var(--rpx)); }
.sheet-picture.is-ready { min-height: 0; }
.sheet-image { display: block; width: 100%; opacity: 0; }
.is-ready .sheet-image { opacity: 1; }
.sheet-picture-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #8b978e; font-size: calc(25 * var(--rpx)); }
.sheet-inline-state { min-height: calc(160 * var(--rpx)); display: flex; align-items: center; justify-content: center; color: #8b978e; font-size: calc(25 * var(--rpx)); }
.sheet-dots { display: inline-flex; width: calc(35 * var(--rpx)); margin-left: calc(5 * var(--rpx)); }
.sheet-dot { animation: sheet-dot 1.2s infinite both; }
.sheet-dot:nth-child(2) { animation-delay: .2s; }
.sheet-dot:nth-child(3) { animation-delay: .4s; }
@keyframes sheet-dot { 0%, 65%, 100% { opacity: .2; } 30% { opacity: 1; } }
.sheet-retry { margin: calc(15 * var(--rpx)); padding: calc(23 * var(--rpx)) calc(12 * var(--rpx)); background: #f6efed; color: #a95153; font-size: calc(24 * var(--rpx)); line-height: 1.5; }
.sheets-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(480 * var(--rpx)); padding: calc(50 * var(--rpx)) calc(20 * var(--rpx)); box-sizing: border-box; text-align: center; color: #85958a; font-size: calc(26 * var(--rpx)); line-height: 1.8; }
.sheets-empty-hint { font-size: calc(23 * var(--rpx)); }
.sheets-favorite-sync { margin: calc(10 * var(--rpx)) 0 calc(18 * var(--rpx)); color: #a37837; font-size: calc(22 * var(--rpx)); line-height: 1.6; text-align: center; }
.sheets-error { padding: calc(24 * var(--rpx)) calc(15 * var(--rpx)); margin: calc(20 * var(--rpx)) 0; border-radius: calc(8 * var(--rpx)); background: #faeeed; color: #a54e50; text-align: center; font-size: calc(24 * var(--rpx)); }
.sheets-footnote { padding: calc(20 * var(--rpx)) calc(6 * var(--rpx)); color: #98a39c; text-align: center; font-size: calc(21 * var(--rpx)); line-height: 1.6; }
.theme-night.sheets-page { background: #101b16; color: #e2ebe5; }
.theme-night .sheets-search-bar { background: #101b16; border-bottom-color: #2d4033; }
.theme-night .sheets-search-field { background: #192a20; border-color: #3a5142; box-shadow: none; }
.theme-night .sheets-search-tools .sheets-favorite-filter { background: #192a20; border-color: #3a5142; color: #a1b1a6; }
.theme-night .sheets-search-tools .sheets-favorite-filter.is-selected { background: #3b3522; color: #e5c279; border-color: #6d5a32; }
.theme-night .sheets-favorites-titlebar { border-bottom-color: #3a5543; background: #223b2b; color: #d0e3d4; }
.theme-night .sheets-favorites-titlebar .sheets-favorites-back { border-color: #4a6854; background: #2c4936; color: #d0e3d4; }
.theme-night .sheets-favorites-titlebar .sheets-favorites-back-pressed { background: #385b43; }
.theme-night .sheet-favorite::before { background: #354b3c; }
.theme-night .sheets-search-input { color: #e2ebe5; }
.theme-night .sheets-search-placeholder { color: #80988a; }
.theme-night .sheets-search-field .sheets-search-clear { color: #a8bcb0; background: #304737; }
.theme-night .sheets-summary, .theme-night .sheet-image-hint { color: #91a698; }
.theme-night .summary-count { color: #d0e3d5; }
.theme-night .sheet-section { background: #192a20; border-color: #304838; box-shadow: none; }
.theme-night .sheet-section.is-expanded { border-color: #597a63; }
.theme-night .sheet-unread-dot { background: #ff6c79; box-shadow: 0 0 0 calc(3 * var(--rpx)) rgba(255,108,121,.12); }
.theme-night .sheet-heading-pressed { background: #213b2b; }
.theme-night .sheet-status { color: #99aca0; background: #24382c; }
.theme-night .sheet-status.is-updated { color: #ffb0b5; background: #513038; }
.theme-night .sheet-status.is-uncertain { color: #e7c787; background: #483e27; }
.theme-night .sheet-status-detail { color: #99aca0; }
.theme-night .sheet-body { border-top-color: #304838; }
.theme-night .sheet-picture { background: #122219; }
.theme-night .sheet-retry, .theme-night .sheets-error { background: #432b2e; color: #ecacac; }
.theme-night .sheets-contact-dock .sheets-contact-button { background: #bb4952; border-color: rgba(255,255,255,.12); box-shadow: 0 calc(4 * var(--rpx)) calc(14 * var(--rpx)) rgba(0,0,0,.24); }
.theme-night .sheets-contact-dock .sheets-contact-button-pressed { background: #a93e47; box-shadow: 0 calc(2 * var(--rpx)) calc(6 * var(--rpx)) rgba(0,0,0,.2); }
.theme-night.sheets-page .sheets-back-top { color: #e0ebe3; background: #243b2c; border-color: #4a6753; box-shadow: 0 calc(4 * var(--rpx)) calc(14 * var(--rpx)) rgba(0,0,0,.2); }
.theme-night.sheets-page .sheets-back-top-pressed { background: #304b39; }


/* components/theme-toggle/theme-toggle.wxss */
.theme-toggle-shell .theme-toggle {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: calc(var(--main-tab-inset, 0px) + calc(112 * var(--rpx)));
  box-sizing: border-box;
  width: calc(60 * var(--rpx));
  height: calc(84 * var(--rpx));
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0 0 0 calc(14 * var(--rpx));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: calc(1 * var(--rpx)) solid rgba(255,255,255,.86);
  border-right: 0;
  border-radius: calc(44 * var(--rpx)) 0 0 calc(44 * var(--rpx));
  background: rgba(244,248,245,.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 calc(6 * var(--rpx)) calc(24 * var(--rpx)) rgba(14,36,25,.14), inset 0 calc(1 * var(--rpx)) 0 #ffffff;
  line-height: 1;
  transition: width 280ms cubic-bezier(.22,.8,.24,1), background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.theme-toggle-shell .theme-toggle.is-expanded { width: calc(168 * var(--rpx)); }
.theme-toggle::after { border: 0; }
.theme-toggle-shell .theme-toggle.is-night {
  border-color: rgba(150,175,159,.24);
  background: rgba(28,43,34,.94);
  box-shadow: 0 calc(6 * var(--rpx)) calc(24 * var(--rpx)) rgba(0,0,0,.24), inset 0 calc(1 * var(--rpx)) 0 rgba(255,255,255,.08);
}

.theme-peek {
  position: absolute;
  top: calc(25 * var(--rpx));
  left: calc(20 * var(--rpx));
  width: calc(32 * var(--rpx));
  height: calc(32 * var(--rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b58b37;
  pointer-events: none;
  opacity: 1;
  transition: opacity 120ms ease;
}
.is-night .theme-peek { color: #d5e5dc; }
.is-expanded .theme-peek { opacity: 0; }

.theme-track {
  position: relative;
  flex: none;
  width: calc(136 * var(--rpx));
  height: calc(64 * var(--rpx));
  border-radius: calc(34 * var(--rpx));
  background: #dce5df;
  box-shadow: inset 0 calc(1 * var(--rpx)) calc(4 * var(--rpx)) rgba(22,45,31,.12);
  opacity: 0;
  transform: translateX(calc(12 * var(--rpx)));
  transition: opacity 180ms ease, transform 280ms cubic-bezier(.22,.8,.24,1), background-color 260ms ease;
}
.is-expanded .theme-track { opacity: 1; transform: translateX(0); }
.is-night .theme-track { background: #466354; }
.is-expanded.theme-toggle-pressed .theme-track { opacity: .84; }

.theme-thumb {
  position: absolute;
  top: calc(6 * var(--rpx));
  left: calc(6 * var(--rpx));
  width: calc(52 * var(--rpx));
  height: calc(52 * var(--rpx));
  border-radius: 50%;
  background: linear-gradient(160deg,#ffffff,#f3f6f4);
  box-shadow: 0 calc(3 * var(--rpx)) calc(8 * var(--rpx)) rgba(20,39,27,.19), 0 calc(1 * var(--rpx)) calc(2 * var(--rpx)) rgba(20,39,27,.1);
  transform: translateX(0);
  transition: transform 280ms cubic-bezier(.22,.8,.24,1), box-shadow 280ms ease;
}
.is-night .theme-thumb {
  transform: translateX(calc(72 * var(--rpx)));
  box-shadow: 0 calc(3 * var(--rpx)) calc(9 * var(--rpx)) rgba(0,0,0,.25), 0 calc(1 * var(--rpx)) calc(2 * var(--rpx)) rgba(0,0,0,.14);
}

.track-symbol,
.thumb-symbol {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(52 * var(--rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.track-symbol { color: #7d9285; }
.track-sun { left: calc(6 * var(--rpx)); }
.track-moon { right: calc(6 * var(--rpx)); }
.is-night .track-symbol { color: #bed1c4; }
.thumb-symbol { left: 0; transition: opacity 180ms ease, transform 280ms ease; }
.thumb-sun { color: #b58b37; opacity: 1; transform: rotate(0); }
.thumb-moon { color: #b0bfb5; opacity: 0; transform: rotate(-30deg); }
.is-night .thumb-sun { opacity: 0; transform: rotate(45deg); }
.is-night .thumb-moon { opacity: 1; transform: rotate(0); }

.theme-moon {
  position: relative;
  width: calc(28 * var(--rpx));
  height: calc(28 * var(--rpx));
  overflow: hidden;
}
.theme-moon::before {
  content: "";
  position: absolute;
  top: calc(-3 * var(--rpx));
  left: calc(10 * var(--rpx));
  width: calc(26 * var(--rpx));
  height: calc(26 * var(--rpx));
  border-radius: 50%;
  box-shadow: calc(-8 * var(--rpx)) calc(5 * var(--rpx)) 0 0 currentColor;
}
.theme-sun { display: block; width: calc(30 * var(--rpx)); height: calc(30 * var(--rpx)); flex: none; }


/* components/contact-popup/contact-popup.wxss */
.contact-popup,
.contact-popup-mask,
.contact-popup-panel,
.contact-popup-close,
.contact-popup-promise,
.contact-popup-promise-title,
.contact-popup-promise-detail,
.contact-popup-promise-strong,
.contact-popup-hint,
.contact-popup-wechat,
.contact-popup-actions,
.contact-popup-copy,
.contact-popup-save {
  box-sizing: border-box;
}

.contact-popup {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-popup-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8, 25, 19, 0.64);
}

.contact-popup-panel {
  position: relative;
  width: calc(620 * var(--rpx));
  max-width: calc(100vw - calc(48 * var(--rpx)));
  max-height: calc(100vh - var(--main-tab-inset, 0px) - calc(40 * var(--rpx)));
  padding: calc(24 * var(--rpx));
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: calc(18 * var(--rpx));
  background: #ffffff;
  box-shadow: 0 calc(20 * var(--rpx)) calc(60 * var(--rpx)) rgba(0, 0, 0, 0.2);
}

.contact-popup-panel .contact-popup-close {
  position: absolute;
  z-index: 1;
  top: calc(8 * var(--rpx));
  right: calc(8 * var(--rpx));
  width: calc(56 * var(--rpx));
  height: calc(56 * var(--rpx));
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #6c7a72;
  background: #f1f4f2;
  font-family: Arial, sans-serif;
  font-size: calc(38 * var(--rpx));
  line-height: 1;
}

.contact-popup-close::after,
.contact-popup-copy::after,
.contact-popup-save::after {
  border: 0;
}

.contact-popup-image {
  display: block;
  flex: none;
  width: 100%;
  height: calc(600 * var(--rpx));
  max-height: calc(100vh - var(--main-tab-inset, 0px) - calc(390 * var(--rpx)));
}

.contact-popup-promise {
  flex: none;
  width: 100%;
  margin-top: calc(4 * var(--rpx));
  padding: calc(8 * var(--rpx)) calc(12 * var(--rpx));
  border: calc(1 * var(--rpx)) solid #f2d5d1;
  border-radius: calc(10 * var(--rpx));
  background: #fff3f0;
  color: #ad3340;
  text-align: center;
}

.contact-popup-promise-title,
.contact-popup-promise-detail,
.contact-popup-promise-strong { display: block; font-size: calc(28 * var(--rpx)); font-weight: 800; line-height: calc(38 * var(--rpx)); }

.contact-popup-hint,
.contact-popup-wechat {
  display: block;
  flex: none;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.contact-popup-hint {
  margin-top: calc(8 * var(--rpx));
  color: #748078;
  font-size: calc(22 * var(--rpx));
  line-height: calc(32 * var(--rpx));
}

.contact-popup-wechat {
  margin-top: calc(6 * var(--rpx));
  color: #0b2e26;
  font-size: calc(24 * var(--rpx));
  font-weight: 700;
  line-height: calc(34 * var(--rpx));
}

.contact-popup-actions {
  display: flex;
  flex: none;
  gap: calc(14 * var(--rpx));
  width: 100%;
  margin-top: calc(18 * var(--rpx));
}

.contact-popup-actions .contact-popup-copy,
.contact-popup-actions .contact-popup-save {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: calc(68 * var(--rpx));
  margin: 0;
  padding: 0 calc(8 * var(--rpx));
  border-radius: calc(8 * var(--rpx));
  font-size: calc(25 * var(--rpx));
  font-weight: 700;
  line-height: 1;
}

.contact-popup-copy {
  border: calc(1 * var(--rpx)) solid #12674a;
  color: #ffffff;
  background: linear-gradient(180deg, #228c67, #147554);
}

.contact-popup-save {
  border: calc(1 * var(--rpx)) solid #b9c9c1;
  color: #164c3d;
  background: #f3f7f4;
}

.contact-popup-button-pressed,
.contact-popup-close-pressed {
  opacity: 0.72;
}

.theme-night .contact-popup-panel { color: #e2ebe5; background: #192c20; border: calc(1 * var(--rpx)) solid #47614f; }
.theme-night .contact-popup-panel .contact-popup-close { color: #d4e2d9; background: #304b39; }
.theme-night .contact-popup-promise { color: #ffb6b3; background: #3b292a; border-color: #71504e; }
.theme-night .contact-popup-hint { color: #a2b5a8; }
.theme-night .contact-popup-wechat { color: #dfebe2; }
.theme-night .contact-popup-save { color: #e2ebe5; background: #304b39; border-color: #6a8773; }


/* components/usage-notice/usage-notice.wxss */
.usage-notice,
.usage-notice-mask,
.usage-notice-panel,
.usage-notice-header,
.usage-notice-header-title,
.usage-notice-body,
.usage-notice-copy,
.usage-notice-paragraph,
.usage-notice-footer,
.usage-notice-confirm {
  box-sizing: border-box;
}

.usage-notice {
  position: fixed;
  z-index: 200;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usage-notice-mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(8, 25, 19, .44);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.usage-notice-panel {
  position: relative;
  width: calc(660 * var(--rpx));
  max-width: calc(100% - calc(64 * var(--rpx)));
  max-height: calc(100% - calc(64 * var(--rpx)));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: calc(1 * var(--rpx)) solid rgba(255, 255, 255, .8);
  border-radius: calc(24 * var(--rpx));
  color: #354b40;
  background: #ffffff;
  box-shadow: 0 calc(24 * var(--rpx)) calc(80 * var(--rpx)) rgba(6, 30, 20, .24);
}

.usage-notice-header {
  flex: none;
  padding: calc(32 * var(--rpx)) calc(36 * var(--rpx)) calc(24 * var(--rpx));
  border-bottom: calc(1 * var(--rpx)) solid #e7ede9;
  color: #0b2e26;
  font-size: calc(36 * var(--rpx));
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.usage-notice-body {
  min-height: 0;
  height: calc(620 * var(--rpx));
  max-height: 55vh;
  flex: 0 1 auto;
}

.usage-notice-copy {
  padding: calc(26 * var(--rpx)) calc(36 * var(--rpx)) calc(8 * var(--rpx));
}

.usage-notice-paragraph {
  display: block;
  margin-bottom: calc(20 * var(--rpx));
  font-size: calc(27 * var(--rpx));
  line-height: 1.75;
  text-align: left;
  text-indent: 2em;
  overflow-wrap: break-word;
}

.usage-notice-salutation {
  text-indent: 0;
}

.usage-notice-ending {
  margin-bottom: 0;
}

.usage-notice-footer {
  flex: none;
  padding: calc(24 * var(--rpx)) calc(36 * var(--rpx)) calc(30 * var(--rpx));
}

.usage-notice-footer .usage-notice-confirm {
  width: 100%;
  min-height: calc(84 * var(--rpx));
  margin: 0;
  padding: 0 calc(24 * var(--rpx));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: calc(12 * var(--rpx));
  color: #ffffff;
  background: linear-gradient(180deg, #237e5e, #15583f);
  box-shadow: 0 calc(6 * var(--rpx)) calc(16 * var(--rpx)) rgba(21, 88, 63, .18), inset 0 calc(1 * var(--rpx)) 0 rgba(255, 255, 255, .18);
  font-size: calc(30 * var(--rpx));
  font-weight: 600;
  line-height: 1.4;
}

.usage-notice-confirm::after { border: 0; }
.usage-notice-footer .usage-notice-confirm-pressed { opacity: .86; }
.theme-night .usage-notice-panel { color: #d2ded6; background: #192b20; border-color: #3e5546; }
.theme-night .usage-notice-header { color: #e3eee6; border-bottom-color: #344b3d; }


/* components/pull-refresh/pull-refresh.wxss */


.pull-refresh-scroll {
  width: 100%;
  height: 100%;
}

.pull-refresh-header {
  width: 100vw;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c7a72;
  font-size: calc(26 * var(--rpx));
  line-height: calc(40 * var(--rpx));
}

.theme-night .pull-refresh-header {
  color: #a3b5ab;
}

.pull-refresh-result-icon { margin-right: calc(10 * var(--rpx)); font-weight: 700; }
.pull-refresh-header.result-success { color: #28724e; }
.pull-refresh-header.result-error { color: #a8322b; }
.theme-night .pull-refresh-header.result-success { color: #87c6a3; }
.theme-night .pull-refresh-header.result-error { color: #efaca7; }

.pull-refresh-label,
.pull-refresh-dots {
  display: flex;
  align-items: center;
}

.pull-refresh-dots {
  width: calc(30 * var(--rpx));
  margin-left: calc(6 * var(--rpx));
}

.pull-refresh-dot {
  width: calc(10 * var(--rpx));
  text-align: center;
}

.dot-second,
.dot-third {
  opacity: 0;
}

.is-active .dot-second {
  animation: refresh-second-dot 1.35s steps(1, end) infinite;
}

.is-active .dot-third {
  animation: refresh-third-dot 1.35s steps(1, end) infinite;
}

@keyframes refresh-second-dot {
  0%, 32% { opacity: 0; }
  33%, 100% { opacity: 1; }
}

@keyframes refresh-third-dot {
  0%, 65% { opacity: 0; }
  66%, 100% { opacity: 1; }
}


/* components/sheet-update-notice/sheet-update-notice.wxss */

.sheet-update-notices {
  position: fixed;
  z-index: 81;
  top: calc(18 * var(--rpx));
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transform: translateZ(0);
}
.sheet-update-notice {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: column;
  max-width: calc(100% - calc(48 * var(--rpx)));
  max-width: min(calc(620 * var(--rpx)), calc(100% - calc(48 * var(--rpx))));
  flex: none;
  align-items: center;
  justify-content: center;
  gap: calc(5 * var(--rpx));
  min-height: calc(70 * var(--rpx));
  padding: calc(10 * var(--rpx)) calc(18 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(255,255,255,.28);
  border-radius: calc(15 * var(--rpx));
  color: #fff;
  background: linear-gradient(115deg, #e65b6d 0%, #d13a51 100%);
  box-shadow: 0 calc(8 * var(--rpx)) calc(28 * var(--rpx)) rgba(126,20,42,.23), inset 0 calc(1 * var(--rpx)) 0 rgba(255,255,255,.2);
}
.sheet-update-main { display: flex; align-items: center; justify-content: center; gap: calc(12 * var(--rpx)); }
.sheet-update-names { align-self: stretch; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #fff; font-size: calc(24 * var(--rpx)); line-height: 1.5; text-align: center; }
.sheet-update-favorites { display: flex; align-self: stretch; justify-content: center; min-width: 0; color: #fff5df; font-size: calc(22 * var(--rpx)); line-height: 1.5; white-space: nowrap; }
.sheet-update-favorites-label { flex: none; }
.sheet-update-favorite-names { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.sheet-update-favorite-count { color: #fff36a; font-weight: 800; font-variant-numeric: tabular-nums; }
.sheet-update-message { white-space: nowrap; font-size: calc(26 * var(--rpx)); font-weight: 700; line-height: 1.3; }
.sheet-update-count { color: #fff36a; font-size: calc(30 * var(--rpx)); font-weight: 800; font-variant-numeric: tabular-nums; }
.sheet-update-symbol { flex: none; width: calc(34 * var(--rpx)); height: calc(36 * var(--rpx)); filter: brightness(0) invert(1); opacity: .95; }
.sheet-update-notice.is-entering { animation: sheet-update-enter 320ms cubic-bezier(.16,1,.3,1) both; }
.sheet-update-notice.is-exiting { animation: sheet-update-exit 240ms ease-in both; }
.theme-night .sheet-update-notice { background: linear-gradient(115deg, #b83b50 0%, #98263b 100%); }
@keyframes sheet-update-enter {
  from { opacity: 0; transform: translateY(calc(-100% - calc(24 * var(--rpx)))); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sheet-update-exit {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(calc(-100% - calc(24 * var(--rpx)))); }
}


/* components/goal-notifications/goal-notifications.wxss */

.goal-notices {
  position: fixed;
  z-index: 80;
  right: calc(65 * var(--rpx));
  bottom: calc(var(--main-tab-inset, 0px) + calc(18 * var(--rpx)));
  left: calc(65 * var(--rpx));
  height: 0;
  pointer-events: none;
  transform: translateZ(0);
}
.goal-notice {
  position: absolute;
  right: 0;
  left: 0;
  box-sizing: border-box;
  height: calc(120 * var(--rpx));
  padding: calc(8 * var(--rpx)) calc(16 * var(--rpx)) calc(8 * var(--rpx)) calc(12 * var(--rpx));
  display: flex;
  align-items: center;
  gap: calc(10 * var(--rpx));
  border: calc(1 * var(--rpx)) solid rgba(255,255,255,.24);
  border-radius: calc(16 * var(--rpx));
  background: linear-gradient(115deg, #e65b6d 0%, #d13a51 100%);
  color: #fff;
  box-shadow: 0 calc(8 * var(--rpx)) calc(28 * var(--rpx)) rgba(126,20,42,.24), inset 0 calc(1 * var(--rpx)) 0 rgba(255,255,255,.2);
  transition: bottom 240ms cubic-bezier(.22,.8,.24,1);
  pointer-events: none;
}
.goal-notice.is-entering { animation: goal-notice-enter 320ms cubic-bezier(.16,1,.3,1) both; }
.goal-notice.is-exiting { animation: goal-notice-exit 240ms ease-in both; }
.goal-notice-meta { flex: none; width: calc(72 * var(--rpx)); display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--rpx)); }
.goal-notice-minute { max-width: calc(104 * var(--rpx)); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: calc(20 * var(--rpx)); font-weight: 600; line-height: 1.2; }
.goal-notice-ball { display: block; flex: none; width: calc(48 * var(--rpx)); height: calc(48 * var(--rpx)); overflow: hidden; }
.goal-ball-texture { display: block; width: calc(2928 * var(--rpx)); max-width: none; height: calc(48 * var(--rpx)); }
.goal-ball-texture.is-rolling { animation: goal-ball-roll 2s steps(60, end) both; }
.goal-notice-teams { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: calc(6 * var(--rpx)); }
.goal-notice-team { display: block; box-sizing: border-box; max-width: 100%; height: calc(40 * var(--rpx)); padding: 0 calc(9 * var(--rpx)); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; border-radius: calc(7 * var(--rpx)); font-size: calc(26 * var(--rpx)); font-weight: 500; line-height: calc(40 * var(--rpx)); }
.goal-notice-team.is-highlighted { background: #ab1230; color: #fff; box-shadow: inset 0 0 0 calc(1 * var(--rpx)) rgba(255,255,255,.2); font-size: calc(31 * var(--rpx)); font-weight: 800; }
.goal-notice-event { flex: none; width: calc(104 * var(--rpx)); color: #fff36a; text-align: center; font-size: calc(30 * var(--rpx)); font-weight: 800; line-height: 1.2; }
.goal-notice-scores { flex: none; width: calc(46 * var(--rpx)); padding-left: calc(14 * var(--rpx)); display: flex; flex-direction: column; gap: calc(6 * var(--rpx)); border-left: calc(1 * var(--rpx)) solid rgba(255,255,255,.32); text-align: center; font-family: Arial, sans-serif; font-size: calc(31 * var(--rpx)); font-weight: 600; line-height: calc(40 * var(--rpx)); }
.goal-notice-scores .is-highlighted { color: #fff36a; font-weight: 800; }
.goal-notice.is-cancelled {
  background: linear-gradient(115deg, #e2e5e9 0%, #c3c9d0 100%);
  color: #4d5662;
  border-color: rgba(255,255,255,.65);
  box-shadow: 0 calc(8 * var(--rpx)) calc(28 * var(--rpx)) rgba(39,47,59,.2), inset 0 calc(1 * var(--rpx)) 0 rgba(255,255,255,.6);
}
.is-cancelled .goal-notice-minute { color: #59626e; }
.is-cancelled .goal-notice-ball { filter: grayscale(1); }
.is-cancelled .goal-notice-team.is-highlighted { background: #555d68; }
.is-cancelled .goal-notice-event { color: #2d323b; font-size: calc(26 * var(--rpx)); }
.is-cancelled .goal-notice-scores { border-left-color: rgba(55,65,81,.24); color: #2d323b; font-weight: 600; }
.is-cancelled .goal-notice-scores .is-highlighted { border-radius: calc(6 * var(--rpx)); background: #555d68; color: #fff; font-weight: 800; }
@keyframes goal-notice-enter {
  from { opacity: 0; transform: translateX(calc(-100% - calc(72 * var(--rpx)))); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes goal-notice-exit {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(calc(-48 * var(--rpx))); }
}
@keyframes goal-ball-roll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-2880 * var(--rpx))); }
}


/* styles/theme.wxss */
.page.theme-night { color: #e2ebe5; background: #101b16; }
.theme-night .image-date-navigation,
.theme-night .history-strategy-tabs { background: #15241c; border-bottom-color: #344a3c; }
.theme-night .image-date-navigation button,
.theme-night .image-date-current.is-other,
.theme-night .history-strategy-tab { color: #d4e2d9; background: #21382a; border-color: #45604d; box-shadow: 0 calc(3 * var(--rpx)) 0 #0c1610, inset 0 calc(2 * var(--rpx)) 0 rgba(255,255,255,.06); }
.theme-night .image-date-navigation button[disabled] { color: #708478; background: #1a2a20; }
.theme-night .image-date-current.is-today { color: #762a38; background: #e4bec5; border-color: #bc848f; }
.theme-night .history-strategy-tab.active { color: #c1efd0; background: #2a4b36; border-color: #699e78; box-shadow: inset 0 calc(3 * var(--rpx)) calc(5 * var(--rpx)) rgba(0,0,0,.3); }
.theme-night .history-image-shell,
.theme-night .today-waiting-stage,
.theme-night .prelock-empty-surface { background: #101b16; }
.theme-night .report-prelock-empty { background: linear-gradient(135deg, #1a2b20, #283b2e); }
/* Dim the entire img stage, including live score masks, without changing files. */
.theme-night .buffered-image-stage::after { content: ""; position: absolute; z-index: 8; top: 0; right: 0; bottom: 0; left: 0; background: rgba(5,12,8,.22); pointer-events: none; }
.theme-night .prelock-cover,
.theme-night .report-prelock-cover { background: rgba(24,43,30,.24); }
.theme-night .image-actions { background: #17281e; border-top-color: #344a3c; }
.theme-night .image-action-save { color: #dce9e0; background: linear-gradient(180deg,#3b5443,#293f31); border-color: #718b79; box-shadow: 0 calc(7 * var(--rpx)) 0 #0a150d, 0 calc(12 * var(--rpx)) calc(18 * var(--rpx)) rgba(0,0,0,.2), inset 0 calc(2 * var(--rpx)) 0 rgba(255,255,255,.1); text-shadow: none; }
.theme-night .image-action-save-pressed { transform: translateY(calc(2 * var(--rpx))); box-shadow: 0 calc(1 * var(--rpx)) 0 #0a150d, 0 calc(4 * var(--rpx)) calc(8 * var(--rpx)) rgba(0,0,0,.2); }
.theme-night .prelock-stamp,
.theme-night .publishing-stamp,
.theme-night .today-status-watermark,
.theme-night .today-status-watermark.waiting { color: #ff9b99; background: rgba(26,38,29,.96); border-color: #d86b6d; box-shadow: 0 calc(10 * var(--rpx)) calc(28 * var(--rpx)) rgba(0,0,0,.3); }
.theme-night .prelock-contact,
.theme-night .prelock-wechat { color: #ffb0a9; text-shadow: none; }


/* Browser layout and native API adapters */
:root{--rpx:min(calc(100vw / 750),1px);--main-tab-inset:calc(50px + env(safe-area-inset-bottom));--nav-inset:env(safe-area-inset-top,0px);color-scheme:light}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{font-size:calc(28 * var(--rpx))}button,input,select,a{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:default}input,select{min-width:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #79b792;outline-offset:2px}[hidden]{display:none!important}img{object-fit:contain}p{margin:0}
.app-shell{position:fixed;inset:0;width:100%;max-width:750px;margin:auto;overflow:hidden;background:#fff}
.main-shell{--main-tab-inset:calc(50px + env(safe-area-inset-bottom))}.main-content{position:absolute;top:var(--nav-inset);bottom:var(--main-tab-inset);transform:translateZ(0)}
.main-panel{--page-background:#fff;position:absolute;inset:0;min-height:0;background:var(--page-background)}.main-panel.sheets-page{--page-background:#f2f5f1}.main-panel.history-page{--page-background:#f4f1e8}.theme-night .main-panel{--page-background:#101b16}.main-panel:not(.is-active){pointer-events:none}.main-tab-bar{position:absolute}
.main-panel .panel-toolbar,.main-panel .image-date-navigation,.main-panel .history-strategy-tabs,.main-panel .sheets-search-bar,.main-panel .sheets-favorites-titlebar,.main-panel .pull-refresh-scroll,.main-panel .history-image-shell,.main-panel .daily-image-content,.main-panel .image-actions,.main-panel .content-loading{background:var(--page-background)}
.first-content{position:absolute;inset:calc(82 * var(--rpx)) 0 0;z-index:3;background:#fff;overflow:hidden;pointer-events:none}.first-content.is-history{top:calc(68 * var(--rpx));background:#f4f1e8}.theme-night .first-content{background:#101b16}.first-content>img{display:block;width:100%;height:auto}.image-quality-hint{position:absolute;top:calc(10 * var(--rpx));right:calc(12 * var(--rpx));z-index:4;padding:calc(4 * var(--rpx)) calc(9 * var(--rpx));border-radius:calc(5 * var(--rpx));color:#52685a;background:rgba(255,255,255,.86);font-size:calc(20 * var(--rpx));line-height:1.4;pointer-events:none}.theme-night .image-quality-hint{color:#c4d3ca;background:rgba(18,34,24,.88)}
.image-page-scroll{position:absolute;overflow:hidden}.image-page-scroll.with-toolbar{top:calc(82 * var(--rpx))}.history-page .image-page-scroll.with-toolbar{top:calc(68 * var(--rpx))}
.pull-refresh-scroll{position:relative;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.pull-refresh-scroll::-webkit-scrollbar{display:none}
.scroll-content{position:relative;min-height:100%;will-change:auto}.sheets-list-viewport .scroll-content{min-height:100%}.sheets-search-input,.sheets-search-input:focus-visible{border:0;background:transparent;outline:none;padding:0;font-size:max(16px,calc(28 * var(--rpx)))}.sheets-search-input::placeholder{color:#9aa69e}.theme-night .sheets-search-input::placeholder{color:#80988a}
.date-select{appearance:none;-webkit-appearance:none;position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;font-size:16px}.image-date-picker{position:relative}.date-label{pointer-events:none}
.sheet-name .row-title{display:inline}.sheet-image{height:auto}.sheet-picture.is-ready{min-height:0}.sheets-content{padding-top:0}.sheets-summary>div{white-space:nowrap}.sheet-body img{cursor:zoom-in}.sheet-body .sheet-picture-placeholder{pointer-events:none}
.sheet-meta{align-items:center;justify-content:center;text-align:center}
.sheets-filter-star,.sheet-favorite-star{display:block;flex:none;line-height:0}.sheets-filter-star{width:calc(32 * var(--rpx));height:calc(32 * var(--rpx))}.sheet-favorite-star{position:relative;width:max(30px,calc(64 * var(--rpx)));height:max(30px,calc(64 * var(--rpx)))}.favorite-star-icon{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}.sheet-favorite-star .favorite-star-icon{stroke-width:1.35}.sheet-favorite.is-favorite .favorite-star-icon,.sheets-favorite-filter.is-selected .favorite-star-icon{fill:currentColor}
.sheet-heading-row .sheet-favorite{width:max(44px,calc(90 * var(--rpx)));padding:calc(8 * var(--rpx)) calc(6 * var(--rpx));gap:calc(4 * var(--rpx));color:#84978c}.sheet-favorite-label{font-size:max(10px,calc(19 * var(--rpx)));line-height:1.2}.sheet-favorite-count{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);font-size:max(9px,calc(18 * var(--rpx)));font-weight:600;line-height:1;white-space:nowrap;font-variant-numeric:tabular-nums;letter-spacing:-.3px;color:#546c5c}.sheet-favorite-count.is-compact{font-size:max(8px,calc(16 * var(--rpx)))}.sheet-favorite-count.is-long{font-size:max(7px,calc(14 * var(--rpx)))}.sheet-favorite.is-favorite .sheet-favorite-count{color:#4a350d}.theme-night .sheet-favorite-count{color:#d4e4d8}.theme-night .sheet-heading-row .sheet-favorite:not(.is-favorite){color:#9fb1a5}
.buffered-image-stage{aspect-ratio:var(--image-ratio,1);height:auto;min-height:0}.buffered-image-stage>img.buffered-image{height:auto}.buffered-image-stage.is-prelock{pointer-events:none}.buffered-image-stage .prelock-cover,.buffered-image-stage .report-prelock-cover{backdrop-filter:none;-webkit-backdrop-filter:none}
.history-image-shell{min-height:0}.content-loading{position:absolute;inset:0;width:100%;height:100%;z-index:18}.content-loading-dots{animation:loading-dots 1.35s steps(1,end) infinite}.page-empty{position:absolute;inset:calc(82 * var(--rpx)) 0 0;display:flex;align-items:center;justify-content:center;padding:calc(32 * var(--rpx));color:#78877e;font-size:calc(26 * var(--rpx));text-align:center;line-height:1.8}.history-page .page-empty{top:calc(68 * var(--rpx))}
.sheets-contact-dock .sheets-contact-content img,.image-actions img{object-fit:contain}.theme-toggle-shell .theme-toggle{position:absolute}.theme-toggle-shell .theme-sun{object-fit:contain}.theme-night{color-scheme:dark}
.daily-view-bar{position:absolute}.daily-view-bar.contact-open{visibility:hidden}.prelock-stamp,.publishing-stamp,.today-status-watermark{position:absolute}.prelock-stamp>div{flex:none}.daily-view-live-dot{display:none}.daily-view-bar.has-live .daily-view-live-dot{display:block}
.pull-feedback{position:absolute;top:0;left:0;right:0;z-index:1;height:var(--pull-offset,0px);display:flex;align-items:center;justify-content:center;overflow:hidden;gap:5px;color:#6c7a72;font-size:calc(26 * var(--rpx));line-height:20px;white-space:nowrap;background:var(--page-background);visibility:hidden;pointer-events:none}.pull-feedback.is-visible{visibility:visible}.pull-feedback.success{color:#28724e}.pull-feedback.error{color:#a8322b}.theme-night .pull-feedback{color:#a3b5ab}.pull-refresh-scroll.is-settling>.scroll-content{transition:transform .18s ease-out}.pull-refresh-scroll.is-settling>.pull-feedback{transition:height .18s ease-out}.pull-refresh-scroll.is-pulling,.pull-refresh-scroll.is-settling{overflow-anchor:none}.is-pulling .daily-view-bar{opacity:0;pointer-events:none}
.connection-notice{position:absolute;white-space:normal;text-align:center;z-index:90}.toast{position:absolute;z-index:300;left:50%;bottom:calc(var(--main-tab-inset) + calc(80 * var(--rpx)));transform:translateX(-50%);max-width:85%;padding:calc(18 * var(--rpx)) calc(28 * var(--rpx));border-radius:calc(10 * var(--rpx));background:rgba(30,39,33,.9);color:white;font-size:calc(26 * var(--rpx));line-height:1.5;text-align:center;pointer-events:none}
dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;color:inherit}dialog:not([open]){display:none}dialog::backdrop{background:rgba(8,25,19,.44)}dialog.usage-notice,dialog.contact-popup{width:100%;max-width:750px;height:100%;max-height:100%;background:transparent;overflow:hidden}dialog.usage-notice[open],dialog.contact-popup[open]{display:flex;align-items:center;justify-content:center}dialog.usage-notice::backdrop{backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.usage-notice-panel{max-height:calc(100dvh - calc(64 * var(--rpx)))}.usage-notice-body{overflow:auto;overscroll-behavior:contain}.usage-notice-paragraph{margin-top:0}.usage-notice-panel .usage-notice-header-title{display:block}.contact-popup-panel{max-height:calc(100dvh - calc(40 * var(--rpx)));overflow:auto}.contact-popup-image{object-fit:contain;flex-shrink:0}.contact-popup-panel .contact-popup-image{cursor:zoom-in}.contact-popup-hint,.contact-popup-wechat{display:block}.contact-popup-actions{flex-shrink:0}
.sheet-update-notices{position:absolute;top:calc(var(--nav-inset) + calc(18 * var(--rpx)))}.goal-notices{position:absolute}.report-live-text img{max-width:none}.report-live-text .report-score-glyph{object-fit:fill}
.report-page .buffered-image{cursor:default}.report-page .report-live-colon{animation:none;opacity:1}.report-minute-text{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;pointer-events:none;white-space:pre;font-family:Arial,"Microsoft YaHei",sans-serif;font-weight:800;line-height:1;color:#60766e;font-variant-numeric:tabular-nums}.report-minute-text em{font-style:normal;font-weight:950;color:#b42318}
.viewer{inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;overflow:hidden;background:#000;color:#fff;z-index:310;outline:none}
.viewer[open]{display:block}.viewer::backdrop{background:#000}
.viewer.is-floating{background:transparent;color:#294735}.viewer.is-floating::backdrop{background:rgba(232,239,233,.74);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.viewer.is-floating.theme-night::backdrop{background:rgba(10,22,15,.78)}
.viewer.is-floating .viewer-neighbor{background:transparent}.viewer.is-floating .viewer-canvas img,.viewer.is-floating .viewer-neighbor-image{border-radius:6px;box-shadow:0 6px 24px rgba(25,50,35,.16)}.viewer.is-floating .viewer-position,.viewer.is-floating .viewer-arrow{color:#294735;background:rgba(255,255,255,.9);box-shadow:0 2px 10px rgba(25,50,35,.1)}.viewer.is-floating .viewer-loading,.viewer.is-floating .viewer-neighbor-loading{color:#52695a}.viewer.is-floating.theme-night .viewer-position,.viewer.is-floating.theme-night .viewer-arrow{color:#d8e7dd;background:rgba(25,43,32,.94)}.viewer.is-floating.theme-night .viewer-loading,.viewer.is-floating.theme-night .viewer-neighbor-loading{color:#a3b5ab}
.viewer-scroll,.contact-popup-panel{outline:none}
.viewer-scroll{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x pan-y}
.viewer-scroll:not(.is-zoomed){touch-action:pan-y}
.viewer-neighbor{position:absolute;inset:0;overflow:hidden;background:#000;pointer-events:none;will-change:transform}
.viewer-neighbor-image{position:absolute;left:50%;transform:translateX(-50%);display:block;max-width:none;max-height:none;object-fit:contain}
.viewer-loading,.viewer-neighbor-loading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#aaa;font-size:14px;line-height:22px;white-space:nowrap;pointer-events:none}.viewer-loading{z-index:1}.viewer-loading-dots{display:inline-flex;width:15px;margin-left:2px}.viewer-loading-dots>span{animation:viewer-loading-dot 1.2s ease-in-out infinite}.viewer-loading-dots>span:nth-child(2){animation-delay:.15s}.viewer-loading-dots>span:nth-child(3){animation-delay:.3s}
.viewer-scroll::-webkit-scrollbar{display:none}.viewer-canvas{position:relative;display:flex;align-items:center;justify-content:center;min-width:100%;min-height:100%}
.viewer-canvas img{display:block;flex:none;max-width:none;max-height:none;object-fit:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:default}
.viewer-canvas .viewer-preview{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);pointer-events:none}.viewer-canvas #viewer-image{position:relative;z-index:1}
.viewer-position{position:absolute;z-index:2;top:calc(env(safe-area-inset-top) + 18px);left:50%;transform:translateX(-50%);padding:5px 13px;border-radius:18px;background:rgba(0,0,0,.35);color:#fff;font-size:14px;line-height:20px;pointer-events:none}

.viewer-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:46px;height:64px;background:rgba(0,0,0,.35);border-radius:8px;color:#fff;font-size:36px}.viewer-prev{left:12px}.viewer-next{right:12px}.viewer-arrow:disabled{opacity:.2;pointer-events:none}
@media(pointer:coarse){.viewer-arrow{display:none}}
.share-panel{width:calc(620 * var(--rpx));max-width:90%;padding:calc(36 * var(--rpx));border-radius:calc(18 * var(--rpx));background:#fff;text-align:center}.share-panel p{font-size:calc(26 * var(--rpx));margin:calc(20 * var(--rpx)) 0;line-height:1.7}.share-panel button{width:100%;padding:calc(20 * var(--rpx));background:#16795a;color:white;border-radius:calc(10 * var(--rpx));margin-top:calc(15 * var(--rpx))}.share-panel .share-close{color:#52685a;background:#eef3ef}.theme-night .share-panel{background:#192b20;color:#d2ded6}
@keyframes loading-dots{0%,32%{opacity:.35}33%,65%{opacity:.7}66%,100%{opacity:1}}
@keyframes viewer-loading-dot{0%,70%,100%{opacity:.25}35%{opacity:1}}
@media(min-width:751px){.app-shell{border-inline:1px solid #d9dfdb}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
