/* MEDVID WEB Christmas Card — ТЕСТ v2: читабельність фінальної листівки на телефоні (лише тестова копія).
   Діє тільки в «режимі читання» (.mw-read), який вмикає js/readable.js ПІСЛЯ затвердженої анімації розгортання.
   Типографіка, кольори, золота рамка, вінок і гірлянда — ті самі; лише трохи більший міжрядковий інтервал і темніший текст. */

.finale .letter-flat.mw-read p{ line-height: 1.62; color: #2a1d13; }
.finale .letter-flat.mw-read p.wish{ color: #44301f; }
.finale .letter-flat.mw-read .sign{ color: #44301f; }
.finale .letter-flat.mw-read .company{ color: #7a5620; }
.finale .letter-flat.mw-transition{
  transition: width .7s cubic-bezier(.3,.1,.2,1), height .7s cubic-bezier(.3,.1,.2,1),
              left .7s cubic-bezier(.3,.1,.2,1), top .7s cubic-bezier(.3,.1,.2,1), font-size .7s cubic-bezier(.3,.1,.2,1);
}

/* природна прокрутка — лише якщо збільшена листівка не вміщається на екрані */
.mw-read-scroll{
  position: fixed; inset: 0; z-index: 9; overflow-x: hidden; overflow-y: auto; pointer-events: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.mw-read-scroll .mw-read-spacer{ position: absolute; left: 0; width: 1px; pointer-events: none; }
#watchAgain.mw-in-scroll{ position: absolute !important; }
/* у режимі читання кнопка не розтягується по висоті (app.js задає top, а cover.css — bottom: 16px) */
html.mw-reading #watchAgain{ bottom: auto !important; }

@media (prefers-reduced-motion: reduce){
  .finale .letter-flat.mw-transition{ transition: none; }
}
