/* NoReasonWeb: the "What could my site be?" slide show (ideas.js). Candy-computer colors from hub.css,
   soft shadows only, no thick outlines. Everything holds still for people who turned motion off. */
html.ix-open { overflow: hidden; }
.ix { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 14px; }
.ix[hidden] { display: none; }
.ix-shade { position: absolute; inset: 0; background: #1E1748a6; backdrop-filter: blur(3px); opacity: 0; transition: opacity .22s; }
.ix.on .ix-shade { opacity: 1; }
.ix-win { position: relative; width: min(980px, 100%); height: min(720px, calc(100dvh - 28px)); display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px #1E1748cc, 0 0 0 1px #1E174822;
  transform: translateY(18px) scale(.97); opacity: 0; transition: transform .32s cubic-bezier(.2, 1.3, .4, 1), opacity .22s; }
.ix.on .ix-win { transform: none; opacity: 1; }
.ix-bar { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; color: #fff;
  background: repeating-linear-gradient(0deg, #6B3FC2 0 2px, #7b52cf 2px 4px); }
.ix-dots { display: flex; gap: 5px; } .ix-dots i { width: 11px; height: 11px; border-radius: 50%; background: #fff5; }
.ix-dots i:nth-child(1) { background: #E8336D; } .ix-dots i:nth-child(2) { background: #FFD23F; } .ix-dots i:nth-child(3) { background: #7CC233; }
.ix-bar b { font: 700 1rem/1 var(--display, system-ui); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ix-sound, .ix-x-btn { border: 0; background: #ffffff26; color: #fff; border-radius: 999px; padding: .3rem .75rem; font-weight: 700; font-size: .85rem; cursor: pointer; }
.ix-x-btn { width: 32px; height: 32px; padding: 0; font-size: 1.3rem; line-height: 1; }
.ix-sound:hover, .ix-x-btn:hover { background: #ffffff40; }
.ix-stage { position: relative; overflow: hidden; background: var(--sky, #E6ECFF); background-image: radial-gradient(circle at 1px 1px, #1E174812 1px, transparent 1.5px); background-size: 22px 22px; }
.ix-slide { position: absolute; inset: 0; overflow: auto; padding: clamp(18px, 3.5vw, 36px); color: var(--ink, #1E1748); }
.ix-slide.in-r { animation: ix-in-r .38s cubic-bezier(.2, .9, .3, 1); } .ix-slide.in-l { animation: ix-in-l .38s cubic-bezier(.2, .9, .3, 1); }
@keyframes ix-in-r { from { opacity: 0; transform: translateX(40px); } } @keyframes ix-in-l { from { opacity: 0; transform: translateX(-40px); } }
.ix-slide h2 { font: 800 clamp(1.7rem, 4vw, 2.6rem)/1.02 var(--display, system-ui); letter-spacing: -.02em; margin: 0 0 .4rem; }
.ix-sub { color: var(--soft, #4F4A78); max-width: 46rem; margin: 0 0 1.1rem; }
.ix-foot { display: flex; align-items: center; gap: .8rem; padding: .65rem .9rem; background: #fff; border-top: 1px solid #1E174815; }
.ix-steps { flex: 1; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.ix-steps button { width: 28px; height: 10px; border-radius: 999px; border: 0; background: #1E174820; cursor: pointer; padding: 0; transition: background .2s, width .25s; }
.ix-steps button.done { background: #6B3FC266; } .ix-steps button.on { background: #E8336D; width: 42px; }
.ix-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 700; cursor: pointer;
  text-decoration: none; color: var(--ink, #1E1748); background: #1E174812; transition: transform .15s, background .15s; }
.ix-btn:hover { transform: translateY(-1px); background: #1E17481f; }
.ix-btn:disabled { opacity: .35; cursor: default; transform: none; }
.ix-go { color: #fff; background: linear-gradient(#f24f84, #E8336D); box-shadow: inset 0 1px 0 #ffffff66, 0 6px 16px -8px #E8336D; }
.ix-go:hover { background: linear-gradient(#f45f8f, #d82a62); }
.ix-huge { font-size: 1.15rem; padding: .85rem 1.6rem; }
.ix-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: 1rem; }
.ix-link { border: 0; background: none; padding: 0; color: #6B3FC2; text-decoration: underline; font-weight: 700; cursor: pointer; }

/* 1. hello */
.ix-hello { display: grid; align-content: center; min-height: 100%; gap: .4rem; }
.ix-big { font-size: clamp(2.2rem, 6vw, 4rem) !important; }
.ix-wob { display: inline-block; font-family: var(--magnet, system-ui); color: #E8336D; animation: ix-wob 2.6s ease-in-out infinite; }
@keyframes ix-wob { 50% { transform: rotate(-2deg) translateY(-3px); } }
.ix-lede { font-size: 1.15rem; max-width: 38rem; }
.ix-pops { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.ix-pop { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .8rem .45rem .5rem; background: #fff; border-radius: 10px; font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 20px -12px #1E174888; animation: ix-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: calc(var(--i) * 110ms + 150ms); }
.ix-pop i { width: 22px; height: 16px; border-radius: 4px; background: repeating-linear-gradient(0deg, #0089A8 0 2px, #1a9db9 2px 4px); }
.ix-pop:nth-child(3n+2) i { background: repeating-linear-gradient(0deg, #FF7A1A 0 2px, #ff8f3d 2px 4px); }
.ix-pop:nth-child(3n) i { background: repeating-linear-gradient(0deg, #6B3FC2 0 2px, #7d55cc 2px 4px); }
@keyframes ix-pop { from { opacity: 0; transform: translateY(14px) scale(.8) rotate(-4deg); } }
.ix-hint { color: var(--soft, #4F4A78); font-size: .92rem; }

/* 2. flip cards */
.ix-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.ix-card { position: relative; height: 150px; border: 0; padding: 0; background: none; cursor: pointer; perspective: 800px; text-align: left; font: inherit; color: inherit; }
.ix-card > span { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: .9rem; border-radius: 12px;
  backface-visibility: hidden; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1); box-shadow: 0 10px 22px -14px #1E1748aa; }
.ix-front { color: #fff; font: 800 1.15rem/1.15 var(--display, system-ui); }
.ix-front small, .ix-back small { font: 700 .78rem/1.2 var(--body, system-ui); opacity: .85; }
.ix-back { background: #fff; transform: rotateY(180deg); font-size: .9rem; line-height: 1.35; }
.ix-back small { color: #6B3FC2; opacity: 1; }
.ix-card.flipped .ix-front { transform: rotateY(-180deg); } .ix-card.flipped .ix-back { transform: rotateY(0); }
.ix-card:hover .ix-front { transform: rotate(-1.5deg) translateY(-2px); } .ix-card.flipped:hover .ix-front { transform: rotateY(-180deg); }
.c0 .ix-front { background: linear-gradient(140deg, #0089A8, #00b3c7); } .c1 .ix-front { background: linear-gradient(140deg, #FF7A1A, #ffa04d); }
.c2 .ix-front { background: linear-gradient(140deg, #E8336D, #ff6b98); } .c3 .ix-front { background: linear-gradient(140deg, #6B3FC2, #9a6ef0); }
.c4 .ix-front { background: linear-gradient(140deg, #5c9e22, #7CC233); } .c5 .ix-front { background: linear-gradient(140deg, #d9a600, #FFD23F); color: #1E1748; }

/* 3. the idea machine */
.ix-machine { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; border-radius: 18px; background: linear-gradient(160deg, #2a1f6b, #1E1748); box-shadow: inset 0 1px 0 #ffffff22, 0 18px 40px -22px #1E1748; }
.ix-reels { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.ix-reel { background: #fff; border-radius: 10px; padding: .7rem .8rem 1rem; min-height: 98px; display: grid; align-content: start; gap: .3rem; box-shadow: inset 0 -12px 18px -12px #1E174855, inset 0 12px 18px -12px #1E174855; }
.ix-reel small { color: var(--soft, #4F4A78); font-weight: 700; font-size: .78rem; }
.ix-reel b { font: 800 1.2rem/1.15 var(--display, system-ui); }
.ix-reel.blur b { filter: blur(1.2px); color: #6B3FC2; }
.ix-lever { position: relative; width: 46px; height: 120px; border: 0; background: none; cursor: pointer; flex: none; }
.ix-arm { position: absolute; left: 50%; bottom: 10px; width: 8px; height: 90px; margin-left: -4px; border-radius: 4px; background: linear-gradient(90deg, #bbb, #fff, #999); transform-origin: bottom center; }
.ix-knob { position: absolute; left: 50%; top: 2px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; z-index: 1; background: radial-gradient(circle at 35% 30%, #ff9bbb, #E8336D 55%, #a8164a); box-shadow: 0 6px 12px -4px #0008; }
.ix-lever.pulled .ix-arm, .ix-lever.pulled .ix-knob { animation: ix-pull .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes ix-pull { 40% { transform: translateY(48px) scaleY(.55); } }
.ix-lever.pulled .ix-arm { transform-origin: bottom; }
.ix-result { font-size: 1.2rem; margin: 1rem 0 0; min-height: 1.5em; }
.ix-result b { color: #E8336D; }

/* 4. designs on a belt */
.ix-belt { overflow: hidden; margin: 0 calc(-1 * clamp(18px, 3.5vw, 36px)) .8rem; padding: .3rem 0; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ix-track { display: flex; gap: .8rem; width: max-content; animation: ix-belt 60s linear infinite; }
.ix-belt.rev .ix-track { animation-direction: reverse; animation-duration: 70s; }
.ix-belt:hover .ix-track, .ix-belt:focus-within .ix-track { animation-play-state: paused; }
@keyframes ix-belt { to { transform: translateX(-50%); } }
.ix-shot { display: block; width: 210px; border-radius: 10px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; box-shadow: 0 10px 22px -14px #1E1748aa; transition: transform .2s; flex: none; }
.ix-shot:hover, .ix-shot:focus-visible { transform: translateY(-4px) rotate(-1deg); }
.ix-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: #dfe4f7; }
.ix-shot span { display: block; padding: .4rem .6rem; font-weight: 700; font-size: .9rem; }

/* 5. extras */
.ix-extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.ix-x { background: #fff; border-radius: 14px; padding: .9rem; display: grid; gap: .3rem; align-content: start; box-shadow: 0 10px 22px -16px #1E1748aa; }
.ix-x > small { color: var(--soft, #4F4A78); font-size: .88rem; line-height: 1.35; min-height: 2.6em; }
.ix-x > button, .ix-x > div:first-child { justify-self: start; margin-bottom: .4rem; }
.ix-env { position: relative; width: 120px; height: 78px; border: 0; padding: 0; cursor: pointer; border-radius: 6px; background: linear-gradient(#f6ecd6, #ead9b5); box-shadow: 0 8px 14px -8px #0006; overflow: visible; }
.ix-flap { position: absolute; left: 0; right: 0; top: 0; height: 44px; background: #e2cda0; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: top; transform: rotateX(180deg); transition: transform .45s cubic-bezier(.3, 1.3, .5, 1); }
.ix-env.sealed .ix-flap { transform: none; }
.ix-wax { position: absolute; left: 50%; top: 30px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; display: grid; place-items: center; font: 700 .62rem/1 var(--body); color: #ffd7d7;
  background: radial-gradient(circle at 35% 30%, #e04a4a, #a31414); transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.8, .5, 1) .25s; }
.ix-env.sealed .ix-wax { transform: scale(1); }
.ix-tape { position: relative; width: 130px; height: 80px; border: 0; cursor: pointer; border-radius: 9px; background: #262629; padding: 8px 8px 0; box-shadow: 0 8px 14px -8px #0008; }
.ix-label { display: block; height: 30px; border-radius: 3px; background: #f4f1e8 linear-gradient(transparent 70%, #E8336D 70% 80%, #FF7A1A 80% 90%, transparent 90%); color: #1b1b8f; font: 400 .9rem/30px "Permanent Marker", cursive; text-align: center; }
.ix-tape i { position: absolute; top: 46px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #ddd; background: radial-gradient(circle, #ddd 0 25%, #111 26%); }
.ix-tape i:first-of-type { left: 26px; } .ix-tape i:last-of-type { right: 26px; }
.ix-tape.playing i { animation: ix-spin 1.6s linear infinite; }
@keyframes ix-spin { to { transform: rotate(360deg); } }
.ix-count { position: relative; width: 170px; border: 0; cursor: pointer; text-align: left; padding: .6rem .7rem 1rem; border-radius: 10px; background: #1E1748; color: #fff; font: inherit; overflow: hidden; }
.ix-count b { font: 400 2rem/1 var(--pixel, monospace); color: #FFD23F; margin-right: .3rem; }
.ix-count span { font-size: .85rem; }
.ix-count i { position: absolute; left: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, #7CC233, #FFD23F); transition: width .4s cubic-bezier(.3, 1.4, .5, 1); }
.ix-count.bump b { animation: ix-bump .3s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes ix-bump { 50% { transform: scale(1.25); } }
.ix-ba { position: relative; width: 200px; height: 90px; border-radius: 10px; overflow: hidden; }
.ix-old, .ix-new { position: absolute; inset: 0; }
.ix-old { background: linear-gradient(180deg, #b9a38a 0 55%, #6b5a48 55%), #8a6a4a; filter: saturate(.5); }
.ix-old::after { content: ""; position: absolute; left: 30px; bottom: 18px; width: 120px; height: 34px; border-radius: 16px 30px 6px 6px; background: #7a3e1d; box-shadow: inset 0 -6px 0 #5a2a10; }
.ix-new { background: linear-gradient(180deg, #8ec5ff 0 55%, #9a9a9a 55%); clip-path: inset(0 0 0 var(--cut)); }
.ix-new::after { content: ""; position: absolute; left: 30px; bottom: 18px; width: 120px; height: 34px; border-radius: 16px 30px 6px 6px; background: #d62828; box-shadow: inset 0 6px 0 #ff6b6b, inset 0 -6px 0 #8f1010; }
.ix-ba::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--cut); width: 3px; margin-left: -1px; background: #fff; z-index: 1; box-shadow: 0 0 6px #0008; }
.ix-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 2; }
.ix-jar { position: relative; width: 70px; height: 86px; border: 0; cursor: pointer; padding: 0; border-radius: 12px 12px 18px 18px; background: linear-gradient(90deg, #cfe9f5aa, #ffffffcc 40%, #cfe9f5aa); box-shadow: inset 0 0 0 2px #9cc8dd, 0 8px 14px -8px #0006; }
.ix-lid { position: absolute; left: -4px; right: -4px; top: -8px; height: 14px; border-radius: 6px; background: linear-gradient(#ffb066, #FF7A1A); }
.ix-paper { position: absolute; left: 14px; bottom: 10px; width: 40px; height: 40px; background: repeating-linear-gradient(20deg, #FFD23F 0 8px, #fff 8px 12px, #7CC233 12px 18px, #fff 18px 22px, #E8336D 22px 28px); border-radius: 6px; opacity: .9; }
.ix-jar.shake { animation: ix-shake .45s; }
@keyframes ix-shake { 20% { transform: rotate(-8deg); } 40% { transform: rotate(7deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
.ix-seasons { position: relative; display: flex; gap: .3rem; flex-wrap: wrap; width: 210px; padding-bottom: 50px; }
.ix-seasons button { border: 0; border-radius: 999px; padding: .3rem .7rem; font-weight: 700; font-size: .85rem; cursor: pointer; background: #1E174812; }
.ix-seasons button[aria-pressed="true"] { background: #6B3FC2; color: #fff; }
.ix-sky { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; border-radius: 8px; background: #1E1748; overflow: hidden; }
.ix-sky i { position: absolute; left: var(--x); }
.ix-sky.s-halloween { background: linear-gradient(#2a1036, #4a1f1f); }
.ix-sky.s-halloween i { top: 8px; width: 16px; height: 7px; background: #0d0710; clip-path: polygon(0 30%, 20% 0, 35% 45%, 50% 25%, 65% 45%, 80% 0, 100% 30%, 70% 80%, 50% 100%, 30% 80%); animation: ix-bat 3s ease-in-out infinite; animation-delay: calc(var(--i) * -.3s); }
.ix-sky.s-holiday i { top: 4px; width: 7px; height: 10px; border-radius: 50%; background: hsl(calc(var(--i) * 60), 90%, 62%); box-shadow: 0 0 8px hsl(calc(var(--i) * 60), 90%, 62%); animation: ix-twinkle 1.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.2s); }
.ix-sky.s-camp { background: linear-gradient(#0f2a1c, #1d3b26); }
.ix-sky.s-camp i { width: 4px; height: 4px; border-radius: 50%; background: #fff7a1; box-shadow: 0 0 8px 2px #fff36a; top: calc(10px + (var(--i) * 7px) % 26px); animation: ix-fly 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.4s); }
@keyframes ix-bat { 50% { transform: translate(8px, 12px) scaleY(.6); } }
@keyframes ix-twinkle { 50% { opacity: .3; } }
@keyframes ix-fly { 0%, 100% { opacity: 0; } 50% { opacity: 1; transform: translate(6px, -6px); } }
.ix-more { margin-top: 1rem; }

/* 6. neighborhoods and the webring */
.ix-town { background: #fff; border-radius: 16px; padding: 1rem; box-shadow: 0 10px 22px -16px #1E1748aa; }
.ix-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.ix-chip { border: 0; border-radius: 999px; padding: .35rem .8rem; font-weight: 700; font-size: .9rem; cursor: pointer; background: hsl(var(--h), 70%, 93%); color: hsl(var(--h), 60%, 28%); transition: transform .15s; }
.ix-chip:hover { transform: translateY(-2px); }
.ix-chip[aria-pressed="true"] { background: hsl(var(--h), 65%, 45%); color: #fff; }
.ix-chip small { opacity: .7; font-weight: 700; }
.ix-map { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px 6px; margin: 1rem 0 .4rem; padding: 14px 10px 18px; border-radius: 12px;
  background: linear-gradient(transparent 46%, #d9dbe8 46% 54%, transparent 54%), linear-gradient(#e9f6df, #dff0d2); }
.ix-house { position: relative; height: 30px; animation: ix-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; animation-delay: calc(var(--i) * 30ms); }
.ix-house::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 12px; background: #9b8bbf; clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: background .3s; }
.ix-house i { position: absolute; left: 18%; right: 18%; top: 12px; bottom: 0; background: #fff; border-radius: 2px; box-shadow: 0 2px 4px -2px #0004; transition: background .3s, box-shadow .3s; }
.ix-house.lit::before { background: #E8336D; }
.ix-house.lit i { background: #FFD23F; box-shadow: 0 0 14px 2px #FFD23Faa; }
.ix-hood-msg { margin: .3rem 0 0; font-size: .95rem; }
.ix-ring { display: flex; gap: 1.2rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.ix-ring > div { flex: 1 1 220px; min-width: 0; }
.ix-loop { position: relative; width: 120px; height: 120px; flex: none; }
.ix-loop span { position: absolute; left: 50%; top: 50%; width: 22px; height: 16px; margin: -8px -11px; border-radius: 4px; background: #6B3FC2;
  transform: rotate(calc(var(--i) * 45deg)) translateY(-48px) rotate(calc(var(--i) * -45deg)); }
.ix-loop span:nth-child(odd) { background: #0089A8; }
.ix-loop b { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #E8336D; box-shadow: 0 0 10px #E8336D;
  transform: rotate(calc(var(--k, 0) * 45deg)) translateY(-48px); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); }

/* 7. the prompt */
.ix-prompt { max-width: 34rem; padding: 1rem 1.2rem; border-radius: 6px; background: #FFF07A; box-shadow: 0 14px 26px -16px #1E1748aa; transform: rotate(-1deg); }
.ix-prompt small { font-weight: 700; color: #6B3FC2; } .ix-prompt p { font: 800 1.4rem/1.2 var(--display, system-ui); margin: .3rem 0 0; }
.ix-streak { display: flex; align-items: center; gap: .7rem; margin-top: 1.3rem; flex-wrap: wrap; }
.ix-streak > b { font: 400 2.4rem/1 var(--pixel, monospace); color: #FF7A1A; }
.ix-flame { position: relative; width: 56px; height: 66px; border: 0; background: none; cursor: pointer; padding: 0; }
.ix-flame span { position: absolute; inset: 6px; border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 80%, #fff6b0, #FFD23F 35%, #FF7A1A 65%, #E8336D 90%);
  transform: scale(var(--s, 1)); transform-origin: bottom; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); animation: ix-flick 1.2s ease-in-out infinite alternate; }
.ix-flame.lit span { filter: drop-shadow(0 0 10px #FF7A1A); }
@keyframes ix-flick { to { border-radius: 45% 55% 40% 40% / 65% 55% 40% 40%; } }

/* 8. the short version */
.ix-lives { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; }
.ix-lives li { background: #fff; border-radius: 12px; padding: .8rem; box-shadow: 0 10px 22px -16px #1E1748aa; animation: ix-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.ix-lives li:nth-child(2) { animation-delay: .1s; } .ix-lives li:nth-child(3) { animation-delay: .2s; } .ix-lives li:nth-child(4) { animation-delay: .3s; }
.ix-lives b { display: block; color: #E8336D; }
.ix-rules { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.ix-final { margin-top: 1.3rem; }

/* confetti */
.ix-confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 2; }
.ix-confetti i { position: absolute; top: -20px; left: var(--x); width: var(--s); height: calc(var(--s) * 1.6); border-radius: 2px; animation: ix-fall var(--t) cubic-bezier(.3, .2, .6, 1) var(--d) forwards; }
@keyframes ix-fall { to { transform: translate(40px, 105vh) rotate(var(--r)); } }

/* "Get ideas" links on the pages */
.ideas-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; cursor: pointer; }
.ideas-link::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8, transparent 40%), conic-gradient(#E8336D, #FF7A1A, #FFD23F, #7CC233, #0089A8, #6B3FC2, #E8336D); }

@media (max-width: 640px) {
  .ix { padding: 0; }
  .ix-win { height: 100dvh; border-radius: 0; }
  .ix-reels { grid-template-columns: 1fr; }
  .ix-machine { align-items: stretch; }
  .ix-lever { height: auto; min-height: 120px; }
  .ix-foot { gap: .4rem; } .ix-steps button { width: 16px; } .ix-steps button.on { width: 26px; }
  .ix-map { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .ix-sound { padding: .3rem .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ix-slide, .ix-pop, .ix-wob, .ix-track, .ix-tape i, .ix-sky i, .ix-flame span, .ix-house, .ix-lives li, .ix-jar, .ix-count b, .ix-lever .ix-arm, .ix-lever .ix-knob { animation: none !important; }
  .ix-win, .ix-shade, .ix-card > span { transition: none; }
  .ix-belt { overflow-x: auto; }
}
