* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  background: #f7f6f3;
  min-height: 100dvh;
  color: #2e2d33;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 12px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.title { font-size: 15px; font-weight: 700; color: #2e2d33; letter-spacing: 1px; }
.ph { width: 44px; }
.iconbtn.small {
  height: 24px; padding: 0 8px; border-radius: 8px;
  background: rgba(0,0,0,0.04); color: #8b8790; font-size: 10.5px;
  display: flex; align-items: center; text-decoration: none;
}

.counts-row { display: flex; gap: 10px; padding: 16px 14px 6px; }
.count-card {
  flex: 1; background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.045); border-radius: 16px;
  padding: 16px; text-align: center;
}
.cnum { font-size: 26px; font-weight: 700; color: #2e2d33; }
.clabel { font-size: 11px; color: #b8b3ba; margin-top: 4px; }

.section { margin: 10px 14px; }
.sec-title {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.045); border-radius: 14px;
  padding: 13px 16px; font-size: 13.5px; font-weight: 600; color: #2e2d33;
  cursor: pointer; border: none; text-align: left; font-family: inherit;
  text-decoration: none;
}
.sec-title .chev { color: #b8b3ba; font-size: 12px; }
.sec-title .sc { font-size: 11px; color: #b8b3ba; font-weight: 400; margin-left: auto; margin-right: 8px; }
.sec-body {
  background: rgba(255,255,255,0.5); border-radius: 0 0 14px 14px;
  margin-top: -6px; padding: 14px 16px 10px;
  border: 1px solid rgba(0,0,0,0.045); border-top: none;
}

.sealed-list { display: flex; flex-direction: column; gap: 8px; }
.sealed-item {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #3a3940; padding: 8px 0; text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sealed-item:last-child { border-bottom: none; }
.sealed-item .left { display: flex; align-items: center; gap: 6px; }
.sealed-item .until { font-size: 10px; color: #b8b3ba; }

.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tab {
  flex: 1; text-align: center; text-decoration: none; border: none; background: none;
  padding: 13px 0; font-size: 12.5px; color: #b8b3ba;
}
.tab.active { color: #2e2d33; font-weight: 600; }
