/* ---------------- Starry Lab v2 · each card wears its own world ---------------- */
#out { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@media (min-width: 900px) { #out { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; } }
.proj { position: relative; margin: 0; padding: 14px 14px 18px; transform: rotate(var(--r, 0deg)); transition: transform .35s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; }
.proj:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 16px 30px -18px rgba(143,88,100,.4); }
.proj h3 { margin-top: 14px; }
.proj .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.proj .row .btn { margin-top: 0; }
.flipbtn { font-family: var(--hand); font-size: 19px; color: var(--mauve-d); background: none; border: 0; cursor: pointer; padding: 4px 2px; }
.flipbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* stickers */
.sticker { position: absolute; z-index: 6; top: -10px; left: 18px; font-family: var(--hand); font-size: 18px; line-height: 1; padding: 6px 12px 7px; border-radius: 6px; transform: rotate(-5deg);
  background: #FCEBB6; color: #7a5a1c; box-shadow: 0 3px 8px -4px rgba(0,0,0,.25); }
.sticker.pink { background: var(--mauve-l); color: var(--mauve-d); }
.sticker.green { background: var(--matcha-l); color: #55703F; }
.sticker.ink { background: var(--ink); color: #F6E9E9; }

/* the world panel + its back side */
.world { position: relative; aspect-ratio: 1200 / 680; perspective: 1200px; }
.face { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s cubic-bezier(.4,1.3,.5,1); }
.face.back { transform: rotateY(180deg); background: #FFFDF7; border: 1px solid #eadfd8;
  background-image: repeating-linear-gradient(transparent 0 31px, #EAD9DC 31px 32px); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.proj.flipped .face.front { transform: rotateY(-180deg); }
.proj.flipped .face.back { transform: rotateY(0); }
.face.back .why { font-family: var(--hand); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; color: var(--ink); }
.face.back .sig { font-family: var(--hand); font-size: 19px; color: var(--mauve); margin-top: 10px; align-self: flex-end; }
.face.back .lbl { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; }

/* the character that lives on the card */
.peek { position: absolute; z-index: 5; pointer-events: none; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.proj:hover .peek { transform: translateY(-6px); }
.peek svg { width: 100%; height: 100%; display: block; overflow: visible; }
.blink { transform-box: fill-box; transform-origin: center; animation: lab-blink 4.6s infinite; }
@keyframes lab-blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* ---- worlds ---- */
.toy { position: absolute; inset: 0; display: flex; flex-direction: column; }
.toy button { font: inherit; cursor: pointer; }

/* terminal · Merry Christmas.txt */
.w-term { background: #0d0f14; color: #e8e2d0; font-family: "Courier Prime", ui-monospace, Menlo, monospace; }
.w-term .bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #1b1e26; font-size: 11px; color: #9aa0ad; }
.w-term .bar i { width: 9px; height: 9px; border-radius: 50%; background: #e0605a; } .w-term .bar i:nth-child(2) { background: #e6b54c; } .w-term .bar i:nth-child(3) { background: #66b35d; }
.w-term .bar span { margin-left: 8px; }
.w-term pre { flex: 1; margin: 0; padding: 10px 16px; font-size: clamp(9px, 1.25vw, 13px); line-height: 1.15; white-space: pre; overflow: hidden; display: flex; gap: 22px; align-items: center; justify-content: center; }
.w-term .tree { color: #6fbf73; } .w-term .tree b { color: #f2c94c; font-weight: normal; } .w-term .tree em { color: #e0605a; font-style: normal; } .w-term .tree u { color: #8fb3ff; text-decoration: none; }
.w-term .msg { color: #e0605a; font-size: clamp(11px, 1.5vw, 15px); } .w-term .msg span { color: #6fbf73; }
.w-term .cur { display: inline-block; width: .6em; background: #e8e2d0; animation: cur 1s steps(1) infinite; }
@keyframes cur { 50% { opacity: 0; } }
.w-term .run { position: absolute; right: 12px; bottom: 10px; background: none; border: 1px solid #3a3f4c; color: #9aa0ad; border-radius: 6px; padding: 3px 9px; font-size: 11px; }

/* case file · Logical Fallacies */
.w-case { background: #FBF6F2; background-image: linear-gradient(#EAD9D9 1px, transparent 1px), linear-gradient(90deg, #EAD9D9 1px, transparent 1px); background-size: 18px 18px;
  font-family: "Courier Prime", ui-monospace, monospace; color: #3A2A2E; padding: 16px 18px; }
.w-case .tab { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #E9C9CF; color: #8F5864; font-size: 10px; letter-spacing: .14em; padding: 4px 10px; border-radius: 0 0 6px 6px; }
.w-case .stamp { position: absolute; right: 14px; top: 10px; font-family: var(--hand); font-size: 15px; line-height: 1; color: #B07A86; border: 1.5px solid #B07A86; border-radius: 50%; padding: 8px 10px; transform: rotate(-10deg); text-align: center; }
.w-case .arg { margin-top: 26px; font-size: clamp(13px, 1.6vw, 16px); line-height: 1.4; padding-right: 64px; min-height: 3.6em; }
.w-case .ask { font-family: var(--hand); font-size: 19px; color: #8F5864; margin: 8px 0 8px; }
.w-case .opts { display: flex; gap: 8px; flex-wrap: wrap; }
.w-case .opts button { background: #fff; border: 1.5px solid #3A2A2E; border-radius: 999px; padding: 6px 12px; font-size: 12px; font-family: inherit; color: #3A2A2E; }
.w-case .opts button.ok { background: #6F8A57; border-color: #6F8A57; color: #fff; }
.w-case .opts button.no { background: #E9C9CF; border-color: #E9C9CF; text-decoration: line-through; }
@media (max-width: 560px) { .w-case .stamp { display: none; } .w-case .arg { padding-right: 0; } }
.w-case .res { font-family: var(--hand); font-size: 18px; color: #55703F; margin-top: 6px; min-height: 1.2em; }

/* cartridge · GRIND.EXE */
.w-pix { background: repeating-linear-gradient(90deg, #9fc9c0 0 34px, #c9877a 34px 68px); font-family: "Press Start 2P", ui-monospace, monospace; color: #2c3a37; align-items: center; justify-content: center; gap: 12px; }
.w-pix .screen { background: #FFF6E5; border: 4px solid #2c3a37; box-shadow: 6px 6px 0 #2c3a37; padding: 14px 16px; width: min(82%, 380px); }
.w-pix .t { font-size: clamp(11px, 1.6vw, 15px); color: #d9893b; text-shadow: 2px 2px 0 #2c3a37; }
.w-pix .lv { font-size: 9px; margin: 10px 0 6px; display: flex; justify-content: space-between; }
.w-pix .bar { height: 14px; border: 3px solid #2c3a37; background: #fff; }
.w-pix .bar i { display: block; height: 100%; width: 0; background: #7fb069; transition: width .3s steps(6); }
.w-pix .quest { margin-top: 12px; display: flex; gap: 8px; }
.w-pix .quest button { flex: 1; font-family: inherit; font-size: 9px; padding: 8px 6px; background: #fff; border: 3px solid #2c3a37; box-shadow: 3px 3px 0 #2c3a37; color: #2c3a37; }
.w-pix .quest button:active { transform: translate(3px, 3px); box-shadow: none; }
.w-pix .pop { font-size: 9px; color: #c0563b; min-height: 1em; margin-top: 8px; text-align: center; }

/* night sky · Novem */
.w-novem { background: radial-gradient(ellipse at 50% 0%, #2c3354, #161a2e 60%, #0e1120); color: #F5E3E2; align-items: center; justify-content: center; }
.w-novem .ttl { font-family: var(--serif-display); font-weight: 900; font-size: clamp(26px, 4vw, 38px); line-height: 1; } .w-novem .ttl i { font-weight: 400; color: #E6B8C2; }
.w-novem .sub { font-family: var(--serif-display); font-style: italic; font-size: 13px; color: #c9c3dc; margin: 4px 0 10px; }
.w-novem .grid { display: grid; grid-template-columns: repeat(3, clamp(34px, 5vw, 46px)); gap: 4px; }
.w-novem .grid button { aspect-ratio: 1; border-radius: 8px; border: 1px solid rgba(245,227,226,.25); background: rgba(255,255,255,.04); color: #F5E3E2; font-family: var(--serif-display); font-size: clamp(16px, 2.4vw, 21px); }
.w-novem .grid button.given { color: #E8C27A; cursor: default; }
.w-novem .grid button.dupe { border-color: #E6B8C2; background: rgba(230,184,194,.18); }
.w-novem .hint { font-family: var(--hand); font-size: 17px; color: #c9c3dc; margin-top: 8px; min-height: 1.1em; }
.w-novem .twk-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #F5E3E2; animation: twk 3s ease-in-out infinite; }
@keyframes twk { 50% { opacity: .2; } }

/* bubble letters · Quefory */
.w-que { background: #F7F3EA; align-items: center; justify-content: center; text-align: center; }
.w-que::before, .w-que::after { content: ""; position: absolute; border-radius: 50%; }
.w-que::before { width: 46%; aspect-ratio: 1; left: -12%; top: -20%; background: #F5E3E2; } .w-que::after { width: 36%; aspect-ratio: 1; right: -8%; bottom: -18%; background: #E3EBD6; }
.w-que > * { position: relative; z-index: 1; }
.w-que .logo { font-family: "Bagel Fat One", sans-serif; font-size: clamp(34px, 6vw, 56px); color: #F5E3E2; -webkit-text-stroke: 2px #55703F; paint-order: stroke fill; text-shadow: 0 4px 0 #55703F; line-height: 1; }
.w-que .q { font-family: var(--sans); font-size: clamp(13px, 1.7vw, 16px); color: #2E3A2A; background: #FFFDF8; border-radius: 16px; padding: 10px 14px; margin: 14px 18px 8px; min-height: 2.6em; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 0 rgba(46,58,42,.06); }
.w-que .acts { display: flex; gap: 8px; justify-content: center; }
.w-que .acts button, .w-que .acts a { font-family: var(--sans); font-size: 12px; border-radius: 999px; padding: 7px 12px; text-decoration: none; border: 0; }
.w-que .dice { background: #E3EBD6; color: #55703F; } .w-que .send { background: #55703F; color: #fff; }

/* sketchbook · (Ta)bula */
.w-tab { background: #FFFDF7; background-image: radial-gradient(#E6D7D2 1.2px, transparent 1.3px); background-size: 16px 16px; align-items: center; justify-content: center; font-family: var(--hand); color: #3A2A2E; }
.w-tab .ttl { font-size: clamp(30px, 4.6vw, 42px); line-height: 1; } .w-tab .ttl span { color: #D99AAA; }
.w-tab .sub { font-size: 17px; color: #8F5864; }
.w-tab .clock { font-size: clamp(40px, 7vw, 66px); line-height: 1; margin: 6px 0 4px; letter-spacing: 1px; }
.w-tab .stem { width: 4px; height: 0; background: #6F8A57; margin: 0 auto; transition: height 1s linear; border-radius: 2px; }
.w-tab .go { font-family: var(--hand); font-size: 19px; background: #F5E3E2; border: 1.5px dashed #D99AAA; color: #8F5864; border-radius: 999px; padding: 3px 16px; }
.w-tab .bloom { font-size: 28px; height: 30px; transition: transform .5s cubic-bezier(.3,1.8,.5,1); transform: scale(0); }
.w-tab .bloom.on { transform: scale(1); }

/* sticky notes · StarPal */
.w-pal { background: #EEE9F4; background-image: radial-gradient(#d9d2e6 1px, transparent 1.2px); background-size: 14px 14px; padding: 16px; }
.w-pal .notes { position: absolute; inset: 14px; }
.w-pal .note { position: absolute; width: 34%; min-height: 32%; padding: 10px 12px; font-family: "Courier Prime", monospace; font-size: clamp(10px, 1.3vw, 12.5px); line-height: 1.25; color: #3A2A2E; box-shadow: 0 6px 12px -8px rgba(0,0,0,.35); transform: rotate(var(--nr)); }
.w-pal .note::before { content: ""; position: absolute; top: -7px; left: 50%; width: 42px; height: 13px; margin-left: -21px; background: rgba(255,255,255,.55); }
.w-pal .add { position: absolute; right: 12px; bottom: 10px; z-index: 3; font-family: var(--hand); font-size: 18px; background: #fff; color: #8F5864; border: 0; border-radius: 999px; padding: 3px 14px; box-shadow: 0 3px 8px -4px rgba(0,0,0,.3); }
.w-pal .note.pop { animation: notepop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes notepop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }

/* night oracle · Starry Song of the Day */
.w-sotd { background: radial-gradient(ellipse at 70% 0%, #3b2a6e, #14102f 55%, #060518); color: #efe9ff; align-items: center; justify-content: center; text-align: center; font-family: "Fredoka", var(--sans); padding: 14px; }
.w-sotd .twk-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: twk 3s ease-in-out infinite; }
.w-sotd > * { position: relative; }
.w-sotd .k { font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .3em; color: #b9a8e8; }
.w-sotd .q { font-size: clamp(19px, 2.6vw, 25px); font-weight: 600; margin: 4px 0 10px; background: linear-gradient(90deg, #fff, #c9b8ff 40%, #ffb8e2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-sotd .opts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.w-sotd .opts button { font-family: inherit; font-size: 13px; color: #efe9ff; background: rgba(255,255,255,.08); border: 1px solid rgba(201,184,255,.35); border-radius: 999px; padding: 6px 12px; }
.w-sotd .opts button.on { background: linear-gradient(135deg, #a9b8ff, #f0b4dc); color: #1d1440; border-color: transparent; }
.w-sotd .res { min-height: 3.4em; margin-top: 10px; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.w-sotd .res.show { opacity: 1; transform: none; }
.w-sotd .res span { font-family: var(--hand); font-size: 17px; color: #c9b8ff; }
.w-sotd .res b { font-size: clamp(16px, 2.2vw, 20px); font-weight: 600; line-height: 1.1; }
.w-sotd .res em { font-style: normal; font-size: 12.5px; color: #b9a8e8; }
.w-sotd .ask { position: absolute; bottom: 10px; left: 0; right: 0; font-family: var(--sans); font-size: 11.5px; color: #c9b8ff; text-decoration: none; }
.w-sotd .ask:hover { text-decoration: underline; }

/* neon portal · Your Twin in a Parallel World */
.w-twin { background: radial-gradient(70% 90% at 85% 10%, rgba(139,107,255,.35), transparent 70%), radial-gradient(60% 80% at 0% 100%, rgba(71,224,255,.18), transparent 70%), #080b1a;
  color: #eef0ff; font-family: "Space Grotesk", var(--sans); flex-direction: row; align-items: center; gap: 4%; padding: 14px 6%; overflow: hidden; }
.w-twin .grid { position: absolute; left: -50%; right: -50%; bottom: -20%; height: 55%; opacity: .25; pointer-events: none;
  background-image: linear-gradient(rgba(71,224,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(71,224,255,.6) 1px, transparent 1px); background-size: 34px 34px;
  transform: perspective(300px) rotateX(70deg); -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%); }
.w-twin > * { position: relative; }
.w-twin .stage { flex: none; width: 38%; aspect-ratio: 1; display: grid; place-items: center; }
.w-twin .portal { position: absolute; inset: 0; }
.w-twin .portal span { position: absolute; border-radius: 50%; }
.w-twin .r1 { inset: 0; border: 1.5px dashed rgba(71,224,255,.55); animation: tw-rot 18s linear infinite; }
.w-twin .r2 { inset: 12%; border: 2px solid transparent; border-top-color: #ff4fd8; border-bottom-color: #47e0ff; animation: tw-rot 6s linear infinite reverse; filter: drop-shadow(0 0 6px rgba(255,79,216,.6)); }
.w-twin .r3 { inset: 26%; border: 1px solid rgba(255,228,92,.6); animation: tw-rot 10s linear infinite; }
.w-twin .orb { inset: 36%; background: radial-gradient(circle at 35% 30%, #fff, #8ff7ff 25%, #5a3dd8 65%, #1a1446); box-shadow: 0 0 30px rgba(71,224,255,.7), 0 0 60px rgba(139,107,255,.5); animation: tw-breathe 3s ease-in-out infinite; }
.w-twin .portal.busy .orb { animation-duration: .5s; } .w-twin .portal.busy .r2 { animation-duration: 1.2s; }
@keyframes tw-rot { to { transform: rotate(360deg); } }
@keyframes tw-breathe { 50% { transform: scale(.88); filter: brightness(1.3); } }
.w-twin .holo { position: relative; z-index: 2; width: 64%; aspect-ratio: 3 / 4.3; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(160deg, #1e2050, #10122c 55%, #26124c); box-shadow: 0 10px 30px rgba(80,40,200,.6), 0 0 0 1.5px var(--c1, #47e0ff); overflow: hidden; }
.w-twin .holo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,60,200,.4) 35%, rgba(60,220,255,.4) 50%, rgba(255,235,90,.3) 62%, transparent 78%); background-size: 250% 250%; mix-blend-mode: color-dodge; animation: tw-sheen 3s ease-in-out infinite alternate; }
@keyframes tw-sheen { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.w-twin .holo.pop { animation: tw-pop .8s cubic-bezier(.2,.8,.2,1); }
@keyframes tw-pop { 0% { transform: rotateY(180deg) scale(.5); opacity: 0; filter: brightness(3); } 100% { transform: none; opacity: 1; filter: none; } }
.w-twin .ht { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 8px; color: #b4b8e6; }
.w-twin .ht b { font-family: "Unbounded", sans-serif; font-size: 7px; letter-spacing: 1px; padding: 2px 6px; border-radius: 99px; color: #2a1300; background: linear-gradient(90deg, #ffe45c, #ff9d4f); }
.w-twin .hn { position: relative; font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(10px, 1.35vw, 13px); line-height: 1.15; }
.w-twin .hk { position: relative; font-family: ui-monospace, Menlo, monospace; font-size: 7.5px; letter-spacing: 1px; color: #b4b8e6; }
.w-twin .hk i { font-style: normal; color: #eef0ff; }
.w-twin .side { flex: 1; min-width: 0; }
.w-twin .k { font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .28em; color: #47e0ff; }
.w-twin .q { font-family: "Unbounded", sans-serif; font-weight: 700; font-size: clamp(15px, 2.1vw, 20px); line-height: 1.2; margin: 6px 0 12px;
  background: linear-gradient(100deg, #fff 10%, #47e0ff 50%, #ff4fd8 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-twin .go { font-family: inherit; font-weight: 700; font-size: 13px; color: #0a0d1f; border: 0; border-radius: 12px; padding: 9px 14px; background: linear-gradient(90deg, #47e0ff, #ff4fd8); box-shadow: 0 6px 18px rgba(255,79,216,.3); }
.w-twin .go:disabled { opacity: .7; }
.w-twin .ask { display: block; margin-top: 10px; font-size: 11.5px; color: #b4b8e6; text-decoration: none; }
.w-twin .ask:hover { color: #47e0ff; text-decoration: underline; }
@media (max-width: 520px) { .w-twin { padding: 12px 5%; } .w-twin .q { font-size: 14px; } .w-twin .stage { width: 40%; } }

/* brass cosmic clock · Purrfect Tense · Jam Kosmik */
.w-kos { background: radial-gradient(45% 70% at 50% 50%, rgba(201,164,92,.16), transparent 70%), radial-gradient(60% 80% at 85% 0%, rgba(90,110,220,.18), transparent 70%), radial-gradient(ellipse at 50% 120%, #1a1438, #070A1E 65%);
  color: #F3E7C9; overflow: hidden; cursor: pointer; }
.w-kos .twk-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #F3E7C9; animation: twk 4s ease-in-out infinite; }
.w-kos > svg { position: absolute; inset: 4% 0; width: 100%; height: 92%; overflow: visible; }
.w-kos .gears { fill: none; stroke: rgba(201,164,92,.22); stroke-width: 1.2; }
.w-kos .gr { animation: kos-rot 60s linear infinite; } .w-kos .gr:nth-child(2) { animation-direction: reverse; animation-duration: 48s; } .w-kos .gr:nth-child(3) { animation-duration: 26s; }
.w-kos .rim { fill: rgba(11,16,41,.55); stroke: #C9A45C; stroke-width: 2.2; } .w-kos .rim2 { fill: none; stroke: rgba(201,164,92,.4); stroke-width: 1; }
.w-kos .tk { stroke: rgba(201,164,92,.45); stroke-width: 1; } .w-kos .tk.big { stroke: #C9A45C; stroke-width: 2; }
.w-kos .face text { font-family: "Cinzel", var(--serif-display), serif; font-weight: 700; font-size: 11px; fill: #CFB27A; text-anchor: middle; letter-spacing: .04em; }
.w-kos .orbits ellipse { fill: none; stroke: rgba(241,213,138,.28); stroke-width: .8; }
.w-kos .halo { animation: kos-breathe 4s ease-in-out infinite; transform-origin: 200px 114px; }
.w-kos .hand { stroke-linecap: round; } .w-kos .hand.h { stroke: #F1D58A; stroke-width: 3.4; } .w-kos .hand.m { stroke: #F1D58A; stroke-width: 2.2; } .w-kos .hand.s { stroke: #E2725B; stroke-width: 1; }
.w-kos .k { position: absolute; left: 16px; top: 13px; font-family: ui-monospace, Menlo, monospace; font-size: 10px; letter-spacing: .3em; color: #C9A45C; }
.w-kos .kos-line { position: absolute; left: 16px; bottom: 14px; max-width: 24%; font-family: "Cormorant Garamond", var(--serif-display), serif; font-style: italic; font-weight: 600; font-size: clamp(12px, 1.5vw, 15px); line-height: 1.25; color: #CFC4A8; opacity: .85; }
.w-kos .ask { position: absolute; right: 16px; bottom: 12px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 11px; letter-spacing: .04em; color: #A99E80; text-decoration: none; }
.w-kos .ask:hover { color: #F1D58A; text-decoration: underline; }
.w-kos .comet { position: absolute; top: 12%; left: -10%; width: 70px; height: 1.5px; background: linear-gradient(90deg, transparent, #F3E7C9); border-radius: 2px; opacity: 0; transform: rotate(14deg); animation: kos-comet 11s ease-in 3s infinite; }
.w-kos.stir .rim { animation: kos-glow 1.4s ease-out; }
@keyframes kos-rot { to { transform: rotate(360deg); } }
@keyframes kos-breathe { 50% { transform: scale(1.5); opacity: .05; } }
@keyframes kos-comet { 0% { left: -10%; opacity: 0; } 4% { opacity: .9; } 12% { left: 60%; opacity: 0; } 100% { left: 60%; opacity: 0; } }
@keyframes kos-glow { 0% { stroke: #FFF3C4; filter: drop-shadow(0 0 10px #F1D58A); } 100% { stroke: #C9A45C; filter: none; } }
@media (max-width: 520px) { .w-kos .kos-line { display: none; } .w-kos .k { font-size: 9px; } .w-kos .ask { font-size: 10px; right: 10px; bottom: 8px; } }
@media (prefers-reduced-motion: reduce) { .w-kos .twk-sky i, .w-kos .gr, .w-kos .halo, .w-kos .comet, .w-kos.stir .rim { animation: none; } .w-twin .portal span, .w-twin .holo::before, .w-twin .holo.pop { animation: none; } .w-sotd .twk-sky i, .w-sotd .res { animation: none; transition: none; } .proj, .face, .peek { transition: none; } .blink, .w-term .cur, .w-novem .twk-sky i { animation: none; } }
