/* v6 — playtest round 5 */
/* ✨ card level sparkle */
.unit.v6sp .bw, [id^="u-"].v6sp .bw { animation: v6spk 1.05s ease-out; }
[id^="u-"].v6sp5 .bw { animation: v6spk5 1.05s ease-out; }
@keyframes v6spk { 0% { filter: none } 25% { filter: drop-shadow(0 0 10px #ffe25a) brightness(1.35) } 100% { filter: none } }
@keyframes v6spk5 { 0% { filter: none } 20% { filter: drop-shadow(0 0 12px #ff7ad9) brightness(1.4) hue-rotate(40deg) } 50% { filter: drop-shadow(0 0 14px #7ad3ff) brightness(1.3) } 100% { filter: none } }
#hand .card.v6hot { box-shadow: 0 0 0 2px #ffe25a, 0 0 12px #ffd34a99; position: relative; overflow: hidden; }
#hand .card.v6hot::after { content: ''; position: absolute; inset: -40% auto -40% -60%; width: 40%; background: linear-gradient(100deg, transparent, #fff9 50%, transparent); transform: skewX(-20deg); animation: v6shine 2.2s infinite; pointer-events: none; }
#hand .card.v6hot5 { box-shadow: 0 0 0 2px #fff, 0 0 14px #ff7ad9, 0 0 22px #7ad3ff88; }
@keyframes v6shine { 0% { left: -60% } 55%, 100% { left: 130% } }
.ragebar.v6cut { outline: 1.5px dashed #ff7a4a; outline-offset: 1px; }
/* 👒 4 slots */
.v6slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 8px 0; }
.v6slot { background: var(--card, #fff); border: 2px dashed #d9cbb5; border-radius: 12px; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; }
.v6slot.on { border-style: solid; border-color: #7bd36b; background: #f1ffe9; }
.v6slot > span { font-size: 20px; }
.v6slot b { font-size: 11.5px; }
.v6slot small { font-size: 10.5px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.v6slot .sm { padding: 2px 8px; font-size: 11px; min-height: 0; }
.sk-float { animation: v6float 2.4s ease-in-out infinite; }
@keyframes v6float { 50% { transform: translateY(-3px) } }
/* 🎁 claim all */
.v6allbar { position: sticky; top: 56px; z-index: 5; display: flex; justify-content: center; margin: 4px 0 8px; }
.v6allbar .v6all { box-shadow: 0 4px 0 #3c8a2e, 0 6px 16px #0003; animation: v6pulse 1.6s infinite; }
@keyframes v6pulse { 50% { transform: scale(1.04) } }
/* 🌟 paradise frames */
.v6fr { --fh: 280; --fa: hsl(var(--fh) 95% 70%); --fb: hsl(calc(var(--fh) + 120) 90% 65%); position: relative; margin: 0 auto 6px; border-radius: 50%; padding: 7px;
  background: conic-gradient(from 0deg, var(--fa), #fff, var(--fb), #ffe25a, var(--fa)); animation: v6spin 6s linear infinite; box-shadow: 0 0 18px var(--fa); }
.v6fr.ev { padding: 8px; box-shadow: 0 0 20px var(--fa), 0 0 30px var(--fb); }
.v6fr-in { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #fffaf0; animation: v6spin 6s linear infinite reverse; display: flex; align-items: center; justify-content: center; }
.v6fr-in .av-big { margin: 0 !important; border: 0 !important; }
.v6fr-b { position: absolute; right: -10px; bottom: -6px; width: 46%; height: 46%; animation: v6spin 6s linear infinite reverse; font-style: normal; font-size: 26px; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 2px #0004); }
.v6fr-b svg { width: 100%; height: 100%; }
.v6fr-s { position: absolute; top: -4px; left: 10%; color: #fff; text-shadow: 0 0 6px var(--fa); font-size: 18px; animation: v6tw 1.4s infinite; }
.v6fr-s.s2 { top: auto; bottom: 8%; left: -6px; animation-delay: .7s; font-size: 14px; }
@keyframes v6spin { to { transform: rotate(360deg) } }
@keyframes v6tw { 50% { opacity: .2; transform: scale(.6) } }
.tb-acc .av.v6fr-mini { box-shadow: 0 0 0 2.5px hsl(var(--fh) 95% 68%), 0 0 0 4.5px #fff, 0 0 10px hsl(var(--fh) 95% 60%); border-radius: 50%; }
.v6frpick { margin: 6px 0; }
.v6frpick .chips { justify-content: center; flex-wrap: wrap; }
/* 💞 night curtain comic */
.v6night { position: fixed; inset: 0; z-index: 9000; background: #0a0f2ccc; display: flex; align-items: center; justify-content: center; padding: 16px; animation: v6in .3s ease-out; cursor: pointer; }
.v6night.out { opacity: 0; transition: opacity .3s; }
@keyframes v6in { from { opacity: 0 } }
.v6n-panel { position: relative; width: min(360px, 100%); aspect-ratio: 3 / 4; border: 4px solid #2a2140; border-radius: 16px; overflow: hidden; background: linear-gradient(#141a4a, #2c2466 60%, #3b2a5a); box-shadow: 0 10px 0 #0005; animation: v6pop .45s cubic-bezier(.3, 1.6, .6, 1); }
@keyframes v6pop { from { transform: scale(.6) rotate(-4deg) } }
.v6n-sky { position: absolute; inset: 0; }
.v6n-moon { position: absolute; right: 12%; top: 7%; width: 54px; height: 54px; border-radius: 50%; background: #fff6c8; box-shadow: 0 0 30px #fff3a0, inset -12px -6px 0 #f0e098; }
.v6n-star { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; animation: v6tw 1.6s infinite; }
.v6n-win { position: absolute; left: 10%; right: 10%; top: 26%; bottom: 16%; border: 6px solid #5a3a2a; border-radius: 10px 10px 4px 4px; background: radial-gradient(circle at 50% 60%, #ffcf7a, #e8904a 70%); overflow: hidden; }
.v6n-room { position: absolute; inset: 0; }
.v6n-sil { position: absolute; bottom: 4%; width: 52%; filter: brightness(0); opacity: .9; transition: transform 1.4s ease-in-out; }
.v6n-sil svg { width: 100%; height: auto; }
.v6n-sil.l { left: -2%; animation: v6hugL 2.6s ease-in-out forwards; }
.v6n-sil.r { right: -2%; transform: scaleX(-1); animation: v6hugR 2.6s ease-in-out forwards; }
@keyframes v6hugL { 0% { transform: translateX(-12%) } 55%, 100% { transform: translateX(16%) rotate(6deg) } }
@keyframes v6hugR { 0% { transform: scaleX(-1) translateX(-12%) } 55%, 100% { transform: scaleX(-1) translateX(16%) rotate(6deg) } }
.v6n-hearts { position: absolute; left: 0; right: 0; top: 30%; display: flex; justify-content: center; gap: 6px; }
.v6n-hearts b { opacity: 0; font-size: 20px; animation: v6heart 1.6s ease-out infinite; animation-delay: 1.2s; }
.v6n-hearts b:nth-child(2) { animation-delay: 1.5s } .v6n-hearts b:nth-child(3) { animation-delay: 1.8s } .v6n-hearts b:nth-child(4) { animation-delay: 1.35s } .v6n-hearts b:nth-child(5) { animation-delay: 1.65s }
@keyframes v6heart { 0% { opacity: 0; transform: translateY(20px) scale(.5) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(-40px) scale(1.2) } }
.v6n-cur { position: absolute; top: 0; bottom: 0; width: 56%; background: repeating-linear-gradient(90deg, #f6d6e88c 0 10px, #e8b0d08c 10px 20px); animation: v6cur 1s ease-in-out forwards; }
.v6n-cur.l { left: -56%; } .v6n-cur.r { right: -56%; }
@keyframes v6cur { to { transform: translateX(var(--d, 0)) } }
.v6n-cur.l { --d: 100%; } .v6n-cur.r { --d: -100%; }
.v6n-rod { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: #8a5a3a; }
.v6n-cap { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); background: #fff; color: #2a2140; font-weight: 800; padding: 6px 14px; border-radius: 14px; border: 3px solid #2a2140; white-space: nowrap; animation: v6cap 3s forwards; }
.v6n-cap.c2 { top: auto; bottom: 4%; animation-name: v6cap2; opacity: 0; }
@keyframes v6cap { 0%, 50% { opacity: 1 } 65%, 100% { opacity: 0 } }
@keyframes v6cap2 { 0%, 55% { opacity: 0 } 70%, 100% { opacity: 1 } }
.v6n-skip { position: absolute; right: 8px; bottom: 4px; color: #fff8; font-size: 10px; }
/* 🏝️ full room scenes */
.v4room.v6sc .wall { display: none; }
.v4room.v6sc .win { display: none; }
.v4room .v6scene { position: absolute; left: 0; right: 0; top: 0; height: 61%; width: 100%; display: block; pointer-events: none; }
.v4room.th-beach .floor { background: radial-gradient(#fff6 2px, transparent 3px) 0 0/22px 18px, radial-gradient(#e8c88a 2px, transparent 3px) 11px 9px/22px 18px, #f4dca2; }
.v4room.th-jungle .floor { background: radial-gradient(#6fbf4a 3px, transparent 4px) 0 0/26px 20px, linear-gradient(#5fb944, #4aa83f); }
.v4room.th-space .floor { background: repeating-linear-gradient(90deg, transparent 0 70px, #6f79b0 70px 73px), repeating-linear-gradient(0deg, transparent 0 34px, #6f79b0 34px 37px), #9aa4d8; }
.v4room.th-lava .floor { background: linear-gradient(115deg, transparent 46%, #ff8a2a99 47%, transparent 49%) 0 0/120px 60px, #5a3a32; }
.v4room.th-snow .floor { background: radial-gradient(#dbe9fb 4px, transparent 5px) 0 0/30px 24px, #fff; }
.v4room.th-beach .rug { border-radius: 8px; background: repeating-linear-gradient(90deg, #ff9fb0 0 16px, #fff 16px 32px); }
.v6wave { animation: v6wv 3s ease-in-out infinite; } @keyframes v6wv { 50% { transform: translateX(10px) } }
.v6boat { animation: v6bt 4s ease-in-out infinite; } @keyframes v6bt { 50% { transform: translate(-8px, 2px) rotate(-1deg) } }
.v6smoke circle { animation: v6sm 3.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; } @keyframes v6sm { 50% { transform: translateY(-6px) scale(1.15); opacity: .4 } }
.v6scene .v6tw { animation: v6tw 1.8s infinite; }
.v6shoot { animation: v6sh 4s linear infinite; } @keyframes v6sh { 0%, 70% { opacity: 0; transform: translate(0, 0) } 75% { opacity: 1 } 90%, 100% { opacity: 0; transform: translate(-120px, 48px) } }
.v6lava { animation: v6lv 1.6s ease-in-out infinite; } @keyframes v6lv { 50% { filter: brightness(1.25) } }
.v6flake { animation: v6fl 6s linear infinite; } @keyframes v6fl { from { transform: translateY(-20px) } to { transform: translateY(40px) } }
@media (prefers-reduced-motion: reduce) { .v6scene * { animation: none !important; } }
/* ⚙️ settings */
.v6seg { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.v6seg button { padding: 4px 10px; font-size: 12px; min-height: 0; border-radius: 10px; background: #fff; }
.v6seg button.on { background: #ffd34a; }
.v6rng { width: 110px; accent-color: #ff9a3a; }
.v6rv { width: 42px; text-align: right; font-size: 12px; }
.v6code { display: flex; gap: 6px; }
.v6code input { flex: 1; min-width: 0; padding: 8px 10px; border: 3px solid var(--ink, #2a2140); border-radius: 12px; font: inherit; text-transform: uppercase; }
.v6feedn { justify-content: center; }
/* ⭐ star scenes v2 */
.v5scene .v6star { position: absolute; left: 0; right: 0; top: 0; height: 78%; width: 100%; }
.v6star .v6sw, .v6star .v6sway, .v6star .v6bob { transform-box: fill-box; transform-origin: 50% 100%; }
.v6star .v6sw { animation: v6sw 2.6s ease-in-out infinite alternate; }
.v6star .v6sway { animation: v6sway 3.4s ease-in-out infinite alternate; }
.v6star .v6bob { animation: v6sw 2.2s ease-in-out infinite alternate; }
@keyframes v6sw { from { transform: rotate(-5deg) } to { transform: rotate(5deg) } }
@keyframes v6sway { from { transform: rotate(-1.6deg) } to { transform: rotate(1.6deg) } }
.v6star .v6flap, .v6star .v6flap2 { transform-box: fill-box; transform-origin: 50% 50%; }
.v6star .v6flap { animation: v6flap .32s ease-in-out infinite alternate; }
.v6star .v6flap2 { animation: v6flap2 .26s ease-in-out infinite alternate; transform-origin: 50% 80%; }
@keyframes v6flap { from { transform: scaleX(1) } to { transform: scaleX(.25) } }
@keyframes v6flap2 { from { transform: scaleY(1) } to { transform: scaleY(-.5) } }
.v6star .v6path { animation: v6p0 11s linear infinite; }
.v6star .p0 { animation-name: v6p0; } .v6star .p1 { animation-name: v6p1; animation-duration: 13s; animation-delay: -5s; } .v6star .p2 { animation-name: v6p2; animation-duration: 9s; animation-delay: -2s; }
.v6star .b0 { animation-name: v6b0; animation-duration: 8s; } .v6star .b1 { animation-name: v6b1; animation-duration: 10s; animation-delay: -4s; } .v6star .b2 { animation-name: v6b0; animation-duration: 12s; animation-delay: -7s; }
.v6star .g0 { animation-name: v6g0; animation-duration: 12s; } .v6star .g1 { animation-name: v6g0; animation-duration: 15s; animation-delay: -6s; } .v6star .g2 { animation-name: v6g1; animation-duration: 10s; animation-delay: -3s; }
.v6star .u0 { animation-name: v6u0; animation-duration: 14s; }
@keyframes v6p0 { 0% { transform: translate(40px, 150px) } 25% { transform: translate(110px, 110px) } 50% { transform: translate(90px, 70px) } 75% { transform: translate(40px, 100px) } 100% { transform: translate(40px, 150px) } }
@keyframes v6p1 { 0% { transform: translate(340px, 140px) } 30% { transform: translate(290px, 90px) } 60% { transform: translate(350px, 60px) } 100% { transform: translate(340px, 140px) } }
@keyframes v6p2 { 0% { transform: translate(-20px, 60px) } 100% { transform: translate(430px, 40px) } }
@keyframes v6b0 { 0% { transform: translate(-30px, 70px) } 50% { transform: translate(200px, 30px) } 100% { transform: translate(430px, 80px) } }
@keyframes v6b1 { 0% { transform: translate(430px, 40px) } 50% { transform: translate(220px, 70px) } 100% { transform: translate(-30px, 30px) } }
@keyframes v6g0 { 0% { transform: translate(-30px, 50px) } 100% { transform: translate(430px, 30px) } }
@keyframes v6g1 { 0% { transform: translate(430px, 70px) } 100% { transform: translate(-30px, 50px) } }
@keyframes v6u0 { 0%, 100% { transform: translate(60px, 40px) } 50% { transform: translate(330px, 30px) } }
.v6star .v6hover { animation: v6float 1.8s ease-in-out infinite; }
.v6star .v6beam { animation: v6lv 1.2s ease-in-out infinite; }
.v6star .v6glow { animation: v6gl 1.8s ease-in-out infinite alternate; } @keyframes v6gl { from { opacity: .55 } to { opacity: 1 } }
.v6star .v6ember { animation: v6em 3s ease-out infinite; } @keyframes v6em { 0% { transform: translateY(0); opacity: 0 } 20% { opacity: 1 } 100% { transform: translateY(-60px); opacity: 0 } }
.v6star .v6drift { animation: v6dr 9s ease-in-out infinite alternate; } @keyframes v6dr { to { transform: translateX(24px) } }
.v6star .v6tw { animation: v6tw 1.8s infinite; }
.v6star .v6smoke circle { animation: v6sm 3.5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .v6star * { animation: none !important; } }
/* ⚙️ settings v2: −/+ steppers, rows wrap on phones, room under Rexy's tip */
.set-row.v6row { flex-wrap: wrap; row-gap: 6px; }
.set-row.v6row .st { flex: 1 1 120px; min-width: 0; }
.set-row.v6row > .v6pm, .set-row.v6row > .v6seg { flex: 1 1 100%; justify-content: flex-end; margin-left: 40px; }
.v6pm { display: flex; align-items: center; gap: 8px; }
.v6pm button { width: 40px; height: 36px; min-height: 0; padding: 0; font-size: 22px; font-weight: 800; border-radius: 12px; flex: none; }
.v6pm button[disabled] { opacity: .35; }
.v6bar { position: relative; flex: 1; max-width: 200px; height: 22px; border: 3px solid var(--ink, #2a2140); border-radius: 12px; background: #fff; overflow: hidden; }
.v6bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #ffd34a, #ff9a3a); }
.v6bar b { position: relative; display: block; text-align: center; font-size: 12px; line-height: 16px; }
main.scr-settings { padding-bottom: 170px; }
