/* style.css - 성서정과 만년 캘린더 */
/* 감각적인 다크 테마 + 절기별 컬러 시스템 */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Noto+Serif+KR:wght@400;600;700&display=swap');

/* ─────────────────────────────────────
   디자인 토큰 (CSS 변수)
───────────────────────────────────── */
:root {
  /* 베이스 색상 */
  --bg-primary: #0f1117;
  --bg-secondary: #161b27;
  --bg-tertiary: #1e2536;
  --bg-card: #1a2032;
  --bg-hover: #242d42;

  /* 텍스트 */
  --text-primary: #e8eaf0;
  --text-secondary: #9aa3ba;
  --text-muted: #5a6480;
  --text-accent: #c8d0e8;

  /* 절기 색상 시스템 */
  --advent-color: #7c5cbf;       /* 대림절: 보라 */
  --advent-light: #a67de8;
  --advent-bg: rgba(124, 92, 191, 0.12);

  --christmas-color: #d4a843;    /* 성탄절: 금색 */
  --christmas-light: #f0c86a;
  --christmas-bg: rgba(212, 168, 67, 0.12);

  --epiphany-color: #4a9eda;     /* 주현절: 밝은 파랑 */
  --epiphany-light: #7dc4f5;
  --epiphany-bg: rgba(74, 158, 218, 0.10);

  --lent-color: #8d6e5a;         /* 사순절: 자주/갈색 */
  --lent-light: #b89080;
  --lent-bg: rgba(141, 110, 90, 0.12);

  --holy-week-color: #b85050;    /* 고난주간: 어두운 빨강 */
  --holy-week-light: #d97070;
  --holy-week-bg: rgba(184, 80, 80, 0.14);

  --easter-color: #e8d060;       /* 부활절: 밝은 금/노랑 */
  --easter-light: #f0e080;
  --easter-bg: rgba(232, 208, 96, 0.12);

  --pentecost-color: #e05840;    /* 성령강림절: 불꽃 빨강 */
  --pentecost-light: #f07c60;
  --pentecost-bg: rgba(224, 88, 64, 0.12);

  --ordinary-color: #4a8c5a;     /* 연중시기: 초록 */
  --ordinary-light: #6ab07a;
  --ordinary-bg: rgba(74, 140, 90, 0.08);

  /* UI */
  --border-color: rgba(255, 255, 255, 0.07);
  --border-active: rgba(255, 255, 255, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* 타이포 */
  --font-sans: 'Noto Sans KR', system-ui, sans-serif;
  --font-serif: 'Noto Serif KR', serif;

  /* 애니메이션 */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────────────────────────────
   리셋 & 기본
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ─────────────────────────────────────
   헤더
───────────────────────────────────── */
#app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0 1rem;
}

/* 헤더 2행 래퍼 */
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  gap: 6px;
}

/* 1행: 로고 + 네비게이션 */
.header-row-1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 40px;
}

/* 2행: 검색 + 절기버튼 */
.header-row-2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 연도/월 네비게이터 */
.nav-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  line-height: 1;
}

.nav-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-active);
  color: var(--text-primary);
}

.nav-date-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}

.nav-year {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.nav-month-year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.today-btn {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.today-btn:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* 검색 */
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.search-input {
  width: 100%;
  padding: 0.35rem 0.75rem 0.35rem 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  transition: var(--transition);
  outline: none;
}

.search-input::placeholder { color: var(--text-muted); }

.search-input:focus {
  border-color: var(--border-active);
  background: var(--bg-hover);
}

.search-icon {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 200;
  display: none;
}

.search-dropdown.active { display: block; }

.search-result-item {
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-hover); }

.search-result-name { font-size: 0.85rem; color: var(--text-primary); }
.search-result-date { font-size: 0.72rem; color: var(--text-muted); }

/* 절기 보기 토글 */
.seasons-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.seasons-toggle-btn:hover,
.seasons-toggle-btn.active {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-active);
}

/* ─────────────────────────────────────
   절기 빠른 보기 패널
───────────────────────────────────── */
#seasons-panel {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#seasons-panel.open {
  max-height: 400px;
}

.seasons-panel-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.seasons-panel-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.seasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
  overflow-y: auto;
  max-height: 200px;
  padding-right: 4px;
}

.seasons-grid::-webkit-scrollbar { width: 4px; }
.seasons-grid::-webkit-scrollbar-track { background: transparent; }
.seasons-grid::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 2px; }

.season-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.season-item:hover {
  background: var(--bg-hover);
  border-color: var(--border-active);
}

.season-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.season-item-name {
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 500;
}

.season-item-date {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-left: auto;
}

/* ─────────────────────────────────────
   교회력 연도 배너
───────────────────────────────────── */
#church-year-banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.church-year-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.church-year-badge {
  padding: 0.15rem 0.6rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
}

.season-current-name {
  font-size: 0.85rem;
  color: var(--text-accent);
  font-weight: 500;
}

/* ─────────────────────────────────────
   메인 레이아웃
───────────────────────────────────── */
#main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
  align-items: start;
}

/* ─────────────────────────────────────
   캘린더 영역
───────────────────────────────────── */
#calendar-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* 요일 헤더 */
.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.calendar-weekday {
  text-align: center;
  padding: 0.6rem 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.calendar-weekday.sunday { color: #e06060; }
.calendar-weekday.saturday { color: #6090d0; }

/* 날짜 그리드 */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

/* 날짜 셀 */
.calendar-cell {
  min-height: 80px;
  padding: 0.4rem;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.calendar-cell:nth-child(7n) { border-right: none; }
.calendar-cell:nth-last-child(-n+7) { border-bottom: none; }

.calendar-cell.other-month { opacity: 0.3; pointer-events: none; }

.calendar-cell:hover:not(.other-month) {
  background: var(--bg-hover);
}

.calendar-cell.selected {
  background: var(--bg-hover) !important;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}

.calendar-cell.today .cell-date {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* 날짜 숫자 */
.cell-date {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calendar-cell.sunday .cell-date { color: #e08080; }
.calendar-cell.saturday .cell-date { color: #7aaedf; }

/* 절기 레이블 칩 */
.cell-season-label {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  letter-spacing: -0.01em;
}

/* 절기 좌측 바 */
.calendar-cell::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  opacity: 0;
  transition: opacity var(--transition);
}

/* 절기별 셀 스타일 */
.season-advent .cell-season-label {
  background: var(--advent-bg);
  color: var(--advent-light);
}
.season-advent::before { background: var(--advent-color); opacity: 0.6; }

.season-christmas .cell-season-label {
  background: var(--christmas-bg);
  color: var(--christmas-light);
}
.season-christmas::before { background: var(--christmas-color); opacity: 0.7; }

.season-epiphany .cell-season-label {
  background: var(--epiphany-bg);
  color: var(--epiphany-light);
}
.season-epiphany::before { background: var(--epiphany-color); opacity: 0.5; }

.season-lent .cell-season-label {
  background: var(--lent-bg);
  color: var(--lent-light);
}
.season-lent::before { background: var(--lent-color); opacity: 0.6; }

.season-holy-week .cell-season-label {
  background: var(--holy-week-bg);
  color: var(--holy-week-light);
}
.season-holy-week::before { background: var(--holy-week-color); opacity: 0.8; }

.season-easter .cell-season-label {
  background: var(--easter-bg);
  color: var(--easter-light);
}
.season-easter::before { background: var(--easter-color); opacity: 0.7; }

.season-pentecost .cell-season-label {
  background: var(--pentecost-bg);
  color: var(--pentecost-light);
}
.season-pentecost::before { background: var(--pentecost-color); opacity: 0.7; }

.season-ordinary .cell-season-label {
  background: var(--ordinary-bg);
  color: var(--ordinary-light);
}
.season-ordinary::before { background: var(--ordinary-color); opacity: 0.4; }

/* 특별일 하이라이트 */
.cell-special {
  background: rgba(255, 255, 255, 0.03);
}

/* ─────────────────────────────────────
   사이드 패널 (성경 본문)
───────────────────────────────────── */
#side-panel {
  position: sticky;
  top: 72px;
}

.side-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.side-card-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.side-season-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.7rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.side-day-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.side-date-str {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.side-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.side-card-body {
  padding: 1rem 1.25rem;
}

.readings-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reading-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.reading-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-muted);
}

.reading-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  font-family: var(--font-serif);
}

.reading-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.25rem 0;
}

/* 빈 상태 */
.side-empty {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.side-empty-icon {
  font-size: 2rem;
  opacity: 0.3;
}

.side-empty-title {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.side-empty-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 오늘 절기 카드 */
.today-season-card {
  margin: 1rem 1.25rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
}

.today-season-card-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.today-season-card-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ─────────────────────────────────────
   절기 색상 유틸리티
───────────────────────────────────── */
.chip-advent { background: var(--advent-bg); color: var(--advent-light); }
.chip-christmas { background: var(--christmas-bg); color: var(--christmas-light); }
.chip-epiphany { background: var(--epiphany-bg); color: var(--epiphany-light); }
.chip-lent { background: var(--lent-bg); color: var(--lent-light); }
.chip-holy-week { background: var(--holy-week-bg); color: var(--holy-week-light); }
.chip-easter { background: var(--easter-bg); color: var(--easter-light); }
.chip-pentecost { background: var(--pentecost-bg); color: var(--pentecost-light); }
.chip-ordinary { background: var(--ordinary-bg); color: var(--ordinary-light); }

.dot-advent { background: var(--advent-color); }
.dot-christmas { background: var(--christmas-color); }
.dot-epiphany { background: var(--epiphany-color); }
.dot-lent { background: var(--lent-color); }
.dot-holy-week { background: var(--holy-week-color); }
.dot-easter { background: var(--easter-color); }
.dot-pentecost { background: var(--pentecost-color); }
.dot-ordinary { background: var(--ordinary-color); }

/* ─────────────────────────────────────
   모바일 하단 시트
───────────────────────────────────── */
#mobile-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bg-card);
  border-top: 1px solid var(--border-active);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 80dvh;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom, 16px);
}

#mobile-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 36px;
  height: 4px;
  background: var(--border-active);
  border-radius: 2px;
  margin: 10px auto 0;
}

.sheet-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobile-sheet-content {
  padding: 0 1.25rem 1.25rem;
}

/* 오버레이 */
#sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 299;
}

#sheet-overlay.active { display: block; }

/* ─────────────────────────────────────
   스크롤바
───────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-hover); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ─────────────────────────────────────
   반응형 (태블릿)
───────────────────────────────────── */
@media (max-width: 900px) {
  #main-layout {
    grid-template-columns: 1fr;
  }

  #side-panel {
    display: none; /* 모바일에선 시트로 대체 */
  }

  #mobile-sheet { display: block; }

  .calendar-cell {
    min-height: 64px;
  }
}

/* ─────────────────────────────────────
   반응형 (모바일)
───────────────────────────────────── */
@media (max-width: 600px) {
  html { font-size: 14px; }

  /* 헤더 2행 모바일 조정 */
  .header-inner {
    padding: 6px 0;
    gap: 4px;
  }

  .header-row-1 {
    gap: 0.5rem;
    min-height: 36px;
  }

  .header-row-2 {
    gap: 0.5rem;
  }

  .logo-wrap { display: none; }

  .nav-group { gap: 0.35rem; }
  .nav-date-display { min-width: 80px; }
  .nav-month-year { font-size: 0.95rem; }
  .nav-btn { width: 30px; height: 30px; font-size: 0.9rem; }
  .today-btn { padding: 0.2rem 0.6rem; font-size: 0.72rem; }

  /* 검색창: 2행에서 flex:1 이므로 별도 width 불필요 */
  .search-input { font-size: 0.78rem; }

  /* 절기 보기 버튼: 텍스트 유지 (2행이므로 공간 여유 있음) */
  .seasons-toggle-btn { font-size: 0.72rem; padding: 0.25rem 0.6rem; }

  .calendar-cell {
    min-height: 52px;
    padding: 0.3rem 0.25rem;
  }

  .cell-date { font-size: 0.78rem; width: 22px; height: 22px; }
  .cell-season-label { font-size: 0.55rem; padding: 1px 3px; }

  .seasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #main-layout { padding: 0.5rem; }

  #church-year-banner { padding: 0.4rem 0.75rem; }
  
  /* 모바일에서 절기 패널 스크롤 영역 더 작게 */
  #seasons-panel.open { max-height: 320px; }
  .seasons-grid { max-height: 240px; }
}

/* ─────────────────────────────────────
   애니메이션
───────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.side-card-body { animation: fadeIn 0.25s ease; }

/* 로딩 */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
