.settings-section {
  padding: 16px;
  max-width: 480px;
  margin: 0 auto;
}

.settings-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.settings-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.settings-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.settings-card-danger {
  border-color: var(--danger);
  background: rgba(220, 38, 38, 0.05);
}

.settings-divider {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin: 16px 0;
  position: relative;
}

.settings-divider::before {
  content: 'または';
  background: var(--bg);
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.settings-divider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.team-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.team-info-row:last-child {
  border-bottom: none;
}

.team-info-value {
  font-weight: 600;
}

.team-code {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--primary);
}

.role-badge {
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
}

.role-admin {
  background: var(--primary);
  color: white;
}

.role-viewer {
  background: var(--border);
  color: var(--text-secondary);
}

.mt-8 {
  margin-top: 8px;
}

/* Sync indicator in header */
.sync-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  margin-right: 8px;
}

.sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

[data-online="true"] .sync-dot {
  background: #22c55e;
}

.sync-role {
  color: rgba(255, 255, 255, 0.7);
}
