/* platform/layout.css — 上のバーと下のメニュー (旧 core.css から分割・見た目の変更なし) */

/* ─── Top Header ─── */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-header .logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.top-header .header-balance {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card2);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent2);
  font-weight: 600;
  border: 1px solid var(--border);
}

/* ─── Bottom Navigation ─── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 16px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition);
  font-size: 0.68rem;
  font-weight: 500;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-item svg { width: 22px; height: 22px; }
.nav-item.active { color: var(--accent); }
.nav-item:active { opacity: 0.7; }
