/* Your year in Eshgh with the fun kit (page-year-in-eshgh.php; kit: fun.css and fun.js). Linked first in #main; the
   core's year-recap.css comes after it, so restyles of the core's parts are a little more specific (html .fun-yr ...).
   The story, the streak and the switch are the core's and keep their behavior. Motion is transform and opacity only;
   Reduce Motion keeps the core's fades, quiet motion stops everything (end of this file). */

/* ---------- The headline: a green accent line ---------- */
html .fun-yr .yr-title.fun-yr-title { font-family: var(--fun-display); font-weight: 600; font-size: clamp(46px, 11vw, 76px); line-height: .98; letter-spacing: -.055em; }
html .fun-yr .yr-lede { color: var(--fun-ink-2); }

/* ---------- The core's messages and buttons, in the kit's voice ---------- */
html .fun-yr .yr-message { border-radius: 30px; }
html .fun-yr .yr-message-title { font-family: var(--fun-display); font-weight: 600; font-size: 24px; letter-spacing: -.04em; }
html body .fun-yr .yr-signin, html body .fun-yr .yr-actions .btn { min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; font-family: var(--fun-display); font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: var(--fun-dark); background: var(--fun-green); box-shadow: 0 12px 34px -10px rgb(100 237 170 / .75), inset 0 -3px 0 rgb(0 0 0 / .12); transition: transform .35s var(--fun-spring), box-shadow .3s ease; }
html body .fun-yr .yr-signin:active, html body .fun-yr .yr-actions .btn:active { transform: scale(.96); transition-duration: .1s; }
html body .fun-yr .yr-actions .btn:not(.yr-share) { color: var(--fun-ink); background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .28); }
html .fun-yr .yr-persona { font-family: var(--fun-display); }
html .fun-yr .yr-streak-title { font-family: var(--fun-display); }
html .fun-yr .yr-nav { width: 44px; height: 44px; }
html .fun-yr .fun-yr-rest { padding: 30px 22px; border-radius: 30px; }


@media (prefers-reduced-motion: reduce) {
	html body .fun-yr .yr-signin:active, html body .fun-yr .yr-actions .btn:active { transform: none; }
}
/* Quiet motion (the site setting): the core only checks Reduce Motion, so the same stillness is added here. */
body.quiet-motion .fun-yr *, body.quiet-motion .fun-yr *::before, body.quiet-motion .fun-yr *::after { animation: none !important; }
body.quiet-motion .fun-yr .yr-slide, body.quiet-motion .fun-yr .yr-slide.is-before { transform: none; transition: opacity .35s ease; }
body.quiet-motion .fun-yr .yr-bar i, body.quiet-motion .fun-yr .yr-switch, body.quiet-motion .fun-yr .yr-switch-knob, body.quiet-motion .fun-yr .yr-nav, body.quiet-motion .fun-yr .yr-fill-level, body.quiet-motion .fun-yr .yr-signin, body.quiet-motion .fun-yr .yr-actions .btn { transition: none; }
body.quiet-motion .fun-yr .yr-show { opacity: 1; }
body.quiet-motion .fun-yr .yr-burst-heart, body.quiet-motion .fun-yr .yr-rain-heart { display: none; }
