/* 首页样式 - 通过index.html直接引入 */

.home-page { min-height: 100vh; background-color: #f5f6fa; }
.header-area { position: relative; background: linear-gradient(135deg, #ff8c42 0%, #ff6b1a 40%, #f05a22 100%); padding: 52px 20px 36px; overflow: hidden; }
.header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; position: relative; z-index: 2; }
.store-name { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.switch-store { display: flex; align-items: center; gap: 4px; background: rgba(255,255,255,0.2); border-radius: 14px; padding: 5px 10px; font-size: 12px; color: #fff; }
.header-revenue { text-align: center; position: relative; z-index: 2; }
.revenue-number { display: block; font-size: 48px; font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -2px; }
.revenue-label { display: block; font-size: 13px; color: rgba(255,255,255,0.85); margin-top: 4px; }
.header-decor { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; }
.decor-circle { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.08); }
.decor-circle-1 { width: 140px; height: 140px; top: -50px; right: -30px; }
.decor-circle-2 { width: 80px; height: 80px; bottom: -20px; left: -10px; background: rgba(255,255,255,0.06); }
.decor-dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.2); }
.decor-dot-1 { width: 8px; height: 8px; top: 60px; left: 25%; }
.decor-dot-2 { width: 6px; height: 6px; top: 90px; right: 28%; }
.decor-wave { position: absolute; bottom: -2px; left: 0; right: 0; height: 24px; background: #f5f6fa; border-radius: 100% 100% 0 0 / 100% 100% 0 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; margin: -16px 12px 0; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: relative; z-index: 3; overflow: hidden; }
.stat-item { padding: 16px 8px 14px; text-align: center; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 16px; bottom: 14px; width: 1px; background: #eee; }
.stat-value { font-size: 22px; font-weight: 700; color: #323233; line-height: 1.2; display: flex; align-items: center; justify-content: center; gap: 2px; }
.stat-value--danger { color: #ee0a24; }
.refund-badge { transform: scale(0.75); }
.stat-label { font-size: 11px; color: #969799; margin-top: 4px; }
.notice-bar { display: flex; align-items: center; gap: 8px; margin: 12px 12px 0; padding: 10px 14px; background: #e8f4fd; border-radius: 8px; font-size: 12px; color: #555; }
.notice-text { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.section-header { display: flex; align-items: center; justify-content: center; margin: 18px 12px 10px; position: relative; }
.section-header::before, .section-header::after { content: ''; flex: 1; max-width: 40px; height: 1px; background: #ddd; }
.section-title { font-size: 15px; font-weight: 600; color: #323233; padding: 0 12px; }
.func-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 12px; background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.04); overflow: hidden; }
.func-item { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 18px 8px 16px; position: relative; cursor: pointer; transition: background-color 0.15s; -webkit-tap-highlight-color: transparent; }
.func-item:active { background-color: #f7f8fa; }
.func-item:not(:nth-child(3n))::after { content: ''; position: absolute; right: 0; top: 20px; bottom: 16px; width: 1px; background: #f0f0f0; }
.func-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.func-icon--orange { background: rgba(255,107,53,0.1); }
.func-icon--blue { background: rgba(25,137,250,0.1); }
.func-icon--red { background: rgba(238,10,36,0.08); }
.func-icon--yellow { background: rgba(255,151,106,0.12); }
.func-text { font-size: 12px; color: #323233; font-weight: 500; }
.picker-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f5f5f5; }
.picker-title { font-size: 16px; font-weight: 600; color: #323233; }
.safe-bottom { height: env(safe-area-inset-bottom, 20px); }