/* 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. */

/* twenty taken domains, then the one that was already mine */
.dm { --tint: var(--a3) }
.prose .dm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px }
.prose .dm-list li { margin: 0; display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 14px; box-shadow: inset 0 0 0 1px var(--line) }
.dm-list s { position: relative; text-decoration: none; color: var(--muted) }
.dm-list s::after { content: ""; position: absolute; left: -2px; right: -2px; top: 55%; height: 1.5px; background: var(--faint); transform-origin: left; transition: transform .5s var(--ease) calc(var(--d, 0s) + .3s) }
.js .dm li:not(.in) s::after { transform: scaleX(0) }
.dm-list .mono { font-size: 10px }
.prose .dm-list .win { box-shadow: inset 0 0 0 1.5px var(--a2); font-size: 15px }
.dm-list .win b { font-weight: 600 }
.dm-list .win .mono { color: var(--ink-accent) }

/* the search box: each address tried, each one taken, until the one I already had (12 s) */
.dm-box { display: flex; align-items: center; gap: 2px; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 18px; font-weight: 500; letter-spacing: -.01em }
.dm-at { font-size: 15px; color: var(--muted) }
.dm-stack { display: grid; flex: 1; min-width: 0 }
.dm-try { grid-area: 1 / 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; opacity: 0; animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-fill-mode: both }
.dm-tag { padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 400; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); opacity: 0; animation-duration: 12s; animation-iteration-count: infinite; animation-timing-function: var(--ease); animation-fill-mode: both }
.dm-mine { color: var(--fg) }
.dm-mine .dm-tag { color: var(--ink-accent); box-shadow: inset 0 0 0 1.5px var(--a2) }
.dt0 { animation-name: dt0 } .dg0 { animation-name: dg0 }
@keyframes dt0 { 0%, 0% { opacity: 0; transform: translateY(8px) } 2%, 10% { opacity: 1; transform: none } 12%, 100% { opacity: 0; transform: translateY(-8px) } }
@keyframes dg0 { 0%, 5% { opacity: 0; transform: scale(.8) } 7%, 100% { opacity: 1; transform: none } }
.dt1 { animation-name: dt1 } .dg1 { animation-name: dg1 }
@keyframes dt1 { 0%, 12% { opacity: 0; transform: translateY(8px) } 14%, 22% { opacity: 1; transform: none } 24%, 100% { opacity: 0; transform: translateY(-8px) } }
@keyframes dg1 { 0%, 17% { opacity: 0; transform: scale(.8) } 19%, 100% { opacity: 1; transform: none } }
.dt2 { animation-name: dt2 } .dg2 { animation-name: dg2 }
@keyframes dt2 { 0%, 24% { opacity: 0; transform: translateY(8px) } 26%, 34% { opacity: 1; transform: none } 36%, 100% { opacity: 0; transform: translateY(-8px) } }
@keyframes dg2 { 0%, 29% { opacity: 0; transform: scale(.8) } 31%, 100% { opacity: 1; transform: none } }
.dt3 { animation-name: dt3 } .dg3 { animation-name: dg3 }
@keyframes dt3 { 0%, 36% { opacity: 0; transform: translateY(8px) } 38%, 46% { opacity: 1; transform: none } 48%, 100% { opacity: 0; transform: translateY(-8px) } }
@keyframes dg3 { 0%, 41% { opacity: 0; transform: scale(.8) } 43%, 100% { opacity: 1; transform: none } }
.dt4 { animation-name: dt4 } .dg4 { animation-name: dg4 }
@keyframes dt4 { 0%, 48% { opacity: 0; transform: translateY(8px) } 50%, 58% { opacity: 1; transform: none } 60%, 100% { opacity: 0; transform: translateY(-8px) } }
@keyframes dg4 { 0%, 53% { opacity: 0; transform: scale(.8) } 55%, 100% { opacity: 1; transform: none } }
.dt5 { animation-name: dt5 } .dg5 { animation-name: dg5 }
@keyframes dt5 { 0%, 60% { opacity: 0; transform: translateY(8px) } 62%, 70% { opacity: 1; transform: none } 72%, 100% { opacity: 0; transform: translateY(-8px) } }
@keyframes dg5 { 0%, 65% { opacity: 0; transform: scale(.8) } 67%, 100% { opacity: 1; transform: none } }
.dt6 { animation-name: dt6 } .dg6 { animation-name: dg6 }
@keyframes dt6 { 0%, 72% { opacity: 0; transform: translateY(8px) } 75%, 92% { opacity: 1; transform: none } 97%, 100% { opacity: 0; transform: none } }
@keyframes dg6 { 0%, 78% { opacity: 0; transform: scale(.8) } 80%, 100% { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .dm-mine, .dm-mine .dm-tag { opacity: 1 } }
[data-motion="off"] .dm-mine, [data-motion="off"] .dm-mine .dm-tag { opacity: 1 }
@media (max-width: 480px) { .dm-box { padding: 12px 14px; font-size: 16px } .dm-tag { padding: 2px 7px } }
