/* 商家端逍遥梦风格 - 公共布局/色板（仅 UI） */

.flex { display: flex; align-items: center; }
.flexb { display: flex; align-items: center; justify-content: space-between; }
.flexa { display: flex; align-items: center; justify-content: space-around; }
.flexm { display: flex; align-items: center; justify-content: center; }
.flexmc { display: flex; flex-direction: column; align-items: center; justify-content: center; }

.sj-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #f7dc51 0%, #fff 28%, #fff8e1 100%);
  box-sizing: border-box;
  overflow: hidden;
}

.sj-page-header {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.sj-nav-title {
  font-size: 34rpx;
  font-weight: 700;
  color: #343434;
}

.sj-scroll {
  flex: 1;
  height: 0;
}

.sj-mx20 {
  margin-left: 24rpx;
  margin-right: 24rpx;
}

.sj-panel {
  background: #fdfcfa;
  border-radius: 20rpx;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.sj-btn-outline {
  padding: 10rpx 24rpx;
  font-size: 26rpx;
  font-weight: 700;
  border: 2rpx solid #fff;
  border-radius: 60rpx;
  background: linear-gradient(180deg, #fae04d, #ffc0a3);
  color: #492f00;
  white-space: nowrap;
}

.sj-btn-bg {
  background: linear-gradient(180deg, #fae04d, #ffc0a3);
  border-radius: 60rpx;
  color: #492f00;
  font-weight: 700;
}

.sj-identity-tag {
  margin-left: 8rpx;
  font-size: 20rpx;
  padding: 4rpx 12rpx;
  border-radius: 8rpx;
  background: #ffb74d;
  color: #fff;
}

.sj-wallet-card {
  margin: 0 30rpx;
  padding: 24rpx 20rpx;
  border-radius: 26rpx;
  background: #fef6d4;
}

.sj-w-label {
  color: #666;
  font-size: 26rpx;
}

.sj-w-num {
  font-size: 44rpx;
  font-weight: 700;
  color: #222;
  margin-top: 10rpx;
}

.sj-w-sub {
  color: #666;
  font-size: 26rpx;
  margin-top: 8rpx;
}

.sj-section-hd {
  padding: 16rpx 24rpx 8rpx;
  font-size: 32rpx;
  font-weight: 700;
  color: #343434;
}

.sj-fadan-row {
  display: flex;
  gap: 16rpx;
  margin: 16rpx 0 0;
}

.sj-fadan-btn {
  flex: 1;
  height: 150rpx;
  border-radius: 20rpx;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.08);
}

.sj-fadan-btn-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16rpx;
  box-sizing: border-box;
}

.sj-fadan-btn--regular {
  background: linear-gradient(135deg, #fff8e1, #ffe0b2);
}

.sj-fadan-btn--custom {
  background: linear-gradient(135deg, #fef6d4, #ffd061);
}

.sj-fadan-title {
  font-size: 30rpx;
  font-weight: 700;
  color: #492f00;
}

.sj-fadan-sub {
  font-size: 22rpx;
  color: #886633;
  margin-top: 8rpx;
}

.sj-notice-bar {
  display: flex;
  align-items: center;
  background: #fdf9db;
  margin: 14rpx 24rpx 0;
  border-radius: 10rpx;
  padding: 10rpx 16rpx;
}

.sj-notice-txt {
  font-size: 24rpx;
  color: #4a3000;
  line-height: 1.4;
  flex: 1;
}

.sj-stat-card {
  margin: 16rpx 24rpx 0;
  padding: 20rpx 16rpx 16rpx;
  border-radius: 20rpx;
  background: #fff;
  box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.sj-stat-row {
  display: flex;
  align-items: stretch;
  padding: 12rpx 8rpx;
}

.sj-stat-col {
  flex: 1;
  text-align: center;
  padding: 8rpx 4rpx;
}

.sj-stat-divider {
  width: 1rpx;
  background: rgba(0, 0, 0, 0.06);
  margin: 8rpx 0;
}

.sj-stat-lbl {
  display: block;
  font-size: 22rpx;
  color: #888;
}

.sj-stat-num {
  display: block;
  font-size: 36rpx;
  font-weight: 700;
  color: #e67e22;
  margin-top: 8rpx;
}

.sj-kefu-row {
  display: flex;
  gap: 16rpx;
  margin-top: 16rpx;
  padding-top: 12rpx;
  border-top: 1rpx dashed rgba(0, 0, 0, 0.08);
}

.sj-kefu-entry {
  flex: 1;
  text-align: center;
  padding: 16rpx 8rpx;
  border-radius: 12rpx;
  background: linear-gradient(180deg, #fff8e1, #fef6d4);
  font-size: 24rpx;
  color: #492f00;
  font-weight: 600;
}

.sj-recent-item {
  padding: 20rpx 24rpx;
  border-bottom: 1rpx solid rgba(0, 0, 0, 0.04);
}

.sj-recent-name {
  font-size: 28rpx;
  font-weight: 600;
  color: #333;
}

.sj-recent-sub {
  font-size: 22rpx;
  color: #999;
  margin-top: 6rpx;
}

.sj-recent-money {
  font-size: 30rpx;
  font-weight: 700;
  color: #e67e22;
  flex-shrink: 0;
  margin-left: 16rpx;
}

.sj-order-nav {
  display: flex;
  flex-wrap: wrap;
  padding: 8rpx 0 16rpx;
}

.sj-order-nav-item {
  width: 25%;
  padding: 16rpx 0;
  text-align: center;
}

.sj-order-nav-num {
  display: block;
  font-size: 32rpx;
  font-weight: 700;
  color: #222;
}

.sj-order-nav-lbl {
  display: block;
  font-size: 22rpx;
  color: #999;
  margin-top: 6rpx;
}

.sj-func-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 8rpx 0 16rpx;
}

.sj-func-item {
  width: 25%;
  padding: 20rpx 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sj-func-icon {
  width: 48rpx;
  height: 48rpx;
  margin-bottom: 8rpx;
}

.sj-func-txt {
  font-size: 24rpx;
  color: #666;
  text-align: center;
}

.sj-scroll-bottom {
  height: 24rpx;
}
