/* 학습 달력(달 넘기기 · 요일 · 날짜 칸 · 고른 날의 기록)과 연속 학습 카드. 카톡 영어 · 영상 영어가 같이 쓴다.
   서비스가 정한 값(--ink · --soft · --rule · --edge · --paper-*)을 쓴다. 날짜 칸 상태: date-open(누를 수 있음) · date-done(공부함) · date-today(오늘) */
.study-calendar-heading, .study-month { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.study-calendar-heading h2 { font-size: clamp(1.25rem, 5vw, 1.6rem); letter-spacing: -.04em; }
.study-calendar-heading p { color: var(--soft); font-size: .875rem; font-variant-numeric: tabular-nums; }
.study-calendar-board { padding: clamp(.75rem, 3.5vw, 1.25rem); border: 1px solid var(--rule); border-radius: 1.25rem; background: var(--paper-deep); }
.study-month { justify-content: center; gap: .625rem; margin-bottom: .375rem; }
.study-month-label { min-width: 8rem; text-align: center; font-size: 1.125rem; font-weight: 700; }
.study-month-nav {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper-hi);
}
.study-month-nav .ic { width: .875rem; height: .875rem; }
.study-month-nav:disabled { opacity: .35; }
.study-calendar-week, .study-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.125rem, 1vw, .375rem); }
.study-calendar-week { padding-block: .25rem .375rem; color: var(--soft); font-size: .8125rem; text-align: center; }
.study-date {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(2.35rem, 9vw, 3.5rem);
  width: 100%;
  padding-inline: 0;
  border: 1px solid transparent;
  border-radius: .625rem;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
}
.study-date.date-open { border-color: var(--rule); background: var(--paper-hi); color: var(--ink); font-weight: 700; }
.study-date.date-open:hover, .study-date.date-today { border-color: var(--edge); }
.study-date.date-today:not([aria-pressed=true])::after { content: ''; position: absolute; inset: auto auto .1875rem; width: .25rem; height: .25rem; border-radius: 50%; background: var(--ink); }
.study-date.date-done time { transform: translateY(-.25rem); }
.study-date .ic { position: absolute; bottom: .1875rem; right: .1875rem; width: .75rem; height: .75rem; }
.study-date[aria-pressed=true] { border-color: var(--ink); background: var(--paper-lime); color: var(--ink); }
.calendar-empty { margin: .75rem 0 .125rem; }
.calendar-preview { margin-top: .875rem; padding: .875rem 1rem; border-radius: .875rem; background: var(--paper-hi); scroll-margin-bottom: calc(var(--tabs) + 1.25rem); }
.calendar-preview h3 { margin-bottom: .375rem; color: var(--soft); font-size: .875rem; }
.calendar-preview .btn { margin-top: .625rem; }
.calendar-preview .ic { width: .875rem; }

/* 연속 학습 */
.study-streak { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 4vw, 1.75rem); border: 1px solid var(--rule); border-radius: 1.25rem; background: var(--paper-hi); }
.streak-main { display: flex; align-items: baseline; gap: .5rem; }
.streak-main strong { font-size: clamp(2.75rem, 12vw, 4rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.streak-main span { font-size: 1.25rem; font-weight: 700; }
.streak-note { margin-top: -.5rem; color: var(--soft); }
.streak-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.streak-stats div { display: grid; gap: .125rem; text-align: center; }
.streak-stats dt { color: var(--soft); font-size: .8125rem; }
.streak-stats dd { margin: 0; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
