:root {
  --bg: #faf7f9;
  --bg-alt: #fdf4f8;
  --bg-soft: #fffafb;
  --card: #ffffff;
  --card-alt: #fcf0f6;
  --accent: #e84fa7;
  --accent-soft: rgba(232, 79, 167, 0.1);
  --accent-alt: #d567aa;
  --accent-line: rgba(232, 79, 167, 0.18);
  --text: #162c41;
  --text-dark: #162c41;
  --muted: #5c738b;
  --muted-soft: #7b8fa3;
  --success: #4ade80;
  --error: #f87171;
  --border: rgba(232, 79, 167, 0.18);
  --border-strong: rgba(232, 79, 167, 0.3);
  --shadow: 0 12px 28px rgba(22, 44, 65, 0.08);
  --shadow-soft: 0 8px 18px rgba(22, 44, 65, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
  --max-width: 480px;
  --transition: 200ms ease;
  --safe-top: 0px;
  --safe-bottom: 0px;
}

@supports (padding-top: constant(safe-area-inset-top)) {
  :root {
    --safe-top: constant(safe-area-inset-top);
    --safe-bottom: constant(safe-area-inset-bottom);
  }
}

@supports (padding-top: env(safe-area-inset-top)) {
  :root {
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(232, 79, 167, 0.06), transparent 26%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  color: var(--text);
}

.auth-body {
  background: url("../img/back.webp") center center / cover no-repeat fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
summary {
  font: inherit;
}

button,
.btn,
summary,
.week-link,
.tab-btn {
  -webkit-tap-highlight-color: transparent;
}

button,
.btn {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

input {
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid rgba(232, 79, 167, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-dark);
  padding: 0.95rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

input::placeholder {
  color: rgba(92, 115, 139, 0.72);
}

input:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
.icon-btn:focus-visible,
.week-link:focus-visible,
.tab-btn:focus-visible,
.back-link:focus-visible {
  outline: none;
  border-color: rgba(232, 79, 167, 0.6);
  box-shadow: 0 0 0 3px rgba(232, 79, 167, 0.16);
}

.hidden {
  display: none !important;
}

.shell {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-top: calc(1rem + var(--safe-top));
  padding-right: 1rem;
  padding-bottom: calc(2.25rem + var(--safe-bottom));
  padding-left: 1rem;
}

.shell-auth {
  min-height: calc(100dvh - var(--safe-top) - var(--safe-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-shell {
  padding-top: 0.5rem;
}

.stack-sm > * + * {
  margin-top: 0.75rem;
}

.stack-md > * + * {
  margin-top: 1rem;
}

.stack-lg > * + * {
  margin-top: 1.25rem;
}

.stack-xl > * + * {
  margin-top: 1.5rem;
}

.auth-card,
.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
    linear-gradient(180deg, rgba(232, 79, 167, 0.025), transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-card {
  padding: 1.35rem 1.25rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(22, 44, 65, 0.96), rgba(22, 44, 65, 0.94)),
    linear-gradient(180deg, rgba(232, 79, 167, 0.05), transparent);
  backdrop-filter: blur(4px);
}

.auth-card,
.auth-card label,
.auth-card .title-glow,
.auth-card .hero-support,
.auth-card .helper-text,
.auth-card .code-help,
.auth-card .btn-text,
.auth-card .field-group label {
  color: #ffffff;
}

.auth-card input {
  color: var(--text-dark);
}

.auth-card input::placeholder {
  color: rgba(22, 44, 65, 0.48);
}

.auth-card::before,
.hero-card::before,
.section-accordion::before,
.accordion-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  width: 88px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 8px rgba(232, 79, 167, 0.16);
}

.card {
  padding: 1rem;
}

.brand-logo {
  width: 94px;
  height: auto;
}

.brand-logo-large {
  width: 120px;
  margin: 0 auto 1rem;
}

.hero-copy {
  text-align: center;
  margin-bottom: 1.15rem;
}

.eyebrow,
.section-tag {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.section-tag-icon {
  width: 0.86rem;
  height: 0.86rem;
}

.title-glow {
  margin: 0.25rem 0 0.55rem;
  font-size: clamp(2.1rem, 9vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: none;
}

.hero-support,
.muted,
.helper-text,
.code-help,
.detail-kicker {
  color: var(--muted);
}

.field-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.btn {
  min-height: 52px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform var(--transition), opacity var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover,
.btn:focus-visible,
.week-link:hover,
.tab-btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-alt), var(--accent));
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 8px 20px rgba(232, 79, 167, 0.18);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-dark);
}

.btn-text {
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--text-dark);
  width: auto;
  justify-content: flex-start;
}

.btn-sm {
  min-height: 48px;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.alert {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.alert.error {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.22);
  color: #942d2d;
}

.alert.success {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.22);
  color: #17653c;
}

.helper-inline {
  text-align: center;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
}

.otp-input {
  text-align: center;
  padding: 0.75rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 8px;
}

.topbar,
.detail-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: calc(0.2rem + var(--safe-top)) 0 0.9rem;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(250, 247, 249, 0.92), rgba(250, 247, 249, 0.72));
}

.menu-wrap {
  position: relative;
}

.icon-btn {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: var(--shadow-soft);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.day-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.day-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.day-meta-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--accent);
}

.day-meta-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--accent);
  font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}

.day-meta-btn:hover { opacity: 0.8; }

/* Modal de material */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 17, 29, 0.72);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}

.modal-sheet {
  background: var(--card);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.5rem 1.25rem calc(1.5rem + var(--safe-bottom));
  width: 100%;
  max-width: var(--max-width);
  border: 1px solid var(--border);
  border-bottom: none;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.modal-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.modal-close {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
}

.modal-material-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.modal-material-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.95rem;
}

.modal-material-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.video-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.video-btn-row {
  display: flex;
  gap: 0.5rem;
}

.btn-video {
  flex: 1;
  min-height: auto;
  padding: 0.7rem 0.4rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.btn-video .glyph svg {
  width: 1.3rem;
  height: 1.3rem;
}

.btn-video-main {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn-video.btn-video-ready:not(:disabled) {
  opacity: 1;
  color: var(--text);
}

.btn-video.btn-video-open {
  background: var(--accent-soft);
  border-color: var(--border-strong);
  color: var(--accent);
}

.btn-video:hover:not(:disabled):not(.btn-video-open) {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.btn-video:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.video-panel .video-slot {
  margin-top: 0.75rem;
}

.btn-with-icon,
.btn-inline-icon,
.notice-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-inline-icon {
  justify-content: flex-start;
}

.inline-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.glyph svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(280px, 80vw);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.menu-email {
  margin: 0 0 0.9rem;
  color: var(--muted);
  word-break: break-word;
  font-size: 0.92rem;
}

.logout-btn {
  gap: 0.55rem;
}

.hero-card h1,
#routine-title {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 7vw, 2.35rem);
  line-height: 1.01;
  letter-spacing: -0.03em;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(252, 240, 246, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(232, 79, 167, 0.06), transparent 30%);
}

.progress-line {
  padding: 0.25rem 0;
}

.dots {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: rgba(34, 61, 89, 0.08);
  border: 1px solid rgba(34, 61, 89, 0.08);
}

.dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(232, 79, 167, 0.18);
}

.section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.accordion summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.accordion summary::after {
  content: "";
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  transform: rotate(0deg);
  opacity: 0.72;
  transition: transform var(--transition), opacity var(--transition);
}

.accordion[open] > summary::after {
  transform: rotate(180deg);
  opacity: 1;
}

.section-accordion > summary {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.92rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-body {
  padding-top: 0.75rem;
}

.instructions-body {
  line-height: 1.65;
}

.instructions-body h3,
.instructions-body h4 {
  color: var(--text-dark);
  font-weight: 800;
  margin: 1.4rem 0 0.4rem;
}

.instructions-body h3 { font-size: 1.15rem; }
.instructions-body h4 { font-size: 1rem; }

.instructions-body h3:first-child,
.instructions-body h4:first-child { margin-top: 0; }

.instructions-body p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.instructions-body p:last-child { margin-bottom: 0; }

.instructions-body ul {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.instructions-body li { margin-bottom: 0.25rem; }

.list-clean,
.materials-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn,
.week-link {
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-dark);
}

.tab-btn {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0.8rem 1rem;
  background: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.tab-btn.active {
  background: var(--accent-soft);
  border-color: var(--border-strong);
}

.week-link {
  display: block;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 240, 246, 0.88));
  transition: background var(--transition), transform var(--transition);
  box-shadow: var(--shadow-soft);
}

.week-link strong {
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.accordion-highlight {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(252, 240, 246, 0.9)),
    linear-gradient(180deg, rgba(232, 79, 167, 0.03), transparent);
}

.accordion-highlight > summary::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-right: 0.55rem;
  flex: 0 0 auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162C41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 7h-8l-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2Z'/%3E%3C/svg%3E");
}

.archive-group {
  padding: 0.2rem 0.95rem 0.95rem;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(253, 244, 248, 0.88));
}

.archive-group > summary {
  min-height: 44px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.status-banner {
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  color: var(--muted);
}

.card-skeleton {
  position: relative;
  overflow: hidden;
}

.card-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(232, 79, 167, 0.08), transparent);
  animation: shimmer 1.35s infinite;
}

.card-skeleton.tall {
  min-height: 220px;
}

.card-skeleton.mid {
  min-height: 140px;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.embed-frame {
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #000;
}

.embed-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-radius: 16px;
}

.embed-ratio .embed-frame {
  position: absolute;
  inset: 0;
  height: 100%;
}

.chip,
.protocol-line {
  margin: 0;
}

.protocol-line {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-left: 0.95rem;
  position: relative;
}

.protocol-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.65rem;
  height: 2px;
  background: var(--accent);
}

.video-slot {
  overflow: hidden;
}

.stretch-picker {
  margin-bottom: 0.9rem;
}

.stretch-picker-title {
  margin: 0 0 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.stretch-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.stretch-option {
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: inherit;
}

.stretch-option.active {
  background: linear-gradient(135deg, var(--accent-alt), var(--accent));
  border-color: transparent;
  color: #fff;
}

.stretch-option-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.stretch-option-duration {
  font-size: 0.78rem;
  opacity: 0.82;
}

.exercise-card {
  position: relative;
  display: grid;
  grid-template-columns: 13% 1fr;
  gap: 0 0.9rem;
  align-items: start;
  padding: 0 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.exercise-card + .exercise-card {
  padding-top: 0.75rem;
}

.exercise-card + .exercise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 79, 167, 0.3), transparent);
}

.exercise-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  padding-top: 0.1rem;
}

.exercise-index {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
}

.exercise-right {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.exercise-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.exercise-meta {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.exercise-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

.back-link {
  color: var(--text-dark);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.day-link {
  position: relative;
  overflow: hidden;
  align-items: flex-start;
  text-align: left;
  padding-right: 1.1rem;
}

.day-link-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}

.day-link-play {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.95;
}

.day-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(232, 79, 167, 0.2), transparent 75%);
}

.day-link:last-child::after {
  display: none;
}

.day-link-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
}

.day-link-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  margin-left: 1.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
}

.day-link-clock {
  width: 0.82rem;
  height: 0.82rem;
  margin-right: 0.28rem;
  vertical-align: -0.1rem;
  color: #fff;
}

.day-link-clock svg {
  stroke: currentColor;
}

.auth-body .shell-auth {
  position: relative;
}

.auth-body .shell-auth::before {
  display: none;
}

.helper-text,
.code-help,
.exercise-meta {
  line-height: 1.45;
}

.warmup-note {
  margin: 0.7rem 0 0;
}

.hero-support {
  max-width: 28ch;
  margin: 0 auto;
}

.auth-card .stack-lg > * + * {
  margin-top: 1rem;
}

@media (max-width: 420px) {
  .shell-auth {
    align-items: flex-start;
  }

  .auth-card {
    margin-top: 0.35rem;
    padding: 1.15rem 1rem;
  }

  .brand-logo-large {
    width: 108px;
    margin-bottom: 0.85rem;
  }

  .hero-copy {
    margin-bottom: 1rem;
  }

  .title-glow {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }

  .hero-support {
    font-size: 0.92rem;
  }

  .helper-text {
    font-size: 0.88rem;
  }
}

@media (min-width: 768px) {
  .shell {
    padding-top: calc(1.25rem + var(--safe-top));
    padding-bottom: 3rem;
  }

  .auth-card {
    padding: 2rem;
  }
}
