:root {
  --bg-app: #fcf8ee;
  --bg-card: #ffffff;
  --bg-pill: #fff5d7;
  --bg-header-yellow: #fedb71;
  --bg-accent-yellow: #fcd45a;
  --primary-yellow: #f5b942;
  --text-dark: #3a2817;
  --text-medium: #5c4735;
  --text-muted: #786450;
  --brand-title-color: #352313;
  --brand-sub-color: #725940;
  --brand-kicker: #ab7f45;
  --border-light: #f2e9d7;
  --border-soft: #faecd0;
  --color-green: #4caf50;
  --color-red: #ea645a;
  --color-orange: #f59e42;
  --radius-card: 20px;
  --radius-pill: 999px;
  --font-base: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --shadow-sm: 0 2px 8px rgba(110, 80, 40, 0.04);
  --shadow-md: 0 4px 18px rgba(110, 80, 40, 0.07);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* 页面大背景：采用与 APP 完全呼应的温暖燕麦奶咖 / 治愈暖黄柔光 */
body {
  font-family: var(--font-base);
  background: radial-gradient(circle at 68% 45%, #fff9ec 0%, #f6ebe0 50%, #eee0cd 100%);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.5;
  user-select: none;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 主舞台包裹容器：左侧品牌质感排版，右侧单机高保真交互 */
.app-showcase-container {
  width: 100%;
  max-width: 1320px;
  min-height: 100vh;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin: 0 auto;
}

/* ================= 左侧品牌故事与产品理念（参考半日排版） ================= */
.brand-narrative-column {
  flex: 1;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.brand-top-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-badge-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #d4c0aa;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-sub-color);
  background: rgba(255, 255, 255, 0.4);
}
.brand-app-id {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand-title-color);
}
.brand-app-id .brand-circle-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-header-yellow);
  border: 2px solid #352313;
  display: inline-block;
  position: relative;
}
.brand-app-id .brand-circle-icon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: #352313;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.brand-app-en {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--brand-sub-color);
  font-weight: 700;
}

.brand-kicker-en {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--brand-kicker);
  font-weight: 700;
  text-transform: uppercase;
}

.brand-main-headline {
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 1.16;
  font-weight: 800;
  color: var(--brand-title-color);
  letter-spacing: -0.02em;
}

.brand-intro-paragraph {
  font-size: 15px;
  line-height: 1.7;
  color: var(--brand-sub-color);
  max-width: 460px;
}

.brand-feature-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 175, 145, 0.5) 0%, rgba(200, 175, 145, 0) 100%);
  margin: 4px 0;
}

.brand-feature-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-feature-item .feature-index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--brand-kicker);
}
.brand-feature-item p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--brand-sub-color);
  max-width: 440px;
}

.brand-footer-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #8c7660;
  letter-spacing: 1px;
  padding-top: 14px;
}

/* ================= 右侧单机高保真交互手机模型 ================= */
.phone-showcase-column {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 单机设备外框：柔和高级白金边缘与真实投影 */
.single-phone-device {
  width: 360px;
  height: 750px;
  background: var(--bg-app);
  border-radius: 46px;
  box-shadow: 0 30px 80px rgba(130, 90, 45, 0.16), 0 8px 24px rgba(130, 90, 45, 0.08), 0 0 0 10px #ffffff, 0 0 0 12px #eddcc4;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

/* 顶部状态栏 */
.status-bar {
  height: 40px;
  padding: 8px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  z-index: 20;
}
.status-bar-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 各页面独立 Pane 容器 */
.screen-pane {
  flex: 1;
  display: none;
  flex-direction: column;
  overflow: hidden;
  height: calc(100% - 40px);
  position: relative;
}
.screen-pane.active {
  display: flex;
  animation: fadeInPane 0.25s ease-out;
}
@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 内容滚动区 */
.phone-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px 16px 76px;
  position: relative;
  scrollbar-width: none;
}
.phone-content::-webkit-scrollbar {
  display: none;
}
.phone-content.no-tabbar {
  padding-bottom: 24px;
}

/* 页面内返回条（例如从添加手记返回首页） */
.subpage-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 12px;
}
.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(110, 80, 40, 0.05);
}
.btn-back-home:active {
  transform: scale(0.95);
  background: var(--bg-pill);
}

/* 底部常驻导航栏（首页、健康、好价、我的） */
.tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 66px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px 12px;
  z-index: 30;
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.tab-item.active {
  color: var(--text-dark);
  font-weight: 700;
}
.tab-item.active::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 16px;
  height: 3px;
  background: var(--primary-yellow);
  border-radius: 2px;
}
.tab-icon {
  width: 22px;
  height: 22px;
}

/* 底部手势横条 */
.home-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #2b2b2b;
  border-radius: 2px;
  z-index: 40;
}

/* ================= 业务卡片与组件 ================= */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(240, 230, 210, 0.6);
}

/* 宠物顶部档案栏 */
.pet-profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pet-info-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pet-avatar-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-header-yellow);
  box-shadow: 0 2px 6px rgba(110, 80, 40, 0.15);
  background: #fdf5e6;
}
.pet-meta h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}
.pet-meta p {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.btn-switch-pet {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid var(--border-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: transform 0.25s;
}
.btn-switch-pet:hover {
  transform: rotate(180deg);
}

/* 快捷操作横排 */
.quick-action-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}
.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.quick-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-pill);
  border: 1px solid rgba(250, 215, 120, 0.5);
  display: grid;
  place-items: center;
  transition: transform 0.18s;
}
.quick-action-btn:active .quick-icon-wrap {
  transform: scale(0.92);
}
.quick-action-btn span {
  font-size: 11px;
  color: var(--text-dark);
  font-weight: 500;
}

/* 猫耳日历导航条 */
.cat-calendar-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 2px;
}
.cat-day-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.cat-ear-shape {
  width: 33px;
  height: 44px;
  background: #ffffff;
  border: 1.5px solid #ebdcc5;
  border-radius: 12px 12px 10px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat-ear-shape::before,
.cat-ear-shape::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 9px;
  height: 9px;
  background: inherit;
  border-top: 1.5px solid #ebdcc5;
  border-left: 1.5px solid #ebdcc5;
  transform: rotate(45deg);
  border-top-left-radius: 3px;
}
.cat-ear-shape::before {
  left: 3px;
}
.cat-ear-shape::after {
  right: 3px;
  transform: rotate(45deg);
}
.cat-day-badge.active .cat-ear-shape {
  background: var(--bg-header-yellow);
  border-color: #f0c540;
}
.cat-day-badge.active .cat-ear-shape::before,
.cat-day-badge.active .cat-ear-shape::after {
  background: var(--bg-header-yellow);
  border-color: #f0c540;
}
.cat-day-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}
.cat-month-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 今日待办卡片 */
.todo-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(240, 230, 210, 0.6);
}
.todo-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #f0e4cc;
}
.todo-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}
.todo-card-date {
  font-size: 11px;
  color: var(--text-muted);
}
.todo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.todo-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.todo-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg-pill);
  display: grid;
  place-items: center;
}
.todo-texts strong {
  font-size: 13px;
  color: var(--text-dark);
  display: block;
}
.todo-texts span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}
.todo-check-btn {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid #dcd1be;
  display: grid;
  place-items: center;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: transparent;
  font-size: 12px;
  font-weight: bold;
}
.todo-check-btn.checked {
  background: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: #ffffff;
  transform: scale(1.08);
}

/* 宠物活动记录 */
.activity-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(240, 230, 210, 0.6);
}
.activity-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.activity-time {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}
.activity-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--bg-header-yellow);
}
.activity-desc {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ================= 记录手记页面组件 ================= */
.tip-banner {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(240, 230, 210, 0.6);
  position: relative;
  overflow: hidden;
}
.tip-content {
  flex: 1;
}
.tip-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.tip-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 175px;
}
.sleeping-cat-art {
  width: 115px;
  height: 52px;
}

.record-segment-tab {
  display: flex;
  background: #f4ecdc;
  border-radius: var(--radius-pill);
  padding: 3px;
  margin-bottom: 16px;
  width: fit-content;
}
.record-segment-btn {
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-medium);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.record-segment-btn.active {
  background: var(--bg-header-yellow);
  color: var(--text-dark);
}

.record-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 14px 0 10px;
}
.record-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 6px;
  margin-bottom: 10px;
}
.record-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.15s;
}
.record-item:active {
  transform: scale(0.92);
}
.record-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #fae8c6;
  box-shadow: 0 2px 6px rgba(180, 140, 80, 0.05);
  display: grid;
  place-items: center;
}
.record-item span {
  font-size: 11px;
  color: var(--text-dark);
  font-weight: 500;
}

/* ================= 健康页面组件 ================= */
.health-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.health-metric-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(240, 230, 210, 0.6);
}
.metric-header {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
}
.metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}
/* 五色渐进 BCS 标尺 */
.bcs-indicator {
  display: flex;
  gap: 3px;
  margin-top: 7px;
  align-items: center;
}
.bcs-bar {
  height: 5px;
  flex: 1;
  border-radius: 2px;
  opacity: 0.35;
  transition: all 0.2s;
}
.bcs-bar.bcs-1 { background: #f5a623; }
.bcs-bar.bcs-2 { background: #8bc34a; }
.bcs-bar.bcs-3 { background: #4caf50; }
.bcs-bar.bcs-4 { background: #ff9800; }
.bcs-bar.bcs-5 { background: #f44336; }
.bcs-bar.active {
  opacity: 1;
  height: 7px;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.4);
}

.pet-tag-cloud {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.health-pill-tag {
  background: #ffffff;
  border: 1px solid #fae3b8;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.health-entry-cell {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(240, 230, 210, 0.6);
  cursor: pointer;
}
.entry-cell-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.entry-cell-title strong {
  font-size: 13px;
  color: var(--text-dark);
  display: block;
}
.entry-cell-title span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}
.chevron-right {
  font-size: 14px;
  color: #c4b5a2;
}

.weight-chart-section {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 14px;
  margin-top: 12px;
  border: 1px solid rgba(240, 230, 210, 0.6);
}
.chart-time-filter {
  display: flex;
  background: #f7eedf;
  border-radius: var(--radius-pill);
  padding: 2px;
}
.chart-filter-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 4px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.chart-filter-btn.active {
  background: var(--bg-header-yellow);
  color: var(--text-dark);
}

/* ================= 好价专区组件 ================= */
.deals-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(240, 230, 210, 0.7);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(180, 140, 80, 0.04);
}
.deals-search-bar input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 12px;
  color: var(--text-dark);
  flex: 1;
}
.deals-search-bar input::placeholder {
  color: var(--text-muted);
}

.deals-category-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.deals-category-bar::-webkit-scrollbar {
  display: none;
}
.deals-cat-chip {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-medium);
  background: #ffffff;
  border: 1px solid #ebdcc5;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}
.deals-cat-chip.active {
  background: var(--bg-header-yellow);
  color: var(--text-dark);
  border-color: #f0c540;
}

.deals-banner-card {
  background: linear-gradient(135deg, #fedb71 0%, #f7c042 100%);
  border-radius: var(--radius-card);
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 14px rgba(247, 192, 66, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.deals-banner-text strong {
  font-size: 14px;
  font-weight: 800;
  color: #382512;
  display: block;
}
.deals-banner-text p {
  font-size: 11px;
  color: #5c4224;
  margin-top: 2px;
}
.deals-banner-badge {
  background: #ffffff;
  color: #d9483b;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.deals-grid-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.deal-product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  border: 1px solid rgba(240, 230, 210, 0.6);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s;
}
.deal-product-card:active {
  transform: scale(0.985);
}
.deal-img-box {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: #fdf6ec;
  border: 1px solid #fae8c6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.deal-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}
.deal-rank-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  background: #e05347;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.deal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.deal-details h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}
.deal-tag-row {
  display: flex;
  gap: 5px;
  margin: 3px 0 5px;
}
.deal-tag {
  background: #fff4d7;
  color: #946928;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.deal-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deal-price-group {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.deal-curr {
  font-size: 12px;
  font-weight: 700;
  color: #d9483b;
}
.deal-val {
  font-size: 17px;
  font-weight: 800;
  color: #d9483b;
}
.deal-old {
  font-size: 10px;
  color: #786450;
  text-decoration: line-through;
}
.deal-buy-btn {
  background: var(--bg-header-yellow);
  border: none;
  color: var(--text-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(254, 219, 113, 0.4);
}
.deal-buy-btn:active {
  transform: scale(0.92);
  background: #f7cb45;
}

/* ================= 我的个人中心组件 ================= */
.profile-banner {
  background: var(--bg-header-yellow);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(254, 219, 113, 0.35);
}
.user-avatar-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 2px 6px rgba(110, 80, 40, 0.15);
}
.user-info h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
}
.user-info p {
  font-size: 11px;
  color: #7a6344;
  margin-top: 2px;
}

.menu-list-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(240, 230, 210, 0.6);
}
.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px dashed #f2e6d2;
  cursor: pointer;
  transition: background 0.15s;
}
.menu-item-row:last-child {
  border-bottom: none;
}
.menu-item-row:active {
  background: #fbf5e8;
}
.menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}
.menu-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-yellow);
}

/* 交互 Toast 提示 */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(40, 30, 20, 0.88);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 999;
}
.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================= 响应式适配 (< 1024px) ================= */
@media (max-width: 1024px) {
  body {
    background: var(--bg-app);
    padding: 0;
    align-items: stretch;
  }
  .app-showcase-container {
    padding: 0;
    margin: 0;
    flex-direction: column;
    justify-content: center;
  }
  .brand-narrative-column {
    display: none;
  }
  .phone-showcase-column {
    width: 100vw;
    height: 100vh;
  }
  .single-phone-device {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
}

@media(max-width:600px){.phone-showcase-column,.single-phone-device{height:calc(100svh - 58px)}.app-showcase-container{min-height:0}.uiji-return{bottom:8px}}
