/* The toy in this note. Loaded on this page only, after styles.css and notes.css.
   Same rules as everywhere: only opacity and transform move, and anything marked
   .lp loops only while the toy is on screen. */

/* Earth's free trial: the Moon goes, the features lock (10 s) */
.trial { --tint: var(--a4) }
.tr-card { display: grid; justify-items: center; gap: 14px; padding: 26px 20px; border-radius: 16px; background: #0B0C10; color: #F3F4F6; text-align: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 20px 50px -30px var(--a4) }
.tr-planet { position: relative; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #7FE0C4, #1E9FC2 55%, #0B3A55) }
.tr-orbit { position: absolute; inset: -18px; animation: tr-orbit 10s linear infinite }
.tr-moon { position: absolute; right: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #E6E8EE; animation: tr-moon 10s ease infinite both }
@keyframes tr-orbit { to { transform: rotate(360deg) } }
@keyframes tr-moon { 0%, 18% { opacity: 1; transform: none } 24%, 92% { opacity: 0; transform: scale(.2) } 98%, 100% { opacity: 1; transform: none } }
.tr-h { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 4.6vw, 30px); line-height: 1.15; letter-spacing: -.01em; max-width: 16em }
.tr-list { display: grid; width: min(100%, 320px); text-align: left }
.tr-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; border-top: 1px solid rgba(255, 255, 255, .1) }
.tr-row em { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #FFB89E; animation: 10s ease infinite both }
.tr-btn { margin-top: 4px; height: 38px; padding: 0 18px; border-radius: 999px; background: #F3F4F6; color: #0B0C10; font-size: 14px; font-weight: 600 }
.tr-btn.nope { animation: nope .45s ease }
/* without script the button could not answer, so it is not offered */
html:not(.js) .tr-btn { display: none }
.tr-row .r1 { animation-name: tr-r1 }
@keyframes tr-r1 { 0%, 20% { opacity: 0; transform: translateX(8px) } 24%, 92% { opacity: 1; transform: none } 97%, 100% { opacity: 0 } }
.tr-row .r2 { animation-name: tr-r2 }
@keyframes tr-r2 { 0%, 34% { opacity: 0; transform: translateX(8px) } 38%, 92% { opacity: 1; transform: none } 97%, 100% { opacity: 0 } }
.tr-row .r3 { animation-name: tr-r3 }
@keyframes tr-r3 { 0%, 48% { opacity: 0; transform: translateX(8px) } 52%, 92% { opacity: 1; transform: none } 97%, 100% { opacity: 0 } }
