/* ===== STRETCH PAGE ===== */

.str-main { padding: 2rem 0 5rem; }

/* ---- Options ---- */
.str-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.str-opt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}

.str-opt-card:hover {
  border-color: rgba(139,124,248,0.4);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.str-opt-time  { font-family: var(--font-serif); font-size: 2rem; color: var(--accent); }
.str-opt-label { font-family: var(--font-serif); font-size: 0.95rem; }
.str-opt-count { font-size: 0.75rem; color: var(--muted); }

.str-note {
  max-width: 440px;
  margin: 0 auto;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--surface);
}

/* ---- Session ---- */
.str-session {
  position: fixed;
  inset: 0;
  background: #04040d;
  display: flex;
  flex-direction: column;
}

.str-progress {
  height: 3px;
  background: rgba(255,255,255,0.06);
}

.str-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 1s linear;
}

.str-session-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem;
  text-align: center;
}

.str-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 480px;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.str-stretch-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
}

.str-stretch-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  max-width: 440px;
  line-height: 1.7;
}

/* ---- Breathing ring ---- */
.str-ring-wrap {
  position: relative;
  width: 150px;
  height: 150px;
}

.str-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.str-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.05);
  stroke-width: 6;
}

.str-ring-fill {
  fill: none;
  stroke: var(--accent2);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 364.4;
  stroke-dashoffset: 364.4;
  transition: stroke-dashoffset 0.1s linear;
}

.str-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--accent2);
}

.str-controls {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Complete ---- */
.str-complete {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.strc-inner { text-align: center; padding: 2rem; }
.strc-icon  { font-size: 3rem; display: block; margin-bottom: 1rem; }
.strc-inner h2 { font-family: var(--font-serif); font-size: 2rem; margin-bottom: 0.8rem; }
.strc-inner p  { color: var(--muted); margin-bottom: 2rem; }
.strc-actions  { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .str-options { grid-template-columns: 1fr; max-width: 280px; }
}
