/* ==========================================================================
   Page-Specific Pixel Styles
   1:1 High-Fidelity Replication of All Mockup Screens
   ========================================================================== */

/* Universal Page Container */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
  padding-top: var(--status-bar-height);
  position: relative;
  overflow-x: hidden;
  background-color: var(--color-bg-page);
}

/* Has Bottom Nav spacing */
.page-has-bottom-nav {
  padding-bottom: calc(var(--tab-bar-height) + var(--home-bar-height) + 12px);
}

/* ==========================================================================
   Screen 01: 启动页 / 欢迎页 (Launch Screen)
   ========================================================================== */
.page-launch {
  background-color: var(--color-bg-page);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: calc(var(--status-bar-height) + 16px) 28px calc(var(--home-bar-height) + 24px);
  min-height: 100%;
  box-sizing: border-box;
}

.launch-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  margin-top: 76px;
}

.launch-slogan-wrap {
  align-self: flex-start;
  margin-left: 12px;
  margin-bottom: -15px;
  z-index: 10;
  transform: rotate(-7deg);
}

.launch-slogan-img {
  width: 148px;
  height: auto;
  object-fit: contain;
  filter: contrast(1.05);
}

.launch-toilet-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 250px;
  margin-top: 4px;
}

.launch-toilet-img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* 3D Realistic Multi-tier Ground Shadow (接触闭塞 + 方向投影 + 环境柔光) */
.launch-toilet-stage .hero-toilet-shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.launch-toilet-stage .shadow-ambient {
  position: absolute;
  left: 54%;
  bottom: 8.75%;
  width: 75%;
  height: 13.1%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 46% 50%, rgba(25, 30, 42, 0.07) 0%, rgba(25, 30, 42, 0.035) 45%, rgba(25, 30, 42, 0.01) 72%, transparent 100%);
  filter: blur(5px);
}

.launch-toilet-stage .shadow-cast {
  position: absolute;
  left: 56%;
  bottom: 10.6%;
  width: 59.4%;
  height: 9.7%;
  transform: translateX(-50%) rotate(1deg);
  border-radius: 50%;
  background: radial-gradient(ellipse at 42% 48%, rgba(20, 25, 38, 0.20) 0%, rgba(20, 25, 38, 0.11) 38%, rgba(20, 25, 38, 0.03) 68%, transparent 100%);
  filter: blur(2.5px);
}

.launch-toilet-stage .shadow-contact {
  position: absolute;
  left: 48.5%;
  bottom: 13.1%;
  width: 37.5%;
  height: 3.75%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, rgba(12, 16, 26, 0.38) 0%, rgba(12, 16, 26, 0.22) 40%, rgba(12, 16, 26, 0.06) 75%, transparent 100%);
  filter: blur(1px);
}

/* Lime Radiating Bursts */
.toilet-glow-burst {
  position: absolute;
  top: 10px;
  right: 18px;
  width: 70px;
  height: 70px;
  z-index: 3;
  pointer-events: none;
}

.burst-ray {
  position: absolute;
  background-color: var(--color-brand-lime);
  border-radius: 999px;
}

.ray-1 {
  width: 7px;
  height: 22px;
  top: 2px;
  right: 32px;
  transform: rotate(28deg);
}

.ray-2 {
  width: 8px;
  height: 18px;
  top: 24px;
  right: 10px;
  transform: rotate(68deg);
}

.ray-3 {
  width: 6px;
  height: 15px;
  top: 50px;
  right: 14px;
  transform: rotate(86deg);
}

.launch-bottom-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: auto;
  padding-bottom: 8px;
}

.launch-brand-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.launch-app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(206, 253, 54, 0.35);
  margin-bottom: 16px;
  overflow: hidden;
}

.launch-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.launch-title {
  font-size: 27px;
  font-weight: 800;
  color: #0E0F12;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.launch-subtitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #2D2E32;
  margin-top: 4px;
}

.launch-tagline {
  font-size: 15px;
  font-weight: 500;
  color: #3C3E44;
  margin-top: 14px;
  letter-spacing: 0.3px;
}

.launch-cta-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-launch-start {
  height: 58px;
  background-color: #111111;
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  border: none;
  width: 100%;
  cursor: pointer;
}

.btn-wechat-icon-img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  object-fit: contain;
  display: block;
}

.launch-security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  gap: 6px;
}

.security-check-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #8E8E93;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  box-sizing: border-box;
}

.security-check-icon::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 3px;
  height: 5px;
  border: solid #8E8E93;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.security-text {
  font-size: 12px;
  color: #8E8E93;
  letter-spacing: 0.3px;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   Screen 02: 薪资设置与首页 (Settings & Home Screen)
   ========================================================================== */
.page-settings {
  padding: calc(var(--status-bar-height) + 12px) 20px calc(var(--tab-bar-height) + var(--home-bar-height) + 16px);
  background-color: var(--color-bg-page);
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.settings-title {
  font-size: 28px;
  font-weight: 800;
  color: #0D0D0D;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.settings-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: #7A7E89;
  margin-top: 5px;
}

.settings-avatar-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  background: transparent;
  transition: transform var(--transition-fast);
}

.settings-avatar-btn:active {
  transform: scale(0.92);
}

.header-avatar-icon {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* 3 Input Cards */
.settings-cards-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.settings-input-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.settings-input-card:hover {
  border-color: rgba(206, 253, 54, 0.6);
}

.settings-input-card:active {
  transform: scale(0.98);
}

.input-card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #F4F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-svg-icon {
  width: 24px;
  height: 24px;
  fill: #22252A;
}

.input-card-content {
  flex: 1;
}

.input-card-label {
  font-size: 13px;
  font-weight: 500;
  color: #8E929D;
}

.input-card-value {
  font-size: 23px;
  font-weight: 800;
  color: #0E0F12;
  margin-top: 2px;
  letter-spacing: -0.2px;
}

.input-card-edit-hint {
  font-size: 12px;
  font-weight: 500;
  color: #A0A5B1;
  background: #F5F6F8;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Calculation Result Card (Lime Tint) */
.settings-result-card {
  background: var(--color-brand-lime-tint);
  border: 1.5px solid rgba(206, 253, 54, 0.7);
  border-radius: 24px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  box-shadow: 0 4px 20px rgba(206, 253, 54, 0.16);
}

.result-card-left {
  flex-shrink: 0;
}

.result-card-logo {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(206, 253, 54, 0.4);
}

.result-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-card-right {
  flex: 1;
}

.result-card-label {
  font-size: 13px;
  font-weight: 600;
  color: #38420E;
}

.result-card-metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
}

.result-card-amount {
  font-size: 32px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.5px;
}

.result-card-unit {
  font-size: 15px;
  font-weight: 600;
  color: #2F3610;
}

.result-card-note {
  font-size: 11px;
  color: #6C7A28;
  margin-top: 1px;
}

/* Main Action Button */
.settings-action-wrap {
  margin-top: 16px;
  width: 100%;
}

.btn-start-timer {
  height: 56px;
  font-size: 17px;
  font-weight: 600;
}

/* Decorative Slogan & Toilet Graphic at Bottom */
.settings-deco-stage {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 10px;
  position: relative;
}

.settings-deco-slogan {
  transform: rotate(-6deg);
  margin-bottom: 8px;
}

.settings-deco-slogan img {
  width: 135px;
  height: auto;
  object-fit: contain;
}

.settings-deco-toilet {
  position: relative;
  width: 105px;
}

.settings-deco-toilet img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.06));
}

.deco-toilet-burst {
  position: absolute;
  top: 18px;
  right: 12px;
  width: 40px;
  height: 40px;
  z-index: 2;
}

/* Bottom Sheet Modal */
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-end;
  z-index: 200;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet {
  background: #FFFFFF;
  border-radius: 28px 28px 0 0;
  width: 100%;
  padding: 24px 20px calc(var(--home-bar-height) + 16px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-sheet-title {
  font-size: 18px;
  font-weight: 700;
  color: #111111;
}

.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F0F2F5;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
}

.modal-currency-symbol, .modal-unit-label {
  font-size: 26px;
  font-weight: 700;
  color: #111111;
}

.modal-big-input {
  font-size: 38px;
  font-weight: 800;
  color: #111111;
  text-align: center;
  width: 200px;
  border-bottom: 2px solid var(--color-brand-lime);
}

.modal-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 24px;
}

.modal-chip-btn {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  background: #F2F4F7;
  color: #333;
  transition: all var(--transition-fast);
}

.modal-chip-btn.active {
  background: var(--color-brand-lime);
  color: #111;
}

.modal-sheet-footer {
  width: 100%;
}

/* ==========================================================================
   Screen 03: 实时带薪如厕计时页 (Timer Screen)
   ========================================================================== */
.page-timer {
  background-color: var(--color-bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--status-bar-height) + 6px) 24px calc(var(--tab-bar-height) + var(--home-bar-height) + 10px);
  min-height: 100%;
  box-sizing: border-box;
}

.timer-top-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 36px;
}

.timer-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.timer-status-text {
  font-size: 15px;
  font-weight: 600;
  color: #1A1C20;
}

.timer-gear-btn {
  position: absolute;
  right: 0;
  top: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  background: transparent;
  transition: transform var(--transition-fast);
}

.timer-gear-btn:active {
  transform: rotate(45deg);
}

.gear-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.timer-digital-display {
  font-size: 64px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -2px;
  margin-top: 14px;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

/* Radiant Dial */
.timer-dial-stage {
  position: relative;
  width: 236px;
  height: 236px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 26px;
}

.timer-dial-circle {
  width: 224px;
  height: 224px;
  border-radius: 50%;
  background: #EDFAC9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.dial-label {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

.dial-income {
  font-size: 54px;
  font-weight: 900;
  color: #111111;
  letter-spacing: -1.5px;
  margin: 0;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.dial-rate {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  opacity: 0.85;
  margin-top: 4px;
}

/* Dial Surrounding Rays */
.timer-dial-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.dial-ray {
  position: absolute;
  background-color: var(--color-brand-lime);
  border-radius: 999px;
}

.dial-ray.left-1 {
  width: 6px;
  height: 18px;
  top: 50px;
  left: -8px;
  transform: rotate(-35deg);
}

.dial-ray.left-2 {
  width: 7px;
  height: 22px;
  top: 107px;
  left: -18px;
  transform: rotate(-90deg);
}

.dial-ray.left-3 {
  width: 6px;
  height: 18px;
  top: 165px;
  left: -8px;
  transform: rotate(-145deg);
}

.dial-ray.right-1 {
  width: 6px;
  height: 18px;
  top: 50px;
  right: -8px;
  transform: rotate(35deg);
}

.dial-ray.right-2 {
  width: 7px;
  height: 22px;
  top: 107px;
  right: -18px;
  transform: rotate(90deg);
}

.dial-ray.right-3 {
  width: 6px;
  height: 18px;
  top: 165px;
  right: -8px;
  transform: rotate(145deg);
}

/* Timer Action Controls */
.timer-controls-row {
  display: flex;
  gap: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.timer-control-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.timer-circle-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.timer-circle-btn:active {
  transform: scale(0.92);
}

.btn-pause {
  background: #EFF1F4;
  color: #121418;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.btn-stop {
  background: #111111;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.btn-ctrl-icon {
  width: 26px;
  height: 26px;
}

.control-label {
  font-size: 13px;
  font-weight: 500;
  color: #4D515A;
}

/* Bottom Metrics */
.timer-bottom-metrics {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px 8px 4px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.metric-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
}

.metric-top-label {
  font-size: 13px;
  font-weight: 600;
  color: #111216;
}

.metric-amount {
  font-size: 21px;
  font-weight: 800;
  color: #0E0F13;
  margin: 3px 0 1px;
  font-variant-numeric: tabular-nums;
}

.metric-sub-label {
  font-size: 11px;
  color: #8E929E;
}

/* ==========================================================================
   Screen 04: 结算成果与收益展示页 (Result Screen)
   ========================================================================== */
.page-result {
  background-color: var(--color-bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--status-bar-height) + 6px) 24px calc(var(--home-bar-height) + 20px);
  min-height: 100%;
  box-sizing: border-box;
}

.result-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.result-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  background: transparent;
  transition: transform var(--transition-fast);
}

.result-nav-btn:active {
  transform: scale(0.92);
}

.nav-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.result-celebration-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 8px;
  width: 100%;
}

.celebration-arc {
  position: relative;
  width: 240px;
  height: 96px;
  margin-bottom: -16px;
}

.arc-ray {
  position: absolute;
  background-color: var(--color-brand-lime);
  border-radius: 999px;
  width: 6.5px;
  height: 18px;
}

/* Left 3 rays */
.ray-arc-1 {
  left: 6px;
  bottom: 8px;
  transform: rotate(-55deg);
}

.ray-arc-2 {
  left: 28px;
  top: 32px;
  transform: rotate(-32deg);
}

.ray-arc-3 {
  left: 68px;
  top: 4px;
  transform: rotate(-45deg);
}

/* Right 3 rays */
.ray-arc-4 {
  right: 68px;
  top: 4px;
  transform: rotate(45deg);
}

.ray-arc-5 {
  right: 28px;
  top: 32px;
  transform: rotate(32deg);
}

.ray-arc-6 {
  right: 6px;
  bottom: 8px;
  transform: rotate(55deg);
}

.result-title {
  font-size: 26px;
  font-weight: 800;
  color: #0E0F12;
  margin-top: 14px;
}

.result-sub-cheer {
  font-size: 16px;
  font-weight: 600;
  color: #4B4D52;
  margin-top: 5px;
}

.result-hero-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 18px 0 16px;
}

.hero-amount-curr {
  font-size: 32px;
  font-weight: 900;
  color: #0E0F12;
  margin-right: 7px;
  line-height: 1;
}

.hero-amount-val {
  font-size: 65px;
  font-weight: 900;
  color: #0E0F12;
  letter-spacing: -1px;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}

/* Breakdown Card */
.result-breakdown-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 4px 20px;
  border: 1px solid rgba(0, 0, 0, 0.035);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  width: 100%;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 56px;
}

.breakdown-left {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4A4D55;
}

.breakdown-icon {
  width: 20px;
  height: 20px;
}

.breakdown-label {
  font-size: 15px;
  font-weight: 500;
}

.breakdown-value {
  font-size: 17px;
  font-weight: 800;
  color: #0E0F12;
  font-variant-numeric: tabular-nums;
}

.breakdown-divider {
  height: 1px;
  background: #F3F4F6;
  width: 100%;
}

/* Worker Quote Section (Clean floating on background) */
.result-quote-section {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 0 6px;
  width: 100%;
}

.quote-symbol-svg {
  width: 26px;
  height: 22px;
  flex: none;
  margin-top: 3px;
}

.quote-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quote-line {
  font-size: 16px;
  font-weight: 500;
  color: #2D3036;
  line-height: 1.55;
  white-space: nowrap;
}

/* Result Action Buttons */
.result-actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
  width: 100%;
}

.btn-generate-poster {
  height: 56px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-share-icon {
  width: 20px;
  height: 20px;
  fill: #FFFFFF;
}

.btn-restart-poop {
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Screen 05: 精美海报生成与分享页 (Share Poster Screen)
   ========================================================================== */
.page-share {
  background-color: var(--color-bg-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--status-bar-height) + 2px) 20px calc(var(--home-bar-height) + 8px);
  min-height: 100%;
  box-sizing: border-box;
}

.share-top-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  margin-bottom: 10px;
}

.share-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #252830;
  color: #CCD1DC;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.share-close-btn:active {
  transform: scale(0.92);
}

.share-save-btn {
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0E0F12;
  font-size: 13px;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.share-save-btn:active {
  transform: scale(0.94);
}

/* Share Poster Card */
.share-poster-card {
  background: #FFFFFF;
  color: #0D0E11;
  border-radius: 26px;
  padding: 22px 20px 18px;
  width: 100%;
  position: relative;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.poster-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.poster-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poster-logo-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(206, 253, 54, 0.4);
}

.poster-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-title {
  font-size: 17px;
  font-weight: 800;
  color: #0D0E11;
  line-height: 1.15;
}

.poster-subtitle {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #2E3036;
  margin-top: 2px;
}

.poster-slogan-wrap {
  transform: rotate(-6deg);
  margin-top: -6px;
}

.poster-slogan-wrap img {
  width: 86px;
  height: auto;
  object-fit: contain;
}

/* Big Hero Copy */
.poster-copy-group {
  margin-top: 18px;
}

.poster-copy-lead {
  font-size: 27px;
  font-weight: 800;
  color: #0D0E11;
  line-height: 1.18;
  letter-spacing: -0.5px;
}

.poster-copy-highlight {
  font-size: 38px;
  font-weight: 900;
  color: #0D0E11;
  line-height: 1.12;
  letter-spacing: -1px;
}

.poster-copy-earned {
  font-size: 38px;
  font-weight: 900;
  color: #0D0E11;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.poster-pay-info {
  font-size: 14px;
  color: #2D3038;
  margin-bottom: 12px;
}

.pay-info-line2 {
  font-size: 16px;
  margin-top: 2px;
}

.pay-info-line2 strong {
  font-size: 18px;
  font-weight: 800;
  color: #0D0E11;
}

.poster-quote {
  font-size: 15px;
  font-weight: 600;
  color: #111216;
  line-height: 1.5;
  margin: 16px 0 12px;
}

.poster-date {
  font-size: 12px;
  color: #8E929E;
  font-weight: 500;
}

/* Toilet Graphic Placement */
.poster-deco-toilet {
  position: absolute;
  right: 14px;
  bottom: 85px;
  width: 100px;
  pointer-events: none;
}

.poster-deco-toilet img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.08));
}

.poster-toilet-burst {
  position: absolute;
  top: 16px;
  right: 10px;
  width: 32px;
  height: 32px;
}

/* QR Code Lockup */
.poster-bottom-qr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.poster-qr-hint {
  font-size: 13px;
  font-weight: 600;
  color: #24262E;
  line-height: 1.4;
}

.poster-sunburst-qr {
  width: 66px;
  height: 66px;
}

.qr-svg-burst {
  width: 100%;
  height: 100%;
}

/* Share Channels Bar */
.share-channels-bar {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin-top: 14px;
  padding: 0 4px;
}

.share-channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.channel-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.channel-circle:active {
  transform: scale(0.92);
}

.circle-wechat {
  background: #07C160;
}

.circle-moments {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.circle-link, .circle-more {
  background: #272930;
}

.channel-circle svg {
  width: 24px;
  height: 24px;
}

.channel-name {
  font-size: 11px;
  color: #C0C3CC;
  font-weight: 500;
}

.share-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.88);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Screen 06: 马桶财报与数据看板 (Dashboard Screen)
   ========================================================================== */
.page-dashboard {
  padding: calc(var(--status-bar-height) + 12px) 20px calc(var(--tab-bar-height) + var(--home-bar-height) + 16px);
  background-color: var(--color-bg-page);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-title {
  font-size: 28px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.3px;
}

.dashboard-segmented-wrap {
  width: 100%;
  margin-bottom: 14px;
}

/* Hero Financial Card */
.dashboard-hero-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-card-left {
  flex: 1;
}

.hero-card-label {
  font-size: 15px;
  font-weight: 600;
  color: #4A4D55;
}

.hero-card-amount {
  font-size: 34px;
  font-weight: 800;
  color: #0D0E11;
  margin: 6px 0 8px;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.hero-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #7CA604;
}

.trend-arrow {
  font-size: 11px;
}

.hero-card-right {
  flex-shrink: 0;
  padding-bottom: 4px;
}

.mini-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
}

.chart-bar {
  width: 6px;
  border-radius: 999px;
  background: #E4E7EB;
}

.chart-bar.bar-1 { height: 26px; }
.chart-bar.bar-2 { height: 38px; }
.chart-bar.bar-3 { height: 48px; }
.chart-bar.bar-4 { height: 42px; }
.chart-bar.bar-5 { height: 56px; }
.chart-bar.bar-6.bar-lime { height: 64px; background: var(--color-brand-lime); }
.chart-bar.bar-7.bar-dark { height: 72px; background: #111111; }
.chart-bar.bar-8 { height: 52px; }
.chart-bar.bar-9.bar-lime-tall { height: 80px; background: var(--color-brand-lime); }

/* 2x2 Metric Grid */
.dashboard-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.dashboard-metric-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.metric-card-label {
  font-size: 14px;
  font-weight: 600;
  color: #4A4D55;
}

.metric-card-val {
  font-size: 26px;
  font-weight: 800;
  color: #0E0F12;
  margin-top: 8px;
  letter-spacing: -0.3px;
  font-variant-numeric: tabular-nums;
}

/* Shortcuts Row */
.dashboard-shortcuts-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.shortcut-pill-btn {
  flex: 1;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #2C2E33;
  transition: transform var(--transition-fast);
}

.shortcut-pill-btn:active {
  transform: scale(0.97);
}

.shortcut-icon {
  width: 16px;
  height: 16px;
  fill: #4A4D55;
}

.shortcut-arrow {
  color: #A0A5B1;
  font-size: 16px;
}

/* ==========================================================================
   Screen 07: 如厕历史记录明细 (History Screen)
   ========================================================================== */
.page-history {
  padding: calc(var(--status-bar-height) + 12px) 20px calc(var(--tab-bar-height) + var(--home-bar-height) + 16px);
  background-color: var(--color-bg-page);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.history-title {
  font-size: 28px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.3px;
}

.history-filter-wrap {
  position: relative;
}

.history-filter-btn {
  height: 34px;
  padding: 0 16px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #22252A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast);
}

.history-filter-btn:active {
  transform: scale(0.95);
}

.filter-arrow {
  font-size: 11px;
  color: #6C707A;
}

.history-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 6px 0;
  min-width: 120px;
  z-index: 100;
  animation: fadeIn 0.15s ease-out;
}

.dropdown-item {
  padding: 10px 16px;
  font-size: 13px;
  color: #33363F;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.dropdown-item:hover, .dropdown-item.active {
  font-weight: 700;
  color: #0E0F12;
  background: #F4F5F8;
}

.history-groups-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.history-group-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.02);
}

.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
}

.group-name {
  font-size: 18px;
  font-weight: 800;
  color: #0E0F12;
}

.group-total-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.group-total-amount {
  font-size: 16px;
  font-weight: 800;
  color: #0E0F12;
  font-variant-numeric: tabular-nums;
}

.group-count {
  font-size: 13px;
  font-weight: 500;
  color: #8E929E;
}

.group-rows-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item-row {
  background: #FAFAFC;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.history-item-row:hover {
  background: #F4F5F8;
}

.history-item-row:active {
  transform: scale(0.98);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-clock-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.item-clock-icon svg {
  width: 15px;
  height: 15px;
  fill: #34373F;
}

.item-time {
  font-size: 16px;
  font-weight: 700;
  color: #0E0F12;
  letter-spacing: -0.2px;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.item-amount {
  font-size: 16px;
  font-weight: 700;
  color: #0E0F12;
  font-variant-numeric: tabular-nums;
}

.item-chevron {
  font-size: 18px;
  color: #B0B5C1;
  font-weight: 300;
}

/* ==========================================================================
   Screen 08: 生产力趋势与工时分析 (Trend Analysis Screen)
   ========================================================================== */
.page-trend {
  padding: calc(var(--status-bar-height) + 12px) 20px calc(var(--tab-bar-height) + var(--home-bar-height) + 16px);
  background-color: var(--color-bg-page);
}

.trend-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.trend-title {
  font-size: 28px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.3px;
}

.trend-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trend-action-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #26282E;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform var(--transition-fast);
}

.trend-action-icon-btn:active {
  transform: scale(0.92);
}

.trend-action-icon-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.trend-segmented-wrap {
  width: 100%;
  margin-bottom: 14px;
}

.trend-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 20px 20px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  margin-bottom: 14px;
}

.trend-card-top {
  margin-bottom: 6px;
}

.trend-card-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.trend-card-label {
  font-size: 15px;
  font-weight: 600;
  color: #4A4D55;
}

.bold-label {
  font-size: 16px;
  font-weight: 700;
  color: #0E0F12;
}

.trend-help-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #94C800;
  color: #94C800;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trend-duration-metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
}

.metric-num {
  font-size: 34px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

.metric-unit {
  font-size: 15px;
  font-weight: 600;
  color: #2E3138;
}

.trend-growth-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #7CA604;
  margin-top: 2px;
}

.trend-arrow-up {
  font-size: 12px;
}

.spline-chart-wrap {
  width: 100%;
  margin-top: 8px;
}

.spline-chart-svg {
  width: 100%;
  height: auto;
}

/* Donut & Ratio Section */
.time-ratio-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.ratio-donut-wrap {
  position: relative;
  width: 106px;
  height: 106px;
  flex-shrink: 0;
}

.donut-svg {
  width: 100%;
  height: 100%;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  font-weight: 800;
  color: #0D0E11;
  font-variant-numeric: tabular-nums;
}

.ratio-details-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ratio-quote-box {
  background: #FAFAFC;
  border-radius: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.ratio-quote-icon {
  color: #92C600;
  font-size: 24px;
  font-family: Georgia, serif;
  line-height: 0.6;
  margin-bottom: 2px;
}

.ratio-stat-highlight {
  font-size: 22px;
  font-weight: 800;
  color: #0E0F12;
  font-variant-numeric: tabular-nums;
}

.ratio-stat-sub {
  font-size: 12px;
  font-weight: 500;
  color: #6E727E;
  margin-top: 2px;
}

.ratio-bench-remark {
  font-size: 13px;
  color: #4A4D55;
  line-height: 1.5;
  padding-left: 2px;
}

.ratio-bench-remark strong {
  font-weight: 800;
  color: #0E0F12;
}

/* ==========================================================================
   Screen 09: 打工人成就与荣誉勋章 (Achievements Screen)
   ========================================================================== */
.page-achievements {
  padding: calc(var(--status-bar-height) + 12px) 20px calc(var(--tab-bar-height) + var(--home-bar-height) + 16px);
  background-color: var(--color-bg-page);
}

.achievements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.achievements-title {
  font-size: 28px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.3px;
}

.achievements-unlocked-badge {
  background: var(--color-brand-lime-tint);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #35400E;
  border: 1px solid rgba(206, 253, 54, 0.5);
}

.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.achievement-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 18px 12px 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.achievement-card:active {
  transform: scale(0.96);
}

.achievement-card.card-golden-toilet {
  border-color: rgba(255, 199, 0, 0.3);
  box-shadow: 0 6px 20px rgba(255, 199, 0, 0.1);
}

.badge-3d-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
  transition: transform var(--transition-fast);
}

.badge-3d-img.img-locked {
  filter: grayscale(100%) opacity(0.38);
}

.achievement-card:hover .badge-3d-img {
  transform: scale(1.05);
}

.badge-box-gold {
  background: linear-gradient(135deg, #FFE259 0%, #FFA751 100%);
  box-shadow: 0 4px 12px rgba(255, 167, 81, 0.35);
}

.gold-coin-symbol {
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
}

.badge-box-locked {
  background: #F5F6F8;
}

.badge-box-streak {
  background: #F0F2F6;
}

.badge-name {
  font-size: 16px;
  font-weight: 700;
  color: #0E0F12;
  margin-bottom: 3px;
}

.badge-desc {
  font-size: 12px;
  color: #7B808E;
  line-height: 1.35;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.badge-status-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 8px;
}

.tag-unlocked {
  background: #E8F8EA;
  color: #2E7D32;
}

.tag-golden {
  background: #FFF8E1;
  color: #B78103;
  border: 1px solid rgba(255, 199, 0, 0.4);
}

.tag-progress {
  background: #F0F2F5;
  color: #646875;
}

.tag-locked {
  background: #F7F8F9;
  color: #A0A5B2;
}

/* Achievement Modal Details */
.ach-detail-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0 24px;
}

.ach-detail-3d {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(255, 199, 0, 0.4));
  margin-bottom: 12px;
}

.ach-detail-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #F4F6F9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ach-detail-name {
  font-size: 22px;
  font-weight: 800;
  color: #0D0E11;
  margin-bottom: 6px;
}

.ach-detail-desc {
  font-size: 14px;
  color: #646875;
  margin-bottom: 14px;
}

.ach-detail-quote {
  font-size: 13px;
  font-weight: 500;
  color: #8E929E;
  font-style: italic;
}

/* ==========================================================================
   Screen 10: 个人中心与系统设置 (Profile Screen)
   ========================================================================== */
.page-profile {
  padding: calc(var(--status-bar-height) + 12px) 20px calc(var(--tab-bar-height) + var(--home-bar-height) + 16px);
  background-color: var(--color-bg-page);
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.profile-title {
  font-size: 28px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.3px;
}

/* User Card */
.profile-user-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 4px 20px;
}

.profile-avatar-stage {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

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

.avatar-lime-burst {
  position: absolute;
  top: -8px;
  right: 6px;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.avatar-lime-burst .burst-ray {
  position: absolute;
  background-color: var(--color-brand-lime);
  border-radius: 999px;
}

.avatar-lime-burst .ray-left {
  width: 5px;
  height: 14px;
  top: 2px;
  left: 6px;
  transform: rotate(-25deg);
}

.avatar-lime-burst .ray-right {
  width: 5px;
  height: 14px;
  top: 8px;
  right: 2px;
  transform: rotate(35deg);
}

.profile-info-wrap {
  flex: 1;
}

.profile-nickname {
  font-size: 22px;
  font-weight: 800;
  color: #0D0E11;
  letter-spacing: -0.3px;
}

.profile-motto {
  font-size: 13px;
  color: #7A7E89;
  margin-top: 4px;
  line-height: 1.4;
}

/* Settings Menu Card */
.profile-menu-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 4px 20px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.menu-item-row:active {
  opacity: 0.65;
}

.menu-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #F5F6F8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-svg {
  width: 20px;
  height: 20px;
  fill: #22252A;
}

.menu-label {
  font-size: 16px;
  font-weight: 600;
  color: #111216;
}

.menu-chevron {
  font-size: 18px;
  color: #A0A5B1;
  font-weight: 300;
}

.menu-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.04);
  width: 100%;
}

/* Bottom Doodle Slogan */
.profile-bottom-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  transform: rotate(-6deg);
  opacity: 0.88;
}

.doodle-text-line1 {
  font-size: 23px;
  font-weight: 700;
  font-family: var(--font-family-hand);
  color: #2D3038;
  letter-spacing: 0.5px;
}

.doodle-text-line2 {
  font-size: 23px;
  font-weight: 700;
  font-family: var(--font-family-hand);
  color: #2D3038;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.doodle-text-smile {
  font-size: 26px;
  font-weight: 700;
  font-family: var(--font-family-hand);
  color: #2D3038;
  margin-top: 2px;
}

/* ==========================================================================
   Plan B Architecture Enhancements:
   Home Screen Rate Capsule, Today Stats & Profile Relocated Settings
   ========================================================================== */

/* 1. Home Screen Rate Capsule */
.home-capsule-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.capsule-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  cursor: pointer;
}

.capsule-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #F4F5F8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.capsule-content {
  display: flex;
  flex-direction: column;
}

.capsule-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.capsule-label {
  font-size: 11px;
  font-weight: 600;
  color: #8E929E;
}

.privacy-toggle-btn {
  background: #EFF1F5;
  border: none;
  border-radius: 999px;
  padding: 2px 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: #555A67;
  transition: background 0.15s;
}

.privacy-toggle-btn:hover {
  background: #E4E7EE;
}

.capsule-metric-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.capsule-rate-num {
  font-size: 22px;
  font-weight: 800;
  color: #0E0F12;
  letter-spacing: -0.3px;
}

.capsule-rate-unit {
  font-size: 13px;
  color: #7B808E;
  font-weight: 600;
}

.capsule-subhint {
  font-size: 11px;
  color: #9DA2B0;
  margin-top: 1px;
}

.capsule-edit-btn {
  background: #F5F6F8;
  border: none;
  border-radius: 12px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #22252A;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.15s;
}

.capsule-edit-btn:hover {
  background: #EAECEF;
}

/* 2. Home Today's Poop Stats Card */
.home-today-stats-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 16px 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.today-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stats-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-brand-lime);
  box-shadow: 0 0 8px var(--color-brand-lime);
}

.stats-header-title {
  font-size: 15px;
  font-weight: 800;
  color: #0E0F12;
}

.stats-badge-tag {
  background: rgba(206, 253, 54, 0.28);
  color: #255000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.today-metrics-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 4px 0 10px;
}

.today-metric-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.today-metric-val {
  font-size: 22px;
  font-weight: 800;
  color: #0E0F12;
  letter-spacing: -0.3px;
}

.highlight-val {
  color: #0E0F12;
}

.today-metric-lbl {
  font-size: 11px;
  color: #8E929E;
  margin-top: 3px;
  font-weight: 500;
}

.today-metric-divider {
  width: 1px;
  height: 28px;
  background: #EEEEEE;
}

.today-punchline-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F7F8FA;
  border-radius: 12px;
  padding: 8px 12px;
  margin-top: 4px;
}

.punchline-icon {
  font-size: 14px;
}

.punchline-msg {
  font-size: 11px;
  color: #555A67;
  font-weight: 500;
  line-height: 1.35;
}

/* 3. Home Toilet Stage */
.home-toilet-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 14px;
}

.stage-toilet-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-burst-glow {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

.stage-toilet-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08));
}

.stage-slogan-box {
  margin-top: 2px;
}

.stage-slogan-img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.home-cta-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.timing-pulse {
  border: 2px solid var(--color-brand-lime);
  box-shadow: 0 0 20px rgba(206, 253, 54, 0.45);
}

.cta-bottom-note {
  font-size: 11px;
  color: #9DA2B0;
  margin-top: 8px;
}

/* 4. Profile Relocated Settings Styles */
.profile-section-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 4px 8px;
}

.profile-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #0E0F12;
}

.profile-section-sub {
  font-size: 11px;
  color: #9DA2B0;
}

.profile-salary-archive-card {
  background: #FFFFFF;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  margin-bottom: 12px;
}

.archive-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.15s;
}

.archive-menu-row:hover {
  background: #F9FAFB;
}

.archive-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.archive-row-icon {
  font-size: 18px;
}

.archive-row-label {
  font-size: 14px;
  font-weight: 600;
  color: #22252A;
}

.archive-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.archive-row-val {
  font-size: 14px;
  font-weight: 800;
  color: #0E0F12;
}

.archive-row-arrow {
  font-size: 16px;
  color: #BBBBBB;
}

.archive-inner-divider {
  height: 1px;
  background: #F4F5F7;
  margin: 0 18px;
}

.archive-rate-banner {
  background: #111111;
  border-radius: 16px;
  margin: 10px 14px 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rate-banner-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rate-banner-badge {
  background: var(--color-brand-lime);
  color: #111111;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

.rate-banner-desc {
  font-size: 12px;
  color: #DDDDDD;
  font-weight: 600;
}

.rate-banner-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.rate-banner-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-brand-lime);
}

.rate-banner-unit {
  font-size: 11px;
  color: #AAAAAA;
}

/* 5. Profile Sound & Audio Card */
.profile-sound-card {
  background: #FFFFFF;
  border-radius: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
}

.sound-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sound-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sound-header-icon {
  font-size: 18px;
}

.sound-header-texts {
  display: flex;
  flex-direction: column;
}

.sound-header-title {
  font-size: 14px;
  font-weight: 700;
  color: #0E0F12;
}

.sound-header-sub {
  font-size: 11px;
  color: #8E929E;
}

/* Toggle Switch */
.sound-toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.sound-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-toggle-round {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #E2E4E9;
  transition: 0.25s;
  border-radius: 34px;
}

.slider-toggle-round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.sound-toggle-switch input:checked + .slider-toggle-round {
  background-color: #111111;
}

.sound-toggle-switch input:checked + .slider-toggle-round:before {
  transform: translateX(18px);
}

.sound-panel-details {
  margin-top: 14px;
}

.sound-panel-divider {
  height: 1px;
  background: #F4F5F7;
  margin-bottom: 12px;
}

.sound-volume-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.sound-vol-label {
  font-size: 12px;
  color: #666A75;
  font-weight: 600;
}

.sound-vol-percent {
  font-size: 12px;
  color: #0E0F12;
  font-weight: 800;
}

.sound-volume-range {
  width: 100%;
  accent-color: #111111;
  margin: 6px 0 14px;
}

.sound-audition-grid {
  display: flex;
  gap: 8px;
}

.audition-btn {
  flex: 1;
  background: #F5F7FA;
  border: none;
  border-radius: 12px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.audition-btn:active, .audition-btn.audition-active {
  transform: scale(0.95);
  background: #E8EBF0;
}

.audition-btn-emoji {
  font-size: 16px;
}

.audition-btn-text {
  font-size: 11px;
  font-weight: 700;
  color: #22252A;
}









