.notif-page {
  max-width: 800px;
  margin: 0 auto;
  background: var(--surface);
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.notif-tabs {
  display: flex;
  gap: 4px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}
.notif-tab {
  background: none;
  border: none;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
}
.notif-tab.active {
  background: var(--accent-bg);
  color: var(--accent);
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.notif-item.unread { background: #fafbfc; }
.notif-item-icon { font-size: 20px; }
.notif-item-body { flex: 1; }
.notif-item-title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.notif-item.unread .notif-item-title { color: var(--accent); }
.notif-item-time { font-size: 12px; color: var(--text-muted); }

.notif-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}

.notif-setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
}
.notif-setting-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.notif-setting-title { font-size: 14px; font-weight: 500; }
.notif-setting-hint { font-size: 12px; color: var(--text-muted); }

.switch {
  position: relative;
  width: 40px;
  height: 22px;
  background: var(--border-strong);
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.switch.on { background: var(--accent); }
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: left 0.2s;
}
.switch.on::after { left: 20px; }

/* ベルドロップダウン */
.bell-dropdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  width: 340px;
  max-width: calc(100vw - 16px);
  z-index: 1000;
  overflow: hidden;
}
.bell-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.bell-dropdown-list {
  max-height: 400px;
  overflow-y: auto;
}
.bell-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.bell-item.unread { background: #fafbfc; font-weight: 500; }
.bell-item-icon { font-size: 16px; }
.bell-item-title { font-size: 13px; }
.bell-item-time { font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.bell-empty { padding: 40px; text-align: center; color: var(--text-muted); font-size: 13px; }
.bell-dropdown-footer {
  display: block;
  padding: 12px 16px;
  text-align: center;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-top: 1px solid var(--border);
}
.bell-dropdown-footer:hover { background: var(--bg); }

@media (max-width: 600px) {
  .notif-tabs { padding: 12px 16px; }
  .notif-item { padding: 12px 16px; }
  .notif-setting-row { padding: 12px 16px; }
  .bell-dropdown { width: calc(100vw - 16px); right: 8px !important; }
}
