* {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  -webkit-user-select: none;
  -moz-user-select: none;
       user-select: none;
  width: 100%;
  height: 100%;
}

body {
  overflow-x: hidden;
  font-size: 16px;
}

uni-app,
uni-page,
uni-page-wrapper,
uni-page-body {
  display: block;
  box-sizing: border-box;
  width: 100%;
}

uni-page-wrapper {
  position: relative;
}

#app,
uni-app,
uni-page,
uni-page-wrapper {
  height: 100%;
}

/* toast,modal,actionSheet,picker,layout */
.uni-mask {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* toast,modal,actionSheet,picker */
.uni-fade-enter-active,
.uni-fade-leave-active {
  transition-duration: 0.25s;
  transition-property: opacity;
  transition-timing-function: ease;
}

.uni-fade-enter-from,
.uni-fade-leave-active {
  opacity: 0;
}

.uni-loading,
uni-button[loading]:before {
  background-color: transparent;
  background-image: url('data:image/svg+xml;base64, PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=');
  background-repeat: no-repeat;
}

.uni-loading {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  animation: uni-loading 1s steps(12, end) infinite;
  background-size: 100%;
}

@keyframes uni-loading {
  0% {
    transform: rotate3d(0, 0, 1, 0deg);
  }

  100% {
    transform: rotate3d(0, 0, 1, 360deg);
  }
}

html {
  /* --UI-BG-0: #ededed; */
  --primary-color: #007aff;
  --UI-BG: #fff;
  --UI-BG-1: #f7f7f7;
  --UI-BG-2: #fff;
  --UI-BG-3: #f7f7f7;
  --UI-BG-4: #4c4c4c;
  --UI-BG-5: #fff;
  --UI-FG: #000;
  --UI-FG-0: rgba(0, 0, 0, 0.9);
  --UI-FG-HALF: rgba(0, 0, 0, 0.9);
  --UI-FG-1: rgba(0, 0, 0, 0.5);
  --UI-FG-2: rgba(0, 0, 0, 0.3);
  --UI-FG-3: rgba(0, 0, 0, 0.1);
}
body::after {
  position: fixed;
  content: '';
  left: -1000px;
  top: -1000px;
  animation: shadow-preload 0.1s;
  animation-delay: 3s;
}

@keyframes shadow-preload {
  0% {
    background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
  }
  100% {
    background-image: url(https://cdn.dcloud.net.cn/img/shadow-grey.png);
  }
}
.uni-async-error {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  color: #999;
  padding: 100px 10px;
  text-align: center;
}
.uni-async-loading {
  box-sizing: border-box;
  width: 100%;
  padding: 50px;
  text-align: center;
}

.uni-async-loading .uni-loading {
  width: 30px;
  height: 30px;
}
uni-tabbar {
  display: block;
  box-sizing: border-box;
  width: 100%;
  z-index: 998;
}

.uni-tabbar {
  display: flex;
  z-index: 998;
  box-sizing: border-box;
}

.uni-tabbar-top,
.uni-tabbar-bottom,
.uni-tabbar-top .uni-tabbar,
.uni-tabbar-bottom .uni-tabbar {
  position: fixed;
  left: var(--window-left);
  right: var(--window-right);
}

.uni-app--showlayout + .uni-tabbar-top,
.uni-app--showlayout + .uni-tabbar-bottom,
.uni-app--showlayout + .uni-tabbar-top .uni-tabbar,
.uni-app--showlayout + .uni-tabbar-bottom .uni-tabbar {
  left: var(--window-margin);
  right: var(--window-margin);
}

.uni-tabbar-bottom .uni-tabbar {
  bottom: 0;
  padding-bottom: 0;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
}

.uni-tabbar ~ .uni-placeholder {
  width: 100%;
  margin-bottom: 0;
  margin-bottom: constant(safe-area-inset-bottom);
  margin-bottom: env(safe-area-inset-bottom);
}

.uni-tabbar * {
  box-sizing: border-box;
}

.uni-tabbar__item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  font-size: 0;
  text-align: center;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.uni-tabbar__bd {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.uni-tabbar__icon {
  position: relative;
  display: inline-block;
  margin-top: 5px;
}

.uni-tabbar__icon.uni-tabbar__icon__diff {
  margin-top: 0px;
  width: 34px;
  height: 34px;
}

.uni-tabbar__icon img {
  width: 100%;
  height: 100%;
}

.uni-tabbar__iconfont {
  font-family: 'UniTabbarIconFont';
}

.uni-tabbar__label {
  position: relative;
  text-align: center;
  font-size: 10px;
}

.uni-tabbar-border {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1px;
  transform: scaleY(0.5);
}

.uni-tabbar__reddot {
  position: absolute;
  top: 2px;
  right: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #f43530;
  color: #ffffff;
  transform: translate(40%, 0%);
}

.uni-tabbar__badge {
  width: auto;
  height: 16px;
  line-height: 16px;
  border-radius: 16px;
  min-width: 16px;
  padding: 0 2px;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.uni-tabbar__mid {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  background-size: 100% 100%;
}

.uni-app--showtabbar uni-page-wrapper {
  display: block;
  height: calc(100% - var(--tab-bar-height));
  height: calc(100% - var(--tab-bar-height) - constant(safe-area-inset-bottom));
  height: calc(100% - var(--tab-bar-height) - env(safe-area-inset-bottom));
}
.uni-app--showtabbar uni-page-wrapper::after {
  content: '';
  display: block;
  width: 100%;
  height: var(--tab-bar-height);
  height: calc(var(--tab-bar-height) + constant(safe-area-inset-bottom));
  height: calc(var(--tab-bar-height) + env(safe-area-inset-bottom));
}
.uni-app--showtabbar
  uni-page-head[uni-page-head-type='default']
  ~ uni-page-wrapper {
  height: calc(100% - 44px - var(--tab-bar-height));
  height: calc(
    100% - 44px - constant(safe-area-inset-top) - var(--tab-bar-height) -
      constant(safe-area-inset-bottom)
  );
  height: calc(
    100% - 44px - env(safe-area-inset-top) - var(--tab-bar-height) -
      env(safe-area-inset-bottom)
  );
}
uni-page-refresh {
  position: absolute;
  top: 0;
  width: 100%;
  height: 40px;
  display: block;
  box-sizing: border-box;
}

.uni-page-refresh {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.117647),
    0 1px 4px rgba(0, 0, 0, 0.117647);
  display: none;
  z-index: 997;
}

.uni-page-refresh-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.uni-page-refresh--pulling .uni-page-refresh,
.uni-page-refresh--aborting .uni-page-refresh,
.uni-page-refresh--reached .uni-page-refresh,
.uni-page-refresh--refreshing .uni-page-refresh,
.uni-page-refresh--restoring .uni-page-refresh {
  display: flex;
}

.uni-page-refresh--pulling .uni-page-refresh__spinner,
.uni-page-refresh--aborting .uni-page-refresh__spinner,
.uni-page-refresh--reached .uni-page-refresh__spinner,
.uni-page-refresh--refreshing .uni-page-refresh__icon,
.uni-page-refresh--restoring .uni-page-refresh__icon {
  display: none;
}

.uni-page-refresh--refreshing .uni-page-refresh__spinner {
  transform-origin: center center;
  animation: uni-page-refresh-rotate 2s linear infinite;
}

.uni-page-refresh--refreshing .uni-page-refresh__path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: uni-page-refresh-dash 1.5s ease-in-out infinite,
    uni-page-refresh-colorful 6s ease-in-out infinite;
}

@keyframes uni-page-refresh-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes uni-page-refresh-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

/* 全局样式 */
/* ========================================
   高端奢华UI - 全局样式
   万盆月季养成记小程序
======================================== */
/* ========== 通用重置 ========== */
uni-view,
uni-text,
uni-image,
uni-button,
uni-input,
uni-textarea {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
uni-page-body {
  --primary-color: #4CAF50;
  /* 淡绿色主色 */
  --primary-light: #81C784;
  /* 浅绿色 */
  --primary-lighter: #C8E6C9;
  /* 更浅的绿色 */
  --primary-dark: #388E3C;
  /* 深绿色 */

  --secondary-color: #66BB6A;
  /* 副色 */
  --accent-color: #8BC34A;
  /* 强调色 - 黄绿色 */

  --gold: #FFD700;
  --gold-light: #FFA500;
  --silver: #E8E8E8;
  --bronze: #E8A87C;

  --bg-primary: #F1F8E9;
  /* 淡绿色背景 */
  --bg-secondary: #E8F5E9;
  /* 更浅的绿色背景 */
  --bg-white: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);

  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-tertiary: #999999;

  --shadow-sm: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.08);
  --shadow-md: 0 0.25rem 0.75rem rgba(76, 175, 80, 0.15);
  --shadow-lg: 0 0.375rem 1.25rem rgba(76, 175, 80, 0.18);
  --shadow-xl: 0 0.5rem 1.75rem rgba(76, 175, 80, 0.22);

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-round: 3.125rem;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.6;
}
body {

  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
/* ========== 毛玻璃效果 ========== */
.glass-effect {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.glass-effect-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(0.625rem);
  -webkit-backdrop-filter: blur(0.625rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ========== 渐变背景 ========== */
.gradient-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
}
.gradient-rose {
  background: linear-gradient(135deg, #E91E63 0%, #F06292 50%, #F8BBD0 100%);
}
.gradient-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
}
.gradient-silver {
  background: linear-gradient(135deg, #E8E8E8 0%, #B8B8B8 100%);
}
.gradient-bronze {
  background: linear-gradient(135deg, var(--bronze) 0%, #CD853F 100%);
}
/* ========== 高级按钮 ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-round);
  font-weight: 600;
  font-size: 0.9375rem;
  box-shadow: 0 0.25rem 0.75rem rgba(233, 30, 99, 0.3);
  border: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-primary:active::before {
  width: 9.375rem;
  height: 9.375rem;
}
.btn-primary:active {
  transform: scale(0.96);
  box-shadow: 0 0.125rem 0.5rem rgba(233, 30, 99, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--primary-color);
  padding: 0.6875rem 1.4375rem;
  border-radius: var(--radius-round);
  font-weight: 600;
  font-size: 0.875rem;
  border: 0.0625rem solid var(--primary-color);
  transition: all var(--transition-base);
}
.btn-outline:active {
  background: var(--primary-color);
  color: white;
  transform: scale(0.96);
}
/* ========== 高级卡片 ========== */
.card-premium {
  background: linear-gradient(135deg, #FFFFFF 0%, #FCFCFC 100%);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(233, 30, 99, 0.08);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.125rem;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}
.card-premium:active {
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-xl);
}
/* ========== 动画类 ========== */
@keyframes fadeInUp {
0% {
    opacity: 0;
    transform: translateY(1.25rem);
}
100% {
    opacity: 1;
    transform: translateY(0);
}
}
@keyframes fadeIn {
0% {
    opacity: 0;
}
100% {
    opacity: 1;
}
}
@keyframes scaleIn {
0% {
    opacity: 0;
    transform: scale(0.9);
}
100% {
    opacity: 1;
    transform: scale(1);
}
}
@keyframes slideInRight {
0% {
    opacity: 0;
    transform: translateX(1.875rem);
}
100% {
    opacity: 1;
    transform: translateX(0);
}
}
@keyframes float {
0%,
  100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-0.625rem);
}
}
@keyframes pulse {
0%,
  100% {
    transform: scale(1);
    opacity: 1;
}
50% {
    transform: scale(1.05);
    opacity: 0.8;
}
}
@keyframes shimmer {
0% {
    background-position: -31.25rem 0;
}
100% {
    background-position: 31.25rem 0;
}
}
@keyframes bounce {
0%,
  100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-0.3125rem);
}
}
/* ========== 动画应用类 ========== */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}
.animate-fadeIn {
  animation: fadeIn 0.4s ease-out;
}
.animate-scaleIn {
  animation: scaleIn 0.4s ease-out;
}
.animate-slideInRight {
  animation: slideInRight 0.5s ease-out;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}
.animate-bounce {
  animation: bounce 1s ease-in-out infinite;
}
/* ========== 文字效果 ========== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.text-shadow-soft {
  text-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.1);
}
.text-shadow-strong {
  text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
}
/* ========== 徽章和标签 ========== */
.badge-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3125rem 0.75rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-round);
  box-shadow: 0 0.125rem 0.375rem rgba(233, 30, 99, 0.3);
  letter-spacing: 0.03125rem;
}
.badge-glow {
  position: relative;
}
.badge-glow::before {
  content: '';
  position: absolute;
  inset: -0.125rem;
  background: inherit;
  border-radius: inherit;
  filter: blur(0.25rem);
  opacity: 0.6;
  z-index: -1;
}
/* ========== 分割线 ========== */
.divider-gradient {
  height: 0.0625rem;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
  margin: 1.25rem 0;
}
.divider-dots {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 1rem;
  letter-spacing: 0.5rem;
  margin: 1.25rem 0;
}
/* ========== 加载状态 ========== */
.skeleton {
  background: linear-gradient(90deg, #F0F0F0 25%, #E8E8E8 50%, #F0F0F0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
/* ========== 工具类 ========== */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.text-ellipsis-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
/* ========== 响应式间距 ========== */
.p-sm {
  padding: 0.625rem;
}
.p-md {
  padding: 1.25rem;
}
.p-lg {
  padding: 1.875rem;
}
.m-sm {
  margin: 0.625rem;
}
.m-md {
  margin: 1.25rem;
}
.m-lg {
  margin: 1.875rem;
}
/* ========== 高端阴影效果 ========== */
.shadow-premium {
  box-shadow:
    0 0.0625rem 0.25rem rgba(233, 30, 99, 0.08),
    0 0.25rem 0.75rem rgba(233, 30, 99, 0.12),
    0 0.5rem 1.5rem rgba(233, 30, 99, 0.08);
}
/* ========== 发光效果 ========== */
.glow-primary {
  box-shadow: 0 0 1.25rem rgba(233, 30, 99, 0.5);
}
.glow-gold {
  box-shadow: 0 0 1.25rem rgba(255, 215, 0, 0.6);
}
/* ================================================
   🌹 万盆月季养成记 - 设计系统
   ================================================ */
/* ========== CSS 变量定义 ========== */
uni-page-body {
    /* 主色调 - 月季粉 (调淡) */
    --color-primary: #ec407a;
    --color-primary-light: #f48fb1;
    --color-primary-lighter: #f8bbd0;
    --color-primary-dark: #c2185b;

    /* 辅助色 - 生机绿 (调淡) */
    --color-secondary: #66bb6a;
    --color-secondary-light: #a5d6a7;
    --color-secondary-lighter: #e8f5e9;
    --color-secondary-dark: #388e3c;

    /* 强调色 - 金色 */
    --color-accent: #FFD700;
    --color-accent-light: #FFF176;

    /* 中性色 */
    --color-dark: #212121;
    --color-gray: #666666;
    --color-gray-light: #999999;
    --color-gray-lighter: #E0E0E0;
    --color-white: #FFFFFF;

    /* 背景色 */
    --color-bg: #F5F7FA;
    --color-bg-light: #FAFBFC;

    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #ec407a 0%, #f48fb1 100%);
    --gradient-secondary: linear-gradient(135deg, #66bb6a 0%, #a5d6a7 100%);
    --gradient-accent: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-bg: linear-gradient(180deg, #fce4ec 0%, #e8f5e9 100%); /* 粉绿淡雅渐变 */

    /* 阴影 */
    --shadow-sm: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.08);
    --shadow-md: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 0.25rem 1rem rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 0.375rem 1.5rem rgba(0, 0, 0, 0.20);

    /* 圆角 */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 31.21875rem;

    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
}
/* ========== 通用工具类 ========== */
/* 渐变背景 */
.gradient-primary {
    background: var(--gradient-primary);
}
.gradient-secondary {
    background: var(--gradient-secondary);
}
.gradient-accent {
    background: var(--gradient-accent);
}
/* 文字渐变 */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* 玻璃态效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 0.03125rem solid rgba(255, 255, 255, 0.5);
}
.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(0.625rem);
    -webkit-backdrop-filter: blur(0.625rem);
    border: 0.03125rem solid rgba(255, 255, 255, 0.2);
}
/* 高端卡片 */
.card-premium {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 0.03125rem solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-premium:active {
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
}
/* 发光效果 */
.glow-primary {
    box-shadow: 0 0 0 0.25rem rgba(233, 30, 99, 0.1),
        0 0.25rem 0.75rem rgba(233, 30, 99, 0.2);
}
.glow-secondary {
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.1),
        0 0.25rem 0.75rem rgba(76, 175, 80, 0.2);
}
/* 徽章样式 */
.badge-premium {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-sm);
}
/* 文字阴影 */
.text-shadow {
    text-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.1);
}
.text-shadow-strong {
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2),
        0 0.0625rem 0.25rem rgba(0, 0, 0, 0.15);
}
/* ========== 动画 ========== */
/* 淡入向上 */
@keyframes fadeInUp {
from {
        opacity: 0;
        transform: translateY(1.25rem);
}
to {
        opacity: 1;
        transform: translateY(0);
}
}
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}
/* 缩放进入 */
@keyframes scaleIn {
from {
        opacity: 0;
        transform: scale(0.9);
}
to {
        opacity: 1;
        transform: scale(1);
}
}
.animate-scaleIn {
    animation: scaleIn 0.4s ease-out;
}
/* 浮动 */
@keyframes float {
0%,
    100% {
        transform: translateY(0);
}
50% {
        transform: translateY(-0.375rem);
}
}
.animate-float {
    animation: float 3s ease-in-out infinite;
}
/* 脉冲 */
@keyframes pulse {
0%,
    100% {
        transform: scale(1);
        opacity: 1;
}
50% {
        transform: scale(1.05);
        opacity: 0.9;
}
}
.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}
/* 旋转 */
@keyframes rotate {
from {
        transform: rotate(0deg);
}
to {
        transform: rotate(360deg);
}
}
.animate-rotate {
    animation: rotate 2s linear infinite;
}
/* ========== 按钮样式 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 0.25rem 0.75rem rgba(233, 30, 99, 0.3);
}
.btn-primary:active {
    transform: scale(0.95);
    box-shadow: 0 0.125rem 0.375rem rgba(233, 30, 99, 0.4);
}
.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: 0 0.25rem 0.75rem rgba(76, 175, 80, 0.3);
}
.btn-secondary:active {
    transform: scale(0.95);
    box-shadow: 0 0.125rem 0.375rem rgba(76, 175, 80, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 0.0625rem solid var(--color-primary);
}
.btn-outline:active {
    background: var(--color-primary-lighter);
}
/* ========== 输入框样式 ========== */
/* 输入框样式应在各页面scoped样式中定义，避免全局样式冲突 */
/* ========== 标签页样式 ========== */
.tab-bar {
    display: flex;
    background: white;
    border-top: 0.03125rem solid var(--color-gray-lighter);
    box-shadow: 0 -0.125rem 0.5rem rgba(0, 0, 0, 0.05);
}
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}
.tab-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-bottom: 0.25rem;
}
.tab-text {
    font-size: 0.625rem;
    color: var(--color-gray-light);
}
.tab-item.active .tab-text {
    color: var(--color-primary);
    font-weight: 600;
}
/* ========== 图标容器 ========== */
.icon-wrapper {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFE8F0 0%, #FFD4E5 100%);
    box-shadow: var(--shadow-sm);
}
.icon-image {
    width: 2.25rem;
    height: 2.25rem;
}
/* ========== 响应式辅助 ========== */
.flex {
    display: flex;
}
.flex-col {
    flex-direction: column;
}
.items-center {
    align-items: center;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.gap-sm {
    gap: var(--spacing-sm);
}
.gap-md {
    gap: var(--spacing-md);
}
.gap-lg {
    gap: var(--spacing-lg);
}
/* ========== 文字样式 ========== */
.text-xs {
    font-size: 0.625rem;
}
.text-sm {
    font-size: 0.75rem;
}
.text-base {
    font-size: 0.875rem;
}
.text-lg {
    font-size: 1rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.font-bold {
    font-weight: bold;
}
.font-semibold {
    font-weight: 600;
}
.text-center {
    text-align: center;
}
.text-primary {
    color: var(--color-primary);
}
.text-secondary {
    color: var(--color-secondary);
}
.text-gray {
    color: var(--color-gray);
}
/* ========== 间距工具 ========== */
.p-xs {
    padding: var(--spacing-xs);
}
.p-sm {
    padding: var(--spacing-sm);
}
.p-md {
    padding: var(--spacing-md);
}
.p-lg {
    padding: var(--spacing-lg);
}
.p-xl {
    padding: var(--spacing-xl);
}
.m-xs {
    margin: var(--spacing-xs);
}
.m-sm {
    margin: var(--spacing-sm);
}
.m-md {
    margin: var(--spacing-md);
}
.m-lg {
    margin: var(--spacing-lg);
}
.m-xl {
    margin: var(--spacing-xl);
}
uni-page-body {
  background-color: #F5F7FA;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}
body {
  background-color: #F5F7FA;
}
