/* ── 垃圾回收 App · 展厅级海报与单机高保真交互样式系统 ── */
:root {
  --eco-primary: #9AE030;
  --eco-primary-hover: #A8EE38;
  --eco-primary-dark: #7DBF1F;
  --eco-light: #F4F8F1;
  --eco-tag: #E7F6D1;
  --canvas-bg: #09110B;
  --canvas-surface: #0E1A11;
  --text-main: #1D232A;
  --text-muted: #8E98A5;
  --text-sub: #555E68;
  --card-bg: #FFFFFF;
  --radius-card: 18px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", STSong, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-base);
  background-color: var(--canvas-bg);
  background-image: 
    radial-gradient(ellipse 55% 50% at 75% 50%, rgba(154, 224, 48, 0.14) 0%, transparent 70%),
    radial-gradient(circle 380px at 15% 25%, rgba(154, 224, 48, 0.08) 0%, transparent 60%);
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  position: relative;
  overflow-x: hidden;
}

/* ── 展厅双栏舞台容器 (对标参考图: 左侧大字画幅海报 + 右侧真机) ── */
.showcase-canvas-wrapper {
  width: 100%;
  max-width: 1240px;
  min-height: 860px;
  background: linear-gradient(135deg, #0D1710 0%, #08100B 100%);
  border: 1px solid rgba(154, 224, 48, 0.18);
  border-radius: 36px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

/* 展厅微光倒影与暗纹 */
.showcase-canvas-wrapper::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(154, 224, 48, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ══════════════════════════════════════════
   左侧：故事化设计排版区 (Editorial Poster)
   ══════════════════════════════════════════ */
.poster-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 20px;
  z-index: 10;
}

/* 顶部序号徽章与品牌 */
.poster-top-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
}

.poster-badge-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(154, 224, 48, 0.6);
  color: var(--eco-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: monospace;
}

.poster-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.poster-brand-symbol {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--eco-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.poster-brand-symbol::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0D1710;
}

.poster-brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #FFFFFF;
}

.poster-brand-en {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.2em;
  margin-top: 1px;
}

/* 中间大字故事排版区 (完全对标参考图) */
.poster-middle-content {
  margin: auto 0;
}

.poster-kicker-en {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(154, 224, 48, 0.9);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.poster-headline {
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.poster-headline span.highlight {
  color: var(--eco-primary);
  display: inline-block;
}

.poster-paragraph {
  font-size: 14px;
  line-height: 1.85;
  color: #9CB1A3;
  max-width: 440px;
  margin-bottom: 36px;
}

.poster-divider-line {
  width: 100%;
  max-width: 420px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
}

.poster-sub-feature {
  max-width: 440px;
}

.poster-sub-feature-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--eco-primary);
  margin-bottom: 8px;
}

.poster-sub-feature-desc {
  font-size: 12.5px;
  line-height: 1.8;
  color: #7A8E81;
}

/* 底部标语 */
.poster-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ══════════════════════════════════════════
   右侧：iPhone 真机交互容器 (Matching Theme)
   ══════════════════════════════════════════ */
.phone-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}

.phone-footer-caption {
  display: flex;
  justify-content: space-between;
  width: 380px;
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  font-family: monospace;
}

/* 匹配咖啡参考图的手机外壳色彩体系：深墨绿边框 + 柔和流光 */
.phone-mockup {
  width: 380px;
  height: 780px;
  background-color: var(--eco-light);
  border-radius: 46px;
  border: 10px solid #142217;
  box-shadow: 
    0 25px 70px rgba(0, 0, 0, 0.75), 
    0 0 0 1px rgba(154, 224, 48, 0.25),
    0 0 40px rgba(154, 224, 48, 0.12);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 20px;
  background-color: #142217;
  border-radius: 12px;
  z-index: 50;
  pointer-events: none;
}

.status-bar {
  height: 42px;
  padding: 10px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  z-index: 40;
}

.status-time {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 屏幕视图容器 */
.screen-view {
  display: none;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 74px;
  position: relative;
}

.screen-view.active {
  display: flex;
  animation: fadeIn 0.18s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.screen-view::-webkit-scrollbar {
  display: none;
}

/* 底部原生 TabBar */
.bottom-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  z-index: 45;
  padding-bottom: 8px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.04);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #9AA3AF;
  font-size: 10px;
  font-weight: 500;
  gap: 3px;
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.15s ease;
}

.tab-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.tab-item.active {
  color: var(--eco-primary-dark);
  font-weight: 700;
}

.tab-item.active svg {
  stroke: var(--eco-primary-dark);
}

.home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background-color: #142217;
  border-radius: 4px;
  z-index: 55;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   手机内部模块样式
   ══════════════════════════════════════════ */
.curved-header {
  background: linear-gradient(180deg, #A4E034 0%, #8FD325 100%);
  padding: 10px 18px 24px;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
  position: relative;
  box-shadow: 0 8px 20px rgba(164, 224, 52, 0.25);
}

.home-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.location-picker {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #1A222B;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.search-pill-box {
  flex: 1;
  background: #FFFFFF;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  padding: 3px 4px 3px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-pill-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12px;
  color: var(--text-main);
  background: transparent;
}

.search-pill-box input::placeholder {
  color: #A0A9B5;
}

.search-btn {
  background: #232A35;
  color: #FFFFFF;
  border: none;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.hero-banner-card {
  margin: 14px 16px 0;
  background: linear-gradient(135deg, #FEFDEB 0%, #F8FBE6 100%);
  border-radius: 20px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(164, 224, 52, 0.2);
}

.banner-brand-ccc {
  display: flex;
  gap: 3px;
  margin-bottom: 6px;
}

.ccc-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #82CA1F;
}

.hero-banner-title {
  font-size: 20px;
  font-weight: 800;
  color: #1A222B;
  line-height: 1.2;
}

.hero-banner-sub {
  font-size: 11px;
  color: #727C88;
  margin-top: 6px;
  line-height: 1.4;
}

.hero-banner-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #222A36;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

.banner-mascot {
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 140px;
  height: 120px;
  pointer-events: none;
}

.user-mini-card {
  margin: 12px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.user-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--eco-primary);
  overflow: hidden;
  background: #E8F4D5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-name-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.user-carbon-text {
  font-size: 10px;
  color: #8C96A3;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-carbon-tag {
  color: #5BA112;
  font-weight: 600;
}

.user-qr-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F4F7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.action-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 16px 0;
}

.action-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.action-card:active {
  transform: scale(0.98);
}

.action-card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
}

.action-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.action-card-sub {
  font-size: 11px;
  color: #8C96A3;
  margin-top: 3px;
}

.badge-collection-card {
  margin: 12px 16px 0;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.badge-sub {
  font-size: 10px;
  color: #9AA3AF;
}

.badge-cta-btn {
  background: #232A35;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

.badges-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.badge-item {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.badge-item.unlocked {
  background: #242B36;
  color: #9AE030;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-item.locked {
  background: #F1F4EE;
  color: #B5BFCD;
  border: 1px dashed #D3DDCF;
}

.bottom-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 16px 0;
}

.dual-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.dual-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.dual-card-sub {
  font-size: 10px;
  color: #8C96A3;
  margin-top: 2px;
}

.dual-card-icon {
  width: 34px;
  height: 34px;
}

/* 回收模式页 */
.recycle-header-text {
  padding: 14px 20px 8px;
}

.recycle-header-title {
  font-size: 22px;
  font-weight: 800;
  color: #1A222B;
}

.recycle-header-sub {
  font-size: 12px;
  color: #556270;
  margin-top: 4px;
}

.recycle-options-list {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recycle-choice-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.035);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.recycle-choice-card:hover {
  border-color: rgba(154, 224, 48, 0.5);
}

.choice-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.choice-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F4F8EE;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.choice-sub {
  font-size: 11px;
  color: #8C96A3;
  margin-top: 4px;
}

.choice-illustration {
  width: 96px;
  height: 80px;
}

/* 自助回收流程下单页 */
.page-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: var(--eco-light);
}

.nav-back-btn {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #1A222B;
  padding: 4px 8px;
}

.nav-page-title {
  font-size: 15px;
  font-weight: 700;
  color: #1A222B;
}

.nav-more-dots {
  font-size: 18px;
  color: #1A222B;
  cursor: pointer;
  padding: 4px 8px;
}

.scan-trigger-box {
  margin: 10px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1.5px dashed var(--eco-primary);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(154, 224, 48, 0.1);
}

.scan-prompt-text {
  font-size: 12px;
  font-weight: 600;
  color: #5BA112;
}

.steps-flow-card {
  margin: 12px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #6C7785;
  font-weight: 500;
}

.step-node svg {
  width: 18px;
  height: 18px;
  stroke: #2E3844;
}

.step-arrow {
  color: #C8D2DE;
  font-size: 11px;
}

.rule-card {
  margin: 12px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.rule-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.rule-badge {
  font-size: 9px;
  color: #2F6904;
  background: #E8F8D0;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.rule-desc {
  font-size: 10px;
  color: #8C96A3;
  line-height: 1.5;
}

.category-select-card {
  margin: 12px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.cat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cat-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.cat-sub {
  font-size: 10px;
  color: #98A2B0;
}

.cat-items-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.cat-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 2px;
  border-radius: 12px;
  background: #F7FAF5;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-item-btn.selected {
  background: #F0F9E2;
  border-color: var(--eco-primary);
}

.cat-item-icon {
  width: 24px;
  height: 24px;
}

.cat-item-name {
  font-size: 10px;
  color: var(--text-main);
  font-weight: 600;
}

.method-switch-card {
  margin: 12px 16px 0;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.method-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.method-btns-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.method-btn {
  padding: 12px;
  border-radius: 12px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: all 0.15s ease;
}

.method-btn.default {
  background: #F5F7FA;
  color: #555E68;
}

.method-btn.selected {
  background: #232A35;
  color: #FFFFFF;
}

.method-badge {
  position: absolute;
  top: -6px;
  right: 6px;
  background: #FCD535;
  color: #5E4600;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.info-cell-card {
  margin: 10px 16px 0;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.info-label {
  font-size: 12px;
  color: #727C88;
}

.info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.agreement-row {
  margin: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: #8E98A5;
}

.agreement-check {
  color: #5BA112;
  font-weight: bold;
  cursor: pointer;
}

.agreement-link {
  color: var(--text-main);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.order-submit-btn-row {
  margin: 0 16px 16px;
}

.order-submit-cta {
  width: 100%;
  padding: 13px;
  background: #232A35;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 个人中心 */
.profile-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 20px;
}

.profile-user-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.profile-name {
  font-size: 17px;
  font-weight: 800;
  color: #1A222B;
}

.profile-id {
  font-size: 10px;
  color: #4C5764;
  margin-top: 2px;
  font-family: monospace;
}

.profile-qr-box {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carbon-stats-card {
  margin: -10px 16px 0;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 10;
}

.stats-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #F0F4ED;
}

.stats-tag-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1A222B;
}

.stats-arrow-right {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #232A35;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
}

.stats-3-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 14px 0 10px;
  text-align: center;
}

.col-label {
  font-size: 10px;
  color: #8C96A3;
  margin-bottom: 4px;
}

.col-val {
  font-size: 18px;
  font-weight: 800;
  color: #1A222B;
}

.col-sub {
  font-size: 10px;
  color: #8C96A3;
  margin-top: 2px;
}

.stats-detail-btn {
  width: 100%;
  padding: 8px 0;
  border-radius: var(--radius-pill);
  border: 1px solid #E5EBE1;
  background: #FAFDF7;
  color: #4B5664;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
}

.profile-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 16px 0;
}

.p-action-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.p-card-icon-round {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #242B36;
  color: #9AE030;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.p-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.p-card-sub {
  font-size: 10px;
  color: #8C96A3;
  margin-top: 2px;
}

.menu-group-card {
  margin: 12px 16px 14px;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 4px 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.menu-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.menu-item-row:hover {
  background: #F9FAF7;
}

.menu-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #2D3748;
  font-weight: 500;
}

.menu-item-icon {
  width: 18px;
  height: 18px;
  color: #4A5568;
}

.menu-item-arrow {
  color: #C0C8D2;
  font-size: 12px;
}

/* 绿色社区 */
.community-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4px 10px;
}

.community-header-title {
  font-size: 20px;
  font-weight: 800;
  color: #1A222B;
  letter-spacing: -0.02em;
}

.community-header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.community-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: #1A222B;
}

.community-subtabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 2px;
}

.community-subtabs-bar::-webkit-scrollbar {
  display: none;
}

.comm-tab-pill {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: #242E3B;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.comm-tab-pill.active {
  background: #FFFFFF;
  color: #1A222B;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.community-topic-banner {
  margin: 12px 16px 0;
  background: linear-gradient(135deg, #FFFDF0 0%, #F5FBE6 100%);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(154, 224, 48, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.topic-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topic-fire-badge {
  background: #E8F8CE;
  color: #4D8E09;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
}

.topic-name {
  font-size: 13px;
  font-weight: 700;
  color: #1A222B;
}

.topic-heat {
  font-size: 10px;
  color: #8C96A3;
  margin-top: 1px;
}

.topic-join-btn {
  background: #232A35;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
}

.community-feed-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comm-post-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.035);
}

.post-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.post-author-info {
  display: flex;
  align-items: center;
  gap: 9px;
}

.post-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--eco-primary);
}

.post-author-name {
  font-size: 13px;
  font-weight: 700;
  color: #1A222B;
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-level-tag {
  font-size: 9px;
  color: #2F6904;
  background: #E8F8D0;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.post-meta-sub {
  font-size: 10px;
  color: #9AA3AF;
  margin-top: 2px;
}

.post-follow-btn {
  background: #F4F8EE;
  color: #5BA112;
  border: 1px solid rgba(154, 224, 48, 0.4);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.post-body-text {
  font-size: 12.5px;
  color: #2E3844;
  line-height: 1.55;
  margin-bottom: 10px;
}

.post-photos-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
}

.post-photo-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  background: #EEF2F6;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.post-photo-img:hover {
  transform: scale(1.02);
}

.post-tags-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.post-tag-item {
  font-size: 10px;
  color: #5BA112;
  background: #F2F8EB;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}

.post-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #F3F6F0;
}

.action-left-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-size: 11px;
  color: #727E8C;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s ease;
}

.post-action-btn:hover {
  color: #1A222B;
}

.post-action-btn.liked {
  color: #E11D48;
}

.post-action-btn.liked svg {
  fill: #E11D48;
  stroke: #E11D48;
}

.post-carbon-tag {
  font-size: 10px;
  color: #2C6F04;
  background: #EAF7D7;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.community-fab-btn {
  position: absolute;
  right: 16px;
  bottom: 80px;
  background: #232A35;
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 40;
  transition: transform 0.15s ease;
}

.community-fab-btn:active {
  transform: scale(0.95);
}

.community-fab-icon {
  width: 16px;
  height: 16px;
  color: var(--eco-primary);
}

/* 扫描弹窗 */
.scan-modal {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.scan-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.scan-window {
  width: 220px;
  height: 220px;
  border: 2px solid var(--eco-primary);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 0 30px rgba(154, 224, 48, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scan-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--eco-primary);
  box-shadow: 0 0 10px var(--eco-primary);
  animation: scanMove 2s infinite ease-in-out;
}

@keyframes scanMove {
  0% { top: 10px; }
  50% { top: 200px; }
  100% { top: 10px; }
}

.scan-modal-tip {
  color: #FFFFFF;
  font-size: 13px;
  margin-top: 24px;
  font-weight: 500;
}

.scan-close-btn {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
}

/* ══════════════════════════════════════════
   响应式断点适配 (移动端 / 窄屏)
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  body {
    padding: 16px 8px;
  }
  .showcase-canvas-wrapper {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 36px;
    border-radius: 28px;
  }
  .poster-column {
    padding-right: 0;
    text-align: center;
    align-items: center;
  }
  .poster-top-bar {
    margin-bottom: 24px;
  }
  .poster-paragraph, .poster-sub-feature {
    max-width: 100%;
  }
  .poster-divider-line {
    margin: 20px auto;
  }
  .poster-bottom-bar {
    width: 100%;
    padding-top: 24px;
  }
  .phone-mockup {
    width: 100%;
    max-width: 375px;
    height: 760px;
  }
}

/* Gallery mobile frame: put app content first and reserve return control space. */
@media(max-width:600px){body{display:block;padding:0;min-height:100svh;background:#f4f8f1}.showcase-canvas-wrapper{display:block;padding:0;border:0;border-radius:0;min-height:0;overflow:visible;box-shadow:none;background:none}.poster-column{display:none}.phone-column{width:100%;padding:0}.phone-mockup{max-width:none;width:100%;height:calc(100svh - 58px);border-radius:0;border:0;box-shadow:none}.uiji-return{bottom:8px}}

@media(max-width:600px){.phone-column,.phone-mockup,.screen-view{min-width:0;max-width:100%}.community-subtabs-bar{width:100%;min-width:0;max-width:100%}.comm-tab-pill{flex-shrink:0}}

@media(max-width:600px){.showcase-canvas-wrapper::after{display:none}}

@media(max-width:600px){.phone-footer-caption{display:none}.badge-item{flex-shrink:0}.badges-track{grid-template-columns:repeat(8,minmax(0,1fr));gap:3px}.badge-item{width:27px;height:27px}}
