/* ═══════════════════════════════════════════════════════════════════
   zen-mode-v3.css — New Minimalist Zen Mode
   Centered timer with dots indicator, progress bar, button dock
═══════════════════════════════════════════════════════════════════ */

/* ─── Overlay base ─── */
#zen-overlay-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

/* ─── Main zen card (centered column) ─── */
.zov2-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-width: 320px;
  padding: 10px 0;
}

/* ─── Session dots + label row ─── */
.zov2-session-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.zov2-dots {
  display: flex;
  gap: 3px;
}

.zov2-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  transition: background .3s;
}

.zov2-dot.done {
  background: var(--acc, rgba(232,201,154,.85));
}

.zov2-mode-label {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.32);
  text-transform: uppercase;
}

/* ─── Timer + adjust buttons row ─── */
.zov2-time-row {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 14px);
  margin-bottom: 6px;
}

.zov2-adjust-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.2px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  line-height: 1;
}

.zov2-adjust-btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  color: #fff;
  transform: scale(1.1);
}

/* ─── Timer digits (replicated from wonderspace.app) ─── */
.zov2-time {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  font-size: clamp(75px, 12vw, 180px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.96);
  font-variant-numeric: tabular-nums;
  line-height: 0.85;
  min-width: 4.8em;
  text-align: center;
  text-shadow: 0 4px 30px rgba(0,0,0,.18);
  transition: color .38s;
  user-select: none;
}

/* ─── Progress bar row ─── */
.zov2-progress-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  width: 160px;
}

.zov2-progress-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.zov2-progress {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 100%;
  background: var(--acc, #e8c99a);
  border-radius: 999px;
  transition: width 1s linear;
}

.zov2-pct {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,.25);
  min-width: 22px;
  text-align: right;
}

/* ─── Controls row ─── */
.zov2-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 38px;
  width: 280px;
}

/* Eye / dim button */
.zov2-btn-eye {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.2px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.zov2-btn-eye:hover {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.28);
}

.zov2-btn-eye.dim-active {
  background: rgba(var(--acc-rgb, 232,201,154),.14);
  border-color: rgba(var(--acc-rgb, 232,201,154),.36);
  color: var(--acc, #e8c99a);
}

/* Play button (main) */
.zov2-dock-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.2px solid rgba(var(--acc-rgb, 232,201,154),.24);
  background: rgba(var(--acc-rgb, 232,201,154),.08);
  color: var(--acc, #e8c99a);
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.zov2-dock-play:hover {
  background: rgba(var(--acc-rgb, 232,201,154),.20);
  border-color: rgba(var(--acc-rgb, 232,201,154),.50);
  box-shadow: 0 0 16px rgba(var(--acc-rgb, 232,201,154),.22);
}

/* Stop / Minimize buttons */
.zov2-dock-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.2px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.55);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
}

.zov2-dock-btn:hover {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.28);
}

/* ─── Close button (top right) ─── */
.zov2-btn-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.3);
  color: rgba(255,255,255,.6);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
}

.zov2-btn-close:hover {
  background: rgba(200,60,60,.5);
  color: #fff;
  border-color: rgba(255,100,100,.3);
}

/* ─── Mode badge below controls ─── */
.zov2-mode-badge {
  margin-top: 16px;
  font-size: 11px;
  color: rgba(255,255,255,.22);
  letter-spacing: .06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.zov2-center:hover .zov2-mode-badge {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ─── Minimized pill ─── */
#zen-tab-pill {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(6,5,18,.82);
  border: 1px solid rgba(var(--acc-rgb, 232,201,154),.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#zen-tab-pill.visible {
  display: flex;
}

.pill-time {
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.90);
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  cursor: pointer;
}

.pill-controls {
  display: flex;
  gap: 4px;
}

.pill-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.50);
  font-size: .6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .14s;
}

.pill-btn:hover {
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
}

.pill-expand {
  font-size: .5rem;
  color: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0 3px;
  transition: color .13s;
}

.pill-expand:hover {
  color: rgba(255,255,255,.65);
}

/* ─── Pill ring (legacy compat — kept hidden, pill uses text) ─── */
.pill-ring-wrap { display: none; }
.pill-ring-bg, .pill-ring-fg { display: none; }

/* ─── Overlay active state ─── */
#zen-overlay-v2 {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(4,3,12,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  opacity: 0;
  transition: opacity .28s ease;
}

#zen-overlay-v2.active {
  display: flex;
  opacity: 1;
}

/* ─── Dim mode overlay overlay ─── */
#zen-overlay-v2.dim-mode {
  background: rgba(4,3,12,.62);
}

/* ─── Hide old sidebar/music/dock elements if they exist in DOM ─── */
.zov2-sidebar,
.zov2-music-widget {
  display: none !important;
}

/* ─── Zen focus states (eye mode) ─── */
body.zen-mode-1 .zov2-controls-row,
body.zen-mode-1 .zov2-progress-wrap,
body.zen-mode-1 .zov2-session-row,
body.zen-mode-1 .zov2-mode-badge {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

body.zen-mode-2 .zov2-controls-row,
body.zen-mode-2 .zov2-progress-wrap,
body.zen-mode-2 .zov2-session-row,
body.zen-mode-2 .zov2-mode-badge {
  opacity: 0.3;
}

/* Reveal Zen controls on center container hover */
body.zen-mode-1 .zov2-center:hover .zov2-controls-row,
body.zen-mode-1 .zov2-center:hover .zov2-progress-wrap,
body.zen-mode-1 .zov2-center:hover .zov2-session-row,
body.zen-mode-1 .zov2-center:hover .zov2-mode-badge {
  opacity: 1;
  pointer-events: auto;
}

/* Hide adjust buttons in minimal mode by default, reveal on hover */
body.zen-mode-1 .zov2-adjust-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
body.zen-mode-1 .zov2-center:hover .zov2-adjust-btn {
  opacity: 1;
  pointer-events: auto;
}



