/* 没人要 2.0 - 共享样式 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  background: #F4EFE6;
  color: #3A2E25;
  -webkit-font-smoothing: antialiased;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  padding-top: max(8px, env(safe-area-inset-top));
  padding-bottom: calc(128px + env(safe-area-inset-bottom));
}
a { color: inherit; text-decoration: none; }

/* 状态栏 */
.status-bar {
  display: none;
  height: 44px;
  justify-content: space-between; align-items: flex-end;
  padding: 0 24px 6px;
  font-size: 15px; font-weight: 600;
}
.status-bar .right { display: flex; align-items: center; gap: 6px; }
.battery { width: 26px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; padding: 1px; }
.battery::after { content: ""; position: absolute; right: -3px; top: 3px; width: 2px; height: 4px; background: currentColor; border-radius: 0 1px 1px 0; }
.battery .fill { display: block; height: 100%; width: 80%; background: currentColor; border-radius: 1px; }

/* 顶部导航 */
.top-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 14px 12px;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { width: 18px; height: 18px; stroke: #3A2E25; fill: none; stroke-width: 2; }

/* 底部 Tab - 全站统一 */
.tab-bar {
  position: fixed; bottom: env(safe-area-inset-bottom); left: 0; right: 0;
  max-width: 480px; margin: 0 auto;
  height: 78px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  display: flex; align-items: flex-start; justify-content: space-around;
  padding: 12px 30px 0;
  z-index: 100;
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px; color: #A89887; padding-top: 0;
  cursor: pointer;
}
.tab.active { color: #FF6B3D; }
.tab svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; }
.tab.active svg { stroke: #FF6B3D; }
.tab.active svg.filled { fill: #FF6B3D; stroke: #FF6B3D; }
.post-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6B3D, #FF8A5B);
  display: flex; align-items: center; justify-content: center;
  margin-top: -10px;
  box-shadow: 0 6px 20px rgba(255, 107, 61, 0.4);
}
.post-btn svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 2.5; }

.home-indicator {
  display: none;
  position: fixed; bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 134px; height: 5px;
  background: #2E2519; border-radius: 3px;
  opacity: 0.85; z-index: 200;
}
@media (min-width: 481px) {
  body { box-shadow: 0 0 40px rgba(0,0,0,0.06); }
}
