/* ============================================================
   ANIMATIONS & UI REDESIGN — animations.css
   Loaded after studio.css. Adds/overrides animations, easing,
   micro-interactions, glassmorphism, and visual polish.
   ============================================================ */

/* ─── 1. SPRING EASING TOKENS ─── */
:root {
  --spring: cubic-bezier(.22,1,.36,1);
  --snappy: cubic-bezier(.22,.8,.24,1);
  --smooth: cubic-bezier(.4,0,.2,1);
  --enter:  cubic-bezier(.16,1,.3,1);
  --exit:   cubic-bezier(.4,0,1,1);
  --ripple: rgba(117,96,212,.18);
}

/* ─── 2. GLOBAL TRANSITION UPGRADE ─── */
*,*::before,*::after { box-sizing: border-box; }

/* Smooth focus ring on all interactive elements */
:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
  transition: outline-offset .12s var(--snappy);
}

/* ─── 3. KEYFRAMES ─── */

/* Page slide-in (screens) */
@keyframes screenIn {
  from { opacity:0; transform:translateY(16px) scale(.985); }
  to   { opacity:1; transform:none; }
}

/* Staggered card entrance */
@keyframes rise {
  from { opacity:0; transform:translateY(18px) scale(.982); }
  to   { opacity:1; transform:none; }
}

/* Flashcard 3-D flip */
@keyframes flipIn {
  from { opacity:.1; transform:rotateY(-80deg) scale(.9); }
  50%  { opacity:.8; }
  to   { opacity:1; transform:none; }
}

/* Pop micro-feedback */
@keyframes pop {
  0%   { transform:scale(.9); }
  55%  { transform:scale(1.06); }
  80%  { transform:scale(.98); }
  100% { transform:scale(1); }
}

/* Wrong-answer shake */
@keyframes shake {
  0%,100% { transform:translateX(0); }
  18%      { transform:translateX(-7px) rotate(-.6deg); }
  36%      { transform:translateX(6px) rotate(.6deg); }
  54%      { transform:translateX(-5px); }
  72%      { transform:translateX(4px); }
}

/* Shimmer for loading / progress bar */
@keyframes shimmer {
  0%       { transform:translateX(-120%); }
  60%,100% { transform:translateX(130%); }
}

/* Audio pulse (playing indicator) */
@keyframes audioPulse {
  0%,100% { opacity:.5; transform:scale(.88); }
  50%     { opacity:1;  transform:scale(1.18); }
}

/* Correct answer check pop */
@keyframes checkPop {
  0%   { transform:scale(0) rotate(-20deg); opacity:0; }
  60%  { transform:scale(1.15) rotate(4deg); opacity:1; }
  100% { transform:scale(1) rotate(0deg); }
}

/* Tab active indicator slide */
@keyframes tabSlide {
  from { transform:scaleX(0); opacity:0; }
  to   { transform:scaleX(1); opacity:1; }
}

/* Sidebar slide in */
@keyframes sideSlide {
  from { transform:translateX(-18px); opacity:0; }
  to   { transform:none; opacity:1; }
}

/* Toast notification */
@keyframes toastIn {
  from { transform:translateY(24px) scale(.9); opacity:0; }
  to   { transform:none; opacity:1; }
}
@keyframes toastOut {
  to { transform:translateY(20px) scale(.92); opacity:0; }
}

/* Ripple effect */
@keyframes rippleGrow {
  from { transform:scale(0); opacity:.55; }
  to   { transform:scale(3.5); opacity:0; }
}

/* Streak counter pop */
@keyframes streakPop {
  0%   { transform:scale(1); }
  40%  { transform:scale(1.35) rotate(8deg); }
  70%  { transform:scale(.93) rotate(-3deg); }
  100% { transform:scale(1); }
}

/* Score count up glow */
@keyframes scoreGlow {
  0%   { text-shadow:0 0 0 transparent; }
  50%  { text-shadow:0 0 24px rgba(117,96,212,.45); }
  100% { text-shadow:none; }
}

/* Subtle float for hero art */
@keyframes float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-6px); }
}
@keyframes floatBook {
  0%,100% { transform:rotate(-10deg) translateY(0); }
  50%      { transform:rotate(-10deg) translateY(-6px); }
}

/* Heartbeat for fire streak */
@keyframes heartbeat {
  0%,100% { transform:scale(1); }
  25%      { transform:scale(1.22); }
  50%      { transform:scale(1); }
  75%      { transform:scale(1.1); }
}


/* ─── 4. EXISTING CLASS UPGRADES ─── */

/* Screen entrance */
.screen.screen-in {
  animation: screenIn .38s var(--enter) both;
}

/* Card stagger rise — applied via JS riseIn() */
.rise {
  animation: rise .48s var(--enter) both;
  animation-delay: var(--d, 0ms);
}

/* Flashcard flip */
.flip-in {
  animation: flipIn .42s var(--spring) both;
}

/* Pop (generic micro-feedback) */
.pop { animation: pop .36s var(--spring) both; }

/* Shake (wrong answer) */
.shake { animation: shake .45s var(--snappy) both; }

/* ─── 5. BUTTON MICRO-INTERACTIONS ─── */

/* Override base btn transition with spring */
.btn,
.mode-btn,
.tab,
.audio-simple-btn,
.audio-btn,
.overview-home,
.course-item,
.review-type {
  transition:
    transform .22s var(--spring),
    background .2s var(--smooth),
    border-color .2s var(--smooth),
    box-shadow .22s var(--smooth),
    color .18s ease;
  position: relative;
  overflow: hidden;
}

/* Lift on hover */
.btn:hover,
.mode-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(117,96,212,.14);
}

/* Press spring (handled by JS .tap class) */
.btn.tap,
.btn:active,
.mode-btn:active,
.audio-btn:active {
  transform: scale(.94);
}

/* Ripple on click — injected as ::after pseudo */
.btn::after,
.mode-btn::after,
.tab::after {
  content: '';
  position: absolute;
  inset: 50% 50% auto auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ripple);
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}
.btn.tap::after {
  animation: rippleGrow .55s var(--smooth) forwards;
}

/* Primary button shimmer on hover */
.btn.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transform: translateX(-100%);
  transition: transform .55s ease;
  pointer-events: none;
}
.btn.primary:hover::before { transform: translateX(100%); }

/* ─── 6. TAB ACTIVE INDICATOR ─── */
.tabs {
  position: relative;
  background: rgba(238,237,247,.85);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.tab {
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  position: relative;
  z-index: 1;
}
.tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(117,96,212,.3);
}
/* Slide the active pill */
.tab.active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, #8c77e2, #6a4fc4);
  z-index: -1;
  animation: tabSlide .26s var(--spring) both;
}

/* ─── 7. CARD HOVER EFFECTS ─── */
.card {
  transition:
    transform .22s var(--enter),
    box-shadow .22s var(--smooth),
    border-color .2s ease;
  cursor: default;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(117,96,212,.12), 0 2px 8px rgba(0,0,0,.04);
}
.card:active {
  transform: scale(.99);
}

/* Card icon scale on hover */
.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
  transition: transform .3s var(--spring);
}
.card-icon {
  transition: transform .25s var(--spring);
}

/* ─── 8. HEADER GLASSMORPHISM ─── */
.modern-header {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(234,234,242,.75);
  box-shadow: 0 1px 0 rgba(117,96,212,.06), 0 4px 20px rgba(37,36,59,.04);
  transition: box-shadow .3s ease, background .3s ease;
}

/* Header shrink on scroll — add .scrolled via JS */
.modern-header.scrolled {
  box-shadow: 0 2px 24px rgba(37,36,59,.09);
  background: rgba(255,255,255,.94);
}

/* Logo bounce on load */
.logo {
  animation: pop .55s var(--spring) .1s both;
  transition: transform .22s var(--spring), box-shadow .22s var(--smooth);
}
.logo:hover {
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(117,96,212,.28);
}

/* Header icon buttons */
.modern-header .btn.icon-only {
  transition: background .18s ease, transform .22s var(--spring), box-shadow .18s ease;
}
.modern-header .btn.icon-only:hover {
  background: var(--primary-soft);
  transform: scale(1.1);
  box-shadow: none;
}
.modern-header .btn.icon-only:active {
  transform: scale(.9);
}

/* ─── 9. SIDEBAR ANIMATIONS ─── */
.course-sidebar {
  transition: transform .32s var(--enter), box-shadow .32s ease;
}
@media (max-width: 900px) {
  .course-sidebar {
    transform: translateX(-108%);
  }
  .course-sidebar.open {
    transform: translateX(0);
    box-shadow: 20px 0 60px rgba(37,36,59,.18);
  }
}

/* Sidebar items stagger on open */
.course-section {
  animation: sideSlide .3s var(--enter) both;
}
.course-section:nth-child(2) { animation-delay: 35ms; }
.course-section:nth-child(3) { animation-delay: 70ms; }
.course-section:nth-child(4) { animation-delay: 105ms; }
.course-section:nth-child(5) { animation-delay: 140ms; }

/* Course item hover */
.course-item {
  border-radius: 8px;
  transition: background .18s ease, padding-left .18s var(--snappy), color .15s ease;
}
.course-item:hover {
  background: linear-gradient(90deg, var(--primary-soft), transparent);
  padding-left: 16px;
}
.course-item.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

/* Overview home button */
.overview-home {
  transition: background .2s ease, color .2s ease, transform .22s var(--spring), box-shadow .22s ease;
}
.overview-home:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(117,96,212,.1);
}

/* ─── 10. HERO SECTION ─── */
.hero {
  background: linear-gradient(135deg, #ede7fb 0%, #e8e1f8 40%, #ddd3f5 100%);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(179,163,232,.3);
  box-shadow: 0 12px 40px rgba(117,96,212,.1);
}

/* Hero entrance */
.hero {
  animation: rise .5s var(--enter) .05s both;
}

.art-book {
  animation: floatBook 5.6s ease-in-out infinite;
}
.art-bubble {
  animation: float 4.8s ease-in-out .5s infinite;
}
.art-note {
  animation: float 6s ease-in-out 1s infinite;
}

/* Hero CTA pulse ring */
.hero-cta {
  position: relative;
  overflow: visible;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  border: 2px solid rgba(117,96,212,.35);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .3s ease, transform .3s var(--spring);
}
.hero-cta:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* ─── 11. LEARNING PATH ─── */
.learning-path {
  transition: transform .22s var(--spring), box-shadow .22s ease;
}
.learning-path:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(117,96,212,.1);
}

/* Path number pop */
.path-number {
  transition: transform .22s var(--spring), background .2s ease;
}
.learning-path:hover .path-number {
  transform: scale(1.15) rotate(-5deg);
  background: var(--primary-soft);
}

/* ─── 12. MODE BUTTONS ─── */
.mode-btn {
  border-radius: 8px;
  gap: 6px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
}
.mode-btn:first-child {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: rgba(117,96,212,.2);
}
.mode-btn:first-child:hover {
  background: rgba(117,96,212,.18);
  border-color: var(--primary);
}

/* ─── 13. REVIEW TYPES ─── */
.review-type {
  border-radius: 14px;
  transition:
    transform .24s var(--spring),
    box-shadow .24s ease,
    border-color .18s ease,
    background .18s ease;
}
.review-type:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(117,96,212,.12);
  border-color: rgba(117,96,212,.35);
}
.review-type.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(117,96,212,.12), 0 6px 18px rgba(117,96,212,.12);
  transform: none;
}
.review-type > span.material-symbols-rounded {
  transition: transform .28s var(--spring);
  font-size: 28px;
  color: var(--primary);
}
.review-type:hover > span.material-symbols-rounded {
  transform: scale(1.2) rotate(-8deg);
}
.review-type.selected > span.material-symbols-rounded {
  transform: scale(1.15);
  animation: pop .36s var(--spring) both;
}

/* ─── 14. AUDIO BUTTON ─── */
.audio-btn {
  transition:
    transform .22s var(--spring),
    background .18s ease,
    box-shadow .18s ease;
}
.audio-btn:hover {
  transform: scale(1.12);
  background: var(--primary-soft);
  border-color: rgba(117,96,212,.3);
  box-shadow: 0 4px 14px rgba(117,96,212,.18);
}
.audio-btn:active { transform: scale(.88); }
.audio-btn.playing {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.audio-btn.playing .material-symbols-rounded {
  animation: audioPulse .7s ease-in-out infinite;
}

/* ─── 15. PROGRESS BAR ─── */
.bar > span {
  background: linear-gradient(90deg, var(--primary), #a88fe8);
  border-radius: inherit;
  transition: width .65s var(--enter);
  position: relative;
  overflow: hidden;
}
.bar > span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 2.2s ease-in-out 1s infinite;
}

/* ─── 16. FLASH CARD ─── */
.flash {
  transition:
    transform .26s var(--enter),
    box-shadow .24s ease,
    background .2s ease;
  cursor: pointer;
  border-radius: 16px;
}
.flash:hover {
  transform: translateY(-3px) rotate(.4deg);
  box-shadow: 0 16px 40px rgba(117,96,212,.15);
}
.flash:active {
  transform: scale(.97);
}
.flash.correct-flash {
  animation: pop .38s var(--spring) both;
  border-color: #65c495;
  background: #edfbf3;
}
.flash.wrong-flash {
  animation: shake .45s var(--snappy) both;
  border-color: #e8857e;
  background: #fff2f1;
}

/* ─── 17. FEEDBACK: CORRECT / WRONG ─── */
[role=status].ok,
.result.ok {
  animation: checkPop .4s var(--spring) both, scoreGlow .8s ease .1s both;
  color: #2d8a5b;
}
[role=status].bad,
.result.bad {
  animation: shake .45s var(--snappy) both;
  color: #c0443b;
}

/* Correct icon check animation */
.check-icon {
  display: inline-block;
  animation: checkPop .38s var(--spring) both;
}

/* ─── 18. SCORE / STREAK ─── */
.score {
  animation: scoreGlow .7s ease both;
}
.sidebar-special .material-symbols-rounded[data-icon="local_fire_department"],
[data-streakfire] {
  display: inline-block;
  animation: heartbeat 1.4s ease-in-out infinite;
  color: #f0622a;
}

/* ─── 19. PANEL & QBOX ENTRY ─── */
.panel,
.qbox,
.rule,
.result,
.mastery-item,
.mini,
.mix-banner,
.verb-cell {
  transition:
    box-shadow .24s ease,
    border-color .18s ease;
}
.panel:focus-within,
.qbox:focus-within {
  box-shadow: 0 0 0 3px rgba(117,96,212,.1), 0 8px 24px rgba(37,36,59,.06);
  border-color: rgba(117,96,212,.22);
}

/* ─── 20. INPUT FOCUS ─── */
.answer-input,
#reviewAnswer,
.vocab-learn .answer-input,
.vocab-learn .search input,
.vocab-learn .search select {
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .18s var(--spring);
}
.answer-input:focus,
#reviewAnswer:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(117,96,212,.14);
  outline: none;
  transform: scale(1.006);
}

/* ─── 21. TOAST NOTIFICATIONS ─── */
.toast {
  animation: toastIn .32s var(--spring) both;
}
.toast.hiding {
  animation: toastOut .25s var(--exit) forwards;
}

/* ─── 22. PROFILE MODAL ─── */
/* Visibility is controlled by .open in studio.css. A forwards/both opacity
   animation here would show the closed dialog while its inputs stay disabled. */
.profile-modal-overlay {
  animation: none;
}

/* ─── 23. MIX BANNER ─── */
.mix-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #efedf8 0%, #e5e0f5 60%, #ddd4f4 100%);
  border: 1px solid rgba(179,163,232,.35);
  border-radius: 18px;
  transition: transform .28s var(--spring), box-shadow .28s ease;
}
.mix-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(117,96,212,.12);
}
.mix-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 95% 10%, rgba(140,119,226,.18), transparent 65%);
  pointer-events: none;
}

/* ─── 24. LISTENING CARD ─── */
.listening-card {
  border-radius: 18px;
  background: linear-gradient(135deg, #faf8ff 0%, #f3effe 100%);
  border: 1px solid rgba(179,163,232,.28);
  transition: transform .26s var(--spring), box-shadow .26s ease;
}
.listening-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(117,96,212,.1);
}
.listening-icon {
  transition: transform .3s var(--spring);
}
.listening-card:hover .listening-icon {
  transform: scale(1.15) rotate(-8deg);
}

/* ─── 25. VOICE PANEL ─── */
.voice-panel {
  border-radius: 16px;
  transition: box-shadow .24s ease;
}
.voice-panel:focus-within {
  box-shadow: 0 4px 20px rgba(117,96,212,.12);
}

/* ─── 26. MATERIAL SYMBOLS SIZING & VARIANTS ─── */
.material-symbols-rounded {
  font-size: 22px;
  line-height: 1;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  transition: font-variation-settings .2s ease, transform .22s var(--spring), color .18s ease;
}
.material-symbols-rounded.sm {
  font-size: 18px;
  line-height: 1;
}
.material-symbols-rounded.lg {
  font-size: 30px;
}
.material-symbols-rounded.filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}
.material-symbols-rounded.bold {
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24;
}

/* Fill transition for star icon */
.star-icon {
  transition: font-variation-settings .25s ease, color .2s ease, transform .25s var(--spring);
}
.star-icon.active {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 50, 'opsz' 24;
  color: #f5a623;
  animation: pop .3s var(--spring) both;
}

/* ─── 27. SIDEBAR SECTION LAYOUT ─── */
.sec-title-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec-icon {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .22s var(--spring);
}
.course-section-title:hover .sec-icon {
  transform: scale(1.15) rotate(-6deg);
}
.end-arrow {
  margin-left: auto;
  font-size: 16px;
  opacity: .55;
  transition: transform .2s var(--spring), opacity .18s ease;
}
.overview-home:hover .end-arrow {
  transform: translateX(4px) translateY(-2px);
  opacity: .85;
}

/* ─── 28. REVIEW TYPE ICON ─── */
.review-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  transition: transform .28s var(--spring), background .2s ease;
}
.review-type:hover .review-type-icon {
  transform: scale(1.12) rotate(-8deg);
  background: rgba(117,96,212,.18);
}

/* ─── 29. NAV BOTTOM BUTTONS ─── */
.flash-nav .btn {
  transition: transform .22s var(--spring), background .18s ease, box-shadow .18s ease;
}
.flash-nav .btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 20px rgba(117,96,212,.15);
}

/* ─── 30. SCROLL HEADER BEHAVIOR ─── */
/* JS can toggle .scrolled on .modern-header */
.modern-header { will-change: box-shadow, background; }

/* ─── 31. SKELETON LOADING ─── */
@keyframes skeletonShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #eeedf5 25%, #f5f4fa 50%, #eeedf5 75%);
  background-size: 800px 100%;
  animation: skeletonShimmer 1.6s ease-in-out infinite;
  border-radius: 8px;
}

/* ─── 32. REVIEW EXERCISE POLISH ─── */
.review-prompt {
  border-radius: 14px;
  background: linear-gradient(135deg, #f7f4fd 0%, #f0ebfc 100%);
  border-color: #e0d8f5;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.review-exercise:focus-within .review-prompt {
  border-color: rgba(117,96,212,.35);
  box-shadow: 0 4px 18px rgba(117,96,212,.08);
}
.spelling-prompt {
  background: linear-gradient(135deg, #fff8f4 0%, #fff2ed 100%);
  border-color: #f5d8cc;
}

/* ─── 33. SIDEBAR BACKDROP ─── */
.sidebar-backdrop {
  transition: opacity .28s ease;
  opacity: 0;
}
.sidebar-backdrop.show {
  opacity: 1;
  background: rgba(28,22,54,.38);
  backdrop-filter: blur(3px);
}

/* ─── 34. REDUCE MOTION — SAFETY ─── */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .study-art,
  .art-book,
  .art-bubble,
  .art-note { animation: none !important; }
}

/* ─── 35. DENSITY + SMOOTH MOTION POLISH ─── */
.btn:hover,
.mode-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(117,96,212,.12);
}
.btn.tap,
.btn:active,
.mode-btn:active,
.audio-btn:active {
  transform: scale(.97);
}
.learning-path:hover { transform: translateY(-1px); }
.mix-banner:hover,
.listening-card:hover { transform: translateY(-2px); }

.rise {
  animation: rise .4s var(--enter) both;
  animation-delay: var(--d, 0ms);
}

.option,
.token,
.classify-token {
  transition: transform .18s var(--enter), background .16s ease, border-color .16s ease;
}
.option:hover { transform: translateX(2px); }

.modern-header { will-change: auto; }

html { scroll-padding-top: 64px; }
