/* ── Pomodoro Page ── */
.pomodoro-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--page-padding);
  min-height: 70vh;
  justify-content: center;
}

/* Timer Circle */
.pomo-circle-wrap {
  position: relative;
  width: min(280px, 80vw);
  height: min(280px, 80vw);
  flex-shrink: 0;
}
.pomo-svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.pomo-track {
  fill: none;
  stroke: var(--color-surface-3);
  stroke-width: 8;
}
.pomo-progress {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear, stroke 300ms;
}
.pomo-break .pomo-progress { stroke: var(--success); }

.pomo-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--space-1);
}
.pomo-time {
  font-size: clamp(2.5rem, 12vw, 4rem);
  font-weight: var(--font-weight-black);
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}
.pomo-mode {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--font-weight-semi);
}
.pomo-session {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

/* Controls */
.pomo-controls {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.pomo-btn-main {
  width: 68px; height: 68px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,99,235,.4);
  cursor: pointer; border: none;
  transition: all var(--transition-spring);
  -webkit-tap-highlight-color: transparent;
}
.pomo-btn-main:hover  { transform: scale(1.06); box-shadow: 0 8px 28px rgba(37,99,235,.5); }
.pomo-btn-main:active { transform: scale(.95); }
.pomo-break .pomo-btn-main { background: var(--success); box-shadow: 0 6px 20px rgba(34,197,94,.35); }

.pomo-btn-sec {
  width: 50px; height: 50px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 1.5px solid var(--color-border);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}
.pomo-btn-sec:hover { background: var(--color-surface-3); color: var(--color-text); }

/* Mode Tabs */
.pomo-modes {
  display: flex;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 2px;
}
.pomo-mode-btn {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semi);
  cursor: pointer; border: none;
  color: var(--color-text-muted);
  background: none; font-family: var(--font-family);
  transition: all var(--transition-fast);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.pomo-mode-btn.active {
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

/* Stats row */
.pomo-stats-row {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}
.pomo-stat {
  display: flex; flex-direction: column;
  align-items: center; gap: var(--space-1);
}
.pomo-stat-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-black);
  color: var(--color-text);
}
.pomo-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* Sessions history dots */
.pomo-dots {
  display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center;
}
.pomo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  transition: background var(--transition-fast);
}
.pomo-dot.done  { background: var(--color-primary); }
.pomo-dot.break { background: var(--success); }

/* Notification bar */
.pomo-notify {
  background: var(--color-primary-bg);
  border: 1px solid var(--color-primary-muted);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-primary);
  font-weight: var(--font-weight-semi);
  text-align: center;
  animation: fadeInUp 300ms both;
}

@media (min-width: 768px) {
  .pomo-circle-wrap { width: 320px; height: 320px; }
  .pomo-time { font-size: 4.5rem; }
}
