* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; background: #07070F; color: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow: hidden; overscroll-behavior: none; user-select: none; -webkit-user-select: none; }
#app { position: fixed; inset: 0; display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.hidden { display: none !important; }
button, .btn { font: inherit; color: #fff; background: #16182e; border: 2px solid #2f3566; border-radius: 12px; padding: 10px 14px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
button, .btn { transition: transform .18s cubic-bezier(.34,1.8,.64,1), box-shadow .2s; }
button:hover, .btn:hover { transform: translateY(-2px) scale(1.03); }
button:active, .btn:active { transform: scale(.9); transition-duration: .06s; }
button:disabled { opacity: .5; cursor: default; }
button.big { font-size: 26px; font-weight: 900; padding: 14px 40px; background: linear-gradient(135deg, #38BDF8, #7C3AED 60%, #E8197A); border-color: #9be7ff; box-shadow: 0 0 24px #38bdf888; letter-spacing: 2px; }
button.icon { background: none; border: none; font-size: 22px; padding: 4px 8px; }
button.tiny { font-size: 11px; padding: 3px 7px; border-radius: 8px; border-width: 1px; background: #20244a; }

#hud { height: 52px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; background: #0B0B16; border-bottom: 1px solid #2f3566; }
.hudmid { text-align: center; line-height: 1.05; }
#lvl { font-size: 12px; opacity: .7; letter-spacing: 1px; }
#timer { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
#timer.low { color: #ff3b3b; animation: pulse .5s infinite; }
.hudright { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
#bucks { font-size: 13px; font-weight: 700; }
@keyframes pulse { 50% { transform: scale(1.15); } }

#cv { flex: 1; width: 100%; min-height: 0; touch-action: none; display: block; }
#hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: 62px; background: #000c; border: 1px solid #38BDF8; border-radius: 999px; padding: 6px 14px; white-space: nowrap; z-index: 2; text-align: center; font-weight: 800; pointer-events: none; text-shadow: 0 2px 6px #000; font-size: 15px; }

#banner { height: 50px; flex: none; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #1c1c1c 0 10px, #222 10px 20px); border-top: 1px dashed #666; font-size: 13px; cursor: pointer; text-align: center; padding: 0 8px; }
#banner b { color: #ffcc33; }

.screen { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; z-index: 5; }
#title { background: radial-gradient(circle at 50% 30%, #1E1F3B, #07070F 70%); }
.logo { position: relative; }
.logo h1 { margin: 0; font-size: 52px; line-height: .9; font-weight: 1000; font-style: italic; background: linear-gradient(#ffffff, #67E8F9 45%, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 12px rgba(56,189,248,.6)); }
.applogo { width: 116px; height: 116px; display: block; margin: 0 auto 14px; filter: drop-shadow(0 0 18px rgba(56,189,248,.45)); animation: floaty 2.4s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.flame { font-size: 60px; display: block; animation: flick .15s infinite alternate; }
@keyframes flick { to { transform: scale(1.06) rotate(-3deg); } }
.withads { display: inline-block; margin-top: 6px; background: #ffcc00; color: #000; padding: 2px 10px; transform: rotate(-4deg); font-weight: 700; font-size: 18px; border-radius: 4px; }
.sub { opacity: .8; font-size: 14px; margin: 0; }
.row { display: flex; gap: 10px; }
.row > * { min-width: 150px; }
.stats { font-size: 12px; opacity: .6; }

#clear { background: #07070Fee; }
#clear h2 { font-size: 34px; margin: 0; color: #ffcc33; }
#clearBody { font-size: 16px; line-height: 1.6; }
#clearBody .newitem { margin-top: 8px; padding: 8px 12px; border-radius: 10px; background: #1d1010; }

#ad { background: #000; z-index: 20; }
.adtag { position: absolute; top: 12px; left: 12px; font-size: 12px; background: #ffcc00; color: #000; padding: 2px 8px; border-radius: 4px; font-weight: 700; max-width: 80%; text-align: left; }
.adcard { width: 100%; max-width: 380px; border-radius: 18px; padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px; border: 3px solid; animation: adin .35s ease-out; }
@keyframes adin { from { transform: scale(.6) rotate(-6deg); opacity: 0; } }
.adlogo { font-size: 84px; line-height: 1; }
.adlogo img { max-width: 220px; max-height: 120px; }
.adname { font-size: 28px; font-weight: 1000; }
.adtagline { font-size: 16px; opacity: .9; }
.adcta { margin-top: 6px; padding: 10px 22px; border-radius: 999px; font-weight: 800; color: #000; text-decoration: none; }
.adjoke { font-size: 13px; opacity: .7; max-width: 340px; }
#skipBtn { min-width: 140px; }
.adfoot { position: absolute; bottom: 14px; font-size: 12px; opacity: .6; }

#modal { background: #000c; z-index: 15; padding: 12px; }
.modalbox { background: #170c0c; border: 2px solid #5a2a20; border-radius: 16px; width: 100%; max-height: 92%; display: flex; flex-direction: column; overflow: hidden; }
.modalhead { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid #3a1a14; }
.modalhead h2 { margin: 0; font-size: 20px; }
#modalBody { overflow-y: auto; padding: 12px; text-align: left; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.card { background: #221212; border: 2px solid #333; border-radius: 12px; padding: 8px 6px; text-align: center; font-size: 11px; min-height: 104px; }
.card .em { font-size: 34px; }
.card .nm { font-weight: 700; font-size: 12px; margin: 2px 0; }
.card .fx { color: #8fd; font-size: 10px; }
.card.locked { opacity: .35; }
.r-common { border-color: #777; } .r-rare { border-color: #3fa9ff; } .r-epic { border-color: #b46cff; } .r-legendary { border-color: #ffcc33; box-shadow: 0 0 10px #ffcc3366; }
.ach { display: flex; gap: 10px; align-items: center; padding: 8px; border-bottom: 1px solid #2a1515; }
.ach .em { font-size: 28px; width: 36px; text-align: center; }
.ach.locked { opacity: .4; }
.ach small { opacity: .7; display: block; }
.lootbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px; background: #2a1010; border-radius: 12px; }

#toasts { position: absolute; top: 60px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 30; }
.toast { background: #ffcc33; color: #000; font-weight: 800; padding: 8px 14px; border-radius: 12px; box-shadow: 0 4px 14px #0008; animation: tin 3.2s forwards; font-size: 14px; }
.toast small { display: block; font-weight: 500; }
@keyframes tin { 0% { transform: translateY(-20px); opacity: 0; } 8%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.shake { animation: shake .4s; }
@keyframes shake { 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
.advid { position: relative; width: 100%; border-radius: 12px; overflow: hidden; background: #000; }
.advid video { width: 100%; display: block; max-height: 42vh; }
.advid #unmute { position: absolute; right: 8px; bottom: 8px; }
.bonus { width: 100%; max-width: 380px; }
.bonusbar { height: 10px; background: #222; border-radius: 99px; overflow: hidden; border: 1px solid #444; }
#bonusFill { height: 100%; width: 0; background: linear-gradient(90deg, #ffcc33, #ff5a1a); transition: width .1s linear; }
#bonusText { font-size: 14px; margin-top: 6px; }
#bonusText.got { color: #ffcc33; font-weight: 900; }
#skipBtn.go { background: linear-gradient(#ffcc33, #ff7a1a); color: #000; font-weight: 900; border-color: #ffe08a; }
#mult { background: #ffcc33; color: #000; font-weight: 900; padding: 1px 6px; border-radius: 6px; font-size: 12px; animation: pulse 1s infinite; }
/* polish */
body { background: radial-gradient(circle at 50% 0%, #1E1F3B, #050509 70%); }
#hud { background: linear-gradient(#1a1c36, #0B0B16); border-bottom: 1px solid #38bdf844; box-shadow: 0 2px 12px #0008; }
#timer { background: #000a; border: 1px solid #ff7a1a66; border-radius: 10px; padding: 0 10px; min-width: 76px; }
#bucks { background: #000a; border-radius: 999px; padding: 2px 8px; border: 1px solid #ffcc3344; }
#banner { background: linear-gradient(90deg, #1a1208, #2a1a08, #1a1208); border-top: 1px solid #ffcc3355; }

/* phones with notches / home bars */
#app { padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
html, body { -webkit-touch-callout: none; }

/* ---- juice ---- */
#playBtn { animation: playpulse 1.6s ease-in-out infinite; }
@keyframes playpulse { 0%,100% { transform: scale(1); box-shadow: 0 0 24px #38bdf888; } 50% { transform: scale(1.07) rotate(-1.5deg); box-shadow: 0 0 40px #a855f7cc; } }
#playBtn:active { animation: none; transform: scale(.9); }
.screen:not(.hidden) > * { animation: popin .45s cubic-bezier(.34,1.7,.64,1) both; }
.screen:not(.hidden) > *:nth-child(2) { animation-delay: .06s; } .screen:not(.hidden) > *:nth-child(3) { animation-delay: .12s; }
.screen:not(.hidden) > *:nth-child(4) { animation-delay: .18s; } .screen:not(.hidden) > *:nth-child(5) { animation-delay: .24s; } .screen:not(.hidden) > *:nth-child(6) { animation-delay: .3s; }
@keyframes popin { from { opacity: 0; transform: translateY(18px) scale(.85); } }
.logo h1 { animation: wobble 3.2s ease-in-out infinite; }
@keyframes wobble { 0%,100% { transform: rotate(0) } 25% { transform: rotate(-2deg) scale(1.02) } 75% { transform: rotate(2deg) scale(1.02) } }
.withads { animation: tagbob 2s ease-in-out infinite; }
@keyframes tagbob { 0%,100% { transform: rotate(-4deg) } 50% { transform: rotate(-1deg) translateY(-3px) } }
.bump { display: inline-block; animation: bump .35s cubic-bezier(.34,1.8,.64,1); }
@keyframes bump { 40% { transform: scale(1.45); color: #FFC21A; } }
#hint:not(.hidden) { animation: hintpop .4s cubic-bezier(.34,1.8,.64,1); }
@keyframes hintpop { from { transform: translateX(-50%) scale(.6); opacity: 0; } }
#clear h2 { animation: cleartitle .7s cubic-bezier(.34,1.8,.64,1) both, wobble 2.4s 0.7s ease-in-out infinite; }
@keyframes cleartitle { from { transform: scale(.3) rotate(-12deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* coins this round -> doubled */
.coinx { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 1000; font-variant-numeric: tabular-nums; }
.coinx .cnow { color: #fff; transition: opacity .3s, transform .3s; }
.coinx .carrow { color: #67E8F9; animation: nudge .7s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(7px); } }
.coinx .cx2 { color: #FFC21A; text-shadow: 0 0 16px #ffc21a99; opacity: .55; transform: scale(.9); transition: opacity .2s, transform .2s; }
.coinx.got .cnow { opacity: .4; text-decoration: line-through; transform: scale(.85); }
.coinx.got .cx2 { opacity: 1; animation: cashpop .6s cubic-bezier(.34,1.8,.64,1) both, wobble 1.6s .6s ease-in-out infinite; }
@keyframes cashpop { from { transform: scale(.6); } 60% { transform: scale(1.35); } to { transform: scale(1.15); } }
.gc { display: inline-block; width: .85em; height: .85em; margin-right: .18em; vertical-align: -.08em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c2, #ffd23a 45%, #c98a00); box-shadow: inset 0 0 0 .08em #b07800, 0 0 .3em #ffc21a66; }

/* ---- title: progression ---- */
#title { gap: 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 380px; }
.row3 button { padding: 9px 4px; font-size: 14px; position: relative; }
.tinyrow { display: flex; gap: 8px; }
button.dot::after { content: ''; position: absolute; top: -4px; right: -4px; width: 12px; height: 12px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 8px #ff3b5c; animation: pulse 1s infinite; }
.rankcard { width: 100%; max-width: 380px; background: #11132a; border: 1px solid #2f3566; border-radius: 14px; padding: 8px 12px; text-align: left; }
.rankcard .rk { display: flex; justify-content: space-between; align-items: baseline; }
.rankcard .rk b { font-size: 16px; background: linear-gradient(90deg, #67E8F9, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rankcard .rk span { font-size: 12px; opacity: .8; } .rankcard em { color: #FFC21A; font-style: normal; font-weight: 800; }
.rankcard small { font-size: 11px; opacity: .6; }
.xpbar { height: 8px; background: #05050c; border-radius: 99px; overflow: hidden; margin: 5px 0 3px; border: 1px solid #2f3566; }
.xpbar > div { height: 100%; background: linear-gradient(90deg, #38BDF8, #A855F7); border-radius: 99px; transition: width .8s cubic-bezier(.34,1.4,.64,1); }
/* clear screen */
.stars { display: flex; justify-content: center; gap: 14px; margin-bottom: 8px; }
.star { display: flex; flex-direction: column; align-items: center; opacity: .25; animation: starpop .5s cubic-bezier(.34,1.9,.64,1) both; }
.star b { font-size: 46px; line-height: 1; color: #555; }
.star.on { opacity: 1; } .star.on b { color: #FFC21A; text-shadow: 0 0 18px #ffc21acc; }
.star small { font-size: 10px; opacity: .8; }
@keyframes starpop { from { transform: scale(0) rotate(-90deg); } }
.rankup { margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: linear-gradient(90deg, #38bdf833, #a855f733); font-size: 14px; animation: popin .5s .9s cubic-bezier(.34,1.7,.64,1) both; }
#clearBody .rankcard { margin: 6px auto; }
/* daily / missions / trails */
.dsub { text-align: center; opacity: .85; margin: 0 0 10px; font-size: 14px; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.day { background: #11132a; border: 2px solid #2f3566; border-radius: 12px; padding: 8px 4px; text-align: center; font-size: 13px; font-weight: 800; min-height: 64px; }
.day small { display: block; opacity: .6; font-weight: 500; font-size: 11px; margin-bottom: 3px; }
.day.big { grid-column: span 2; background: linear-gradient(135deg, #2a1f4a, #3a1640); }
.day.got { opacity: .45; position: relative; } .day.got::after { content: '✓'; position: absolute; top: 2px; right: 6px; color: #22C55E; }
.day.now { border-color: #FFC21A; box-shadow: 0 0 16px #ffc21a88; animation: pulse 1.2s infinite; }
.mis { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #11132a; margin-bottom: 8px; border: 1px solid #2f3566; }
.mis .mt { flex: 1; } .mis small { opacity: .7; font-size: 11px; }
.mis.done { border-color: #22C55E; box-shadow: 0 0 10px #22c55e55; } .mis.claimed { opacity: .5; }
.mis.done button { background: linear-gradient(#4ade80, #16a34a); color: #04210f; font-weight: 900; border-color: #9dffb4; animation: pulse 1s infinite; }
.trails { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.trail { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; }
.trail .sw { width: 100%; height: 12px; border-radius: 99px; }
.trail small { opacity: .7; font-size: 11px; } .trail.sel { border-color: #67E8F9; box-shadow: 0 0 12px #67e8f988; }
/* modal re-theme */
.modalbox { background: #0d0f22; border-color: #2f3566; } .modalhead { border-bottom-color: #2f3566; }
.card { background: #13152c; } .lootbar { background: #1a1c3a; } .ach { border-bottom-color: #1d2040; }
/* ---- loot spin ---- */
#spin { background: radial-gradient(circle at 50% 40%, #241a4a, #07070F 70%); overflow: hidden; z-index: 16; }
.spintitle { margin: 0; font-size: 26px; font-style: italic; letter-spacing: 1px; }
.spinstage { position: relative; width: 100%; height: 150px; display: flex; align-items: center; justify-content: center; }
.spinbox { font-size: 96px; filter: drop-shadow(0 0 24px #a855f7aa); }
.spinbox.idle { animation: floaty 1.8s ease-in-out infinite; }
.spinbox.shaking { animation: rattle 1.05s cubic-bezier(.36,.07,.19,.97) both; }
@keyframes rattle { 0% { transform: rotate(0) scale(1); } 20% { transform: rotate(-6deg) scale(1.03); } 30% { transform: rotate(6deg); } 45% { transform: rotate(-9deg) scale(1.08); }
  55% { transform: rotate(9deg); } 65% { transform: rotate(-12deg) scale(1.14); } 72% { transform: rotate(12deg); } 79% { transform: rotate(-14deg) scale(1.2); } 86% { transform: rotate(14deg); }
  93% { transform: rotate(-8deg) scale(1.35); filter: drop-shadow(0 0 40px #fff) brightness(1.6); } 100% { transform: scale(1.7); opacity: 0; filter: drop-shadow(0 0 60px #fff) brightness(3); } }
.reelwrap { position: absolute; inset: 20px -12px; overflow: hidden; border-top: 2px solid #2f3566; border-bottom: 2px solid #2f3566; background: #07070F;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.reel { display: flex; gap: 8px; height: 100%; align-items: center; will-change: transform; }
.tile { flex: none; width: 88px; height: 88px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 2px solid; position: relative; transition: transform .3s cubic-bezier(.34,1.8,.64,1); }
.tile .em { font-size: 44px; }
.tile.r-common { background: linear-gradient(#2a2c3a, #1a1b24); } .tile.r-rare { background: linear-gradient(#123a6a, #0a1d38); }
.tile.r-epic { background: linear-gradient(#45206e, #220f3a); } .tile.r-legendary { background: linear-gradient(#6a4a08, #2e1f04); box-shadow: inset 0 0 18px #ffcc3388; }
.tile::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 5px; height: 4px; border-radius: 4px; background: currentColor; }
.tile.r-common { color: #aaa; } .tile.r-rare { color: #3fa9ff; } .tile.r-epic { color: #b46cff; } .tile.r-legendary { color: #ffcc33; }
.tile.win { transform: scale(1.12); box-shadow: 0 0 24px currentColor; z-index: 2; }
.tile.tease { animation: tease .6s ease-in-out 2; }
@keyframes tease { 25% { transform: translateX(-5px) rotate(-4deg); } 75% { transform: translateX(5px) rotate(4deg); } }
.reelmark { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 4px; margin-left: -2px; background: #FFC21A; box-shadow: 0 0 12px #FFC21A; border-radius: 2px; }
.reelmark::before, .reelmark::after { content: ''; position: absolute; left: -8px; border: 10px solid transparent; }
.reelmark::before { top: -2px; border-top-color: #FFC21A; } .reelmark::after { bottom: -2px; border-bottom-color: #FFC21A; }
.spinmsg { min-height: 30px; font-size: 24px; font-weight: 1000; font-style: italic; color: #FFC21A; text-shadow: 0 0 16px #ffc21a88; }
.reveal { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 340px; }
.reveal.show { animation: popin .6s cubic-bezier(.34,1.9,.64,1) both; }
.reveal .rays { position: absolute; top: 36px; left: 50%; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; z-index: -1; opacity: .5;
  background: repeating-conic-gradient(currentColor 0 10deg, transparent 10deg 30deg); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%); mask-image: radial-gradient(circle, #000 20%, transparent 70%); animation: spinrays 8s linear infinite; }
@keyframes spinrays { to { transform: rotate(360deg); } }
.reveal.r-common { color: #aaa; } .reveal.r-rare { color: #3fa9ff; } .reveal.r-epic { color: #b46cff; } .reveal.r-legendary { color: #ffcc33; }
.reveal .rem { font-size: 76px; line-height: 1.1; } .reveal .rlab { font-weight: 1000; letter-spacing: 2px; font-size: 13px; }
.reveal .rnm { color: #fff; font-size: 22px; font-weight: 900; } .reveal .rd { color: #ddd; font-size: 14px; } .reveal .rfx { color: #8fd; font-size: 13px; } .reveal small { color: #999; }
.spinbtns { display: flex; flex-direction: column; align-items: center; gap: 8px; } .spinbtns.hidden { display: none; }
.spininfo { font-size: 12px; opacity: .85; text-align: center; line-height: 1.5; }
.conf { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; z-index: 40; pointer-events: none; animation: conf 2s ease-in forwards; }
@keyframes conf { to { transform: translate(var(--dx), 105vh) rotate(720deg); } }
#rankCard { width: 100%; max-width: 380px; }
.rankcard .rk { gap: 10px; }
.tinyrow .tiny, .tinyrow .btn { font-size: 12px; padding: 6px 10px; border-radius: 10px; border-width: 1px; }
#spin { justify-content: flex-start; padding-top: max(8vh, 40px); }
#modal { background: #07070Ff2; }
#timer.warn { color: #ff8a5c; border-color: #ff5a3c88; animation: pulse 1s infinite; }

/* ---- Ad Blocker (roguelike) ---- */
#rogue { position: absolute; left: 0; right: 0; top: 0; bottom: calc(50px + env(safe-area-inset-bottom)); z-index: 8; background: #05050c; }
#rcv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; }
.rhud { position: absolute; top: 0; left: 0; right: 0; height: 26px; display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 0; pointer-events: none; z-index: 2; }
.rhud button { pointer-events: auto; padding: 0 6px; font-size: 20px; }
.rroom { font-size: 13px; opacity: .85; } .rroom b { color: #67E8F9; font-size: 15px; }
.rcoins { font-weight: 900; font-size: 14px; background: #000a; border-radius: 99px; padding: 2px 9px; border: 1px solid #ffcc3344; }
.rhint { position: absolute; left: 50%; bottom: 118px; transform: translateX(-50%); background: #000c; border: 1px solid #38BDF8; border-radius: 999px; padding: 6px 14px; font-weight: 800; white-space: nowrap; pointer-events: none; animation: hintpop .4s cubic-bezier(.34,1.8,.64,1); z-index: 3; }
.rover { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; text-align: center; background: #05050cd9; backdrop-filter: blur(3px); }
.rover h2 { margin: 0; font-size: 30px; font-style: italic; background: linear-gradient(#fff, #67E8F9 50%, #A855F7); -webkit-background-clip: text; background-clip: text; color: transparent; animation: cleartitle .6s cubic-bezier(.34,1.8,.64,1) both; }
.rover p { margin: 0; opacity: .85; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 420px; margin-top: 6px; }
.pcard { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px; border-radius: 16px; background: linear-gradient(#1a1c3c, #10112a); border: 2px solid #3a4180; position: relative; animation: popin .5s cubic-bezier(.34,1.8,.64,1) both; }
.pcard:hover { border-color: #67E8F9; box-shadow: 0 0 18px #67e8f966; }
.pcard .pem { font-size: 38px; } .pcard b { font-size: 14px; } .pcard small { font-size: 11px; opacity: .8; line-height: 1.25; }
.plv { position: absolute; top: -8px; right: -6px; font-size: 10px; font-weight: 900; background: #A855F7; padding: 2px 6px; border-radius: 99px; } .plv.new { background: #22C55E; color: #04210f; }
.rstats { display: flex; gap: 18px; } .rstats div { display: flex; flex-direction: column; } .rstats b { font-size: 24px; } .rstats small { opacity: .7; font-size: 11px; }
.rpicks { font-size: 24px; letter-spacing: 3px; } .rearn { font-size: 20px; }
/* Ad Blocker v2 */
.card .rfxp { color: #67E8F9; font-size: 10px; margin-top: 3px; font-weight: 700; }
.chars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; max-width: 380px; }
.char { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border-radius: 14px; background: linear-gradient(#1a1c3c, #10112a); border: 2px solid #3a4180; }
.char.sel { border-color: #67E8F9; box-shadow: 0 0 16px #67e8f988; } .char .cem { font-size: 30px; line-height: 1.1; } .char small { font-size: 11px; opacity: .8; line-height: 1.25; } .char .hearts { font-size: 11px; }
.passbox { width: 100%; max-width: 380px; background: #11132a; border: 1px solid #2f3566; border-radius: 12px; padding: 8px 10px; text-align: left; font-size: 13px; }
.passlist { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; max-height: 92px; overflow-y: auto; } .passlist span { font-size: 11px; opacity: .9; }
.pcard { border-color: var(--rc); } .pcard.r-epic { box-shadow: 0 0 18px #b46cff66; background: linear-gradient(#2a1a4a, #140c2a); } .pcard.r-rare { background: linear-gradient(#142a4a, #0c1830); }
.prar { position: absolute; top: 6px; left: 8px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--rc); }
.rintro { position: absolute; left: 50%; top: 92px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 3; pointer-events: none; animation: introin .5s cubic-bezier(.34,1.7,.64,1) both; width: max-content; max-width: 92%; }
@keyframes introin { from { opacity: 0; transform: translate(-50%, -20px) scale(.85); } }
.rintro .ic { display: flex; align-items: center; gap: 10px; background: #0b0c1ef2; border: 2px solid #ff5a6e; border-radius: 14px; padding: 6px 12px 6px 6px; box-shadow: 0 6px 20px #000a; }
.rintro .ic small { display: block; color: #ff5a6e; font-weight: 900; font-size: 10px; letter-spacing: 1px; } .rintro .ic b { font-size: 16px; } .rintro .ic span { display: block; font-size: 12px; opacity: .85; }
.rintro .ic.boss { flex-direction: column; align-items: center; gap: 2px; padding: 10px 16px; border-color: #FFC21A; } .rintro .ic.boss small { color: #FFC21A; }
/* Ad Blocker v3 */
.rhud { height: 30px; }
.rmap { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; padding: 0 6px; max-width: 72%; }
.rmap .node { width: 9px; height: 9px; border-radius: 50%; background: #1d2044; border: 1.5px solid #3a4180; flex: none; position: relative; font-style: normal; font-size: 9px; line-height: 9px; text-align: center; }
.rmap .node.boss { width: 15px; height: 15px; line-height: 13px; border-radius: 5px; border-color: var(--wc); }
.rmap .node.done { background: var(--wc); border-color: var(--wc); }
.rmap .node.now { background: #fff; border-color: #fff; box-shadow: 0 0 10px #fff; animation: pulse 1s infinite; }
.rmap .node.best::after { content: '🏁'; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: 10px; }
.rmap .link { height: 2px; flex: 1; min-width: 4px; background: #2a2f5a; font-style: normal; } .rmap .link.done { background: #67E8F9; } .rmap .link.gap { min-width: 9px; }
.rintro .ic.world { flex-direction: column; align-items: center; gap: 2px; padding: 12px 22px; border-color: var(--wc); box-shadow: 0 0 30px color-mix(in srgb, var(--wc) 40%, transparent); }
.rintro .ic.world small { color: var(--wc); letter-spacing: 3px; } .rintro .ic.world b { font-size: 24px; font-style: italic; }
.rintro .ic .warn { color: #ffcc00; font-weight: 800; margin-top: 4px; }
.rdomain { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; text-align: center; }
.rdomain.intro, .rdomain.roll { background: radial-gradient(circle, #3a0a5acc, #05000ce6 70%); }
.rdomain .dx1 { font-size: 34px; font-weight: 1000; font-style: italic; letter-spacing: 2px; color: #fff; text-shadow: -3px 0 #ff2a6a, 3px 0 #2ad4ff, 0 0 30px #a855f7; animation: dxin .7s cubic-bezier(.2,1.6,.4,1) both, glitch .25s steps(2) infinite .7s; }
.rdomain .dx2 { font-size: 22px; font-weight: 900; color: #FFC21A; animation: popin .5s .35s cubic-bezier(.34,1.8,.64,1) both; }
.rdomain .dx3 { font-size: 14px; opacity: .85; animation: popin .5s .6s both; }
.rdomain.win .dx1 { text-shadow: -3px 0 #22C55E, 3px 0 #FFC21A, 0 0 30px #22C55E; }
@keyframes dxin { from { transform: scale(3) rotate(-8deg); opacity: 0; filter: blur(8px); } }
@keyframes glitch { 50% { transform: translateX(2px) skewX(-4deg); } }
.die { width: 120px; height: 120px; border-radius: 26px; background: linear-gradient(#fff, #d8dcf0); color: #111; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 10px 40px #000c, 0 0 0 4px #a855f7; animation: dieroll .12s infinite alternate; }
.die span { font-size: 54px; line-height: 1; } .die b { font-size: 22px; }
.die.landed { animation: dieland .6s cubic-bezier(.34,1.9,.64,1); }
.die.d5, .die.d6 { box-shadow: 0 10px 40px #000c, 0 0 0 4px #ff2a3c, 0 0 40px #ff2a3c; }
.die.d1, .die.d2 { box-shadow: 0 10px 40px #000c, 0 0 0 4px #22C55E, 0 0 30px #22C55E; }
@keyframes dieroll { from { transform: rotate(-8deg) scale(.96); } to { transform: rotate(8deg) scale(1.04); } }
@keyframes dieland { 0% { transform: scale(1.6); } 100% { transform: scale(1); } }
.dxlab { font-size: 26px; font-weight: 1000; color: #FFC21A; min-height: 32px; text-shadow: 0 0 20px #ffc21a88; }
.rdomain.hud { justify-content: flex-start; padding-top: 54px; }
.dhud { background: #0b0c1ef2; border: 2px solid #a855f7; border-radius: 14px; padding: 6px 12px; min-width: 260px; box-shadow: 0 0 24px #a855f766; }
.dhud b { font-size: 13px; } .dhud small { font-size: 10px; opacity: .8; }
.dbar { height: 8px; background: #000; border-radius: 99px; overflow: hidden; margin: 4px 0; } .dbar div { height: 100%; width: 100%; background: linear-gradient(90deg, #22C55E, #FFC21A); transition: width .1s linear; } .dbar div.low { background: #ff3b5c; }
.rstats { gap: 14px; }
/* Ad Blocker v4 */
#rEnd { justify-content: flex-start; padding-top: 44px; overflow-y: auto; }
.chaps { display: flex; gap: 6px; width: 100%; max-width: 420px; overflow-x: auto; padding-bottom: 4px; }
.chap { flex: 1 0 74px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 8px; border-radius: 12px; background: #11132a; border: 2px solid #2f3566; text-align: left; }
.chap small { font-size: 9px; color: var(--wc); font-weight: 900; letter-spacing: 1px; } .chap b { font-size: 11px; line-height: 1.15; min-height: 26px; } .chap em { font-size: 9px; opacity: .7; font-style: normal; }
.chap.sel { border-color: var(--wc); box-shadow: 0 0 14px color-mix(in srgb, var(--wc) 50%, transparent); } .chap.done em { color: #4ade80; opacity: 1; }
.cbar { width: 100%; height: 4px; background: #000; border-radius: 9px; overflow: hidden; } .cbar i { display: block; height: 100%; background: var(--wc); }
.chars { grid-template-columns: repeat(3, 1fr) !important; max-width: 420px !important; }
.char { padding: 8px 4px !important; } .char .cem { font-size: 26px !important; } .char b { font-size: 12px; } .char small { font-size: 10px !important; }
.selrow { display: flex; gap: 10px; align-items: center; font-size: 12px; opacity: .9; }
.tals { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 400px; }
.tal { display: flex; align-items: center; gap: 10px; background: #11132a; border: 1px solid #2f3566; border-radius: 12px; padding: 8px 10px; text-align: left; }
.tal .tem { font-size: 24px; } .tal .tt { flex: 1; } .tal .tt span { display: block; font-size: 12px; opacity: .85; } .tal .tt small { opacity: .6; } .tmax { color: #FFC21A; font-weight: 900; font-size: 12px; }
.unlock { background: linear-gradient(90deg, #22c55e33, #38bdf833); border: 1px solid #22C55E; border-radius: 12px; padding: 8px 12px; font-weight: 800; animation: popin .5s .4s both; }
.pdelta { font-size: 11px; color: #9dffb4; font-weight: 800; } .pcard small b { color: #fff; }
.rmap .node.elite { border-color: #b46cff; font-size: 7px; color: #b46cff; } .chlab { font-size: 9px; font-weight: 900; margin-right: 5px; opacity: .8; }
/* loot v2: x10 pulls */
button.big.ten { font-size: 17px; padding: 10px 18px; background: linear-gradient(135deg, #FFC21A, #ff7a1a 55%, #E8197A); border-color: #ffe08a; box-shadow: 0 0 24px #ffc21a88; }
button.big.ten small { display: block; font-size: 10px; font-weight: 700; opacity: .9; letter-spacing: 0; }
.spinbox.gold { filter: drop-shadow(0 0 30px #ffc21a) drop-shadow(0 0 60px #ff7a1a); }
.reveal.multi { width: 100%; max-width: 420px; }
.mgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; }
.mcard { position: relative; aspect-ratio: 3/4; perspective: 600px; animation: dealin .4s cubic-bezier(.34,1.7,.64,1) both; }
@keyframes dealin { from { transform: translateY(-40px) scale(.5) rotate(-10deg); opacity: 0; } }
.mcard .mback, .mcard .mfront { position: absolute; inset: 0; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; backface-visibility: hidden; transition: transform .45s cubic-bezier(.34,1.5,.64,1); border: 2px solid; }
.mcard .mback { background: linear-gradient(135deg, #2a1f5a, #120c2c); border-color: #4a3a8a; font-size: 26px; font-weight: 1000; color: #a855f7; }
.mcard .mfront { transform: rotateY(180deg); background: #11132a; padding: 3px; text-align: center; }
.mcard.flip .mback { transform: rotateY(-180deg); } .mcard.flip .mfront { transform: rotateY(0); }
.mcard.r-common .mfront { border-color: #888; } .mcard.r-rare .mfront { border-color: #3fa9ff; background: linear-gradient(#123a6a, #0a1d38); }
.mcard.r-epic .mfront { border-color: #b46cff; background: linear-gradient(#45206e, #220f3a); box-shadow: 0 0 16px #b46cff; } .mcard.r-legendary .mfront { border-color: #ffcc33; background: linear-gradient(#6a4a08, #2e1f04); box-shadow: 0 0 22px #ffcc33; }
.mcard.tease .mback { animation: shake .3s 2; box-shadow: 0 0 24px #ffcc33; border-color: #ffcc33; }
.mcard .mem { font-size: 26px; line-height: 1.1; } .mcard b { font-size: 8.5px; line-height: 1.1; } .mtag { font-size: 8px; font-weight: 900; color: #9dffb4; margin-top: 2px; }
.msum { margin-top: 10px; font-size: 13px; text-align: center; line-height: 1.5; }
.rbonus { margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: #0f2a3a; border: 1px solid #2ad4ff66; color: #bff3ff; font-size: 12px; }
/* ===== Drops v3: gacha overlay ===== */
.gacha { position: absolute; inset: 0; z-index: 20; background: radial-gradient(ellipse at 50% 0%, #2a1458 0%, #0b0820 55%, #05050c 100%); display: flex; flex-direction: column; overflow: hidden; }
.gacha.hidden { display: none; }
.gtop { display: flex; align-items: center; gap: 6px; padding: calc(8px + env(safe-area-inset-top)) 8px 6px; }
.gtop .icon { width: 34px; height: 34px; padding: 0; border-radius: 10px; flex: none; }
.gtabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; }
.gtabs button { flex: 1; padding: 7px 4px; font-size: 12px; border-radius: 10px; background: #15163a; border: 1px solid #343a7a; position: relative; white-space: nowrap; }
.gtabs button.on { background: linear-gradient(135deg, #7c3aed, #db2777); border-color: #f0abfc; }
.gdot { position: absolute; top: 3px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 6px #ff3b5c; }
.gwal { display: flex; flex-direction: column; font-size: 11px; font-weight: 900; text-align: right; line-height: 1.3; flex: none; }
.gbody { flex: 1; overflow-y: auto; padding: 6px 12px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; }
.gdrops, .gsum { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.gbox { position: relative; width: 150px; height: 150px; display: grid; place-items: center; margin-top: 6px; }
.gboxart { font-size: 96px; animation: gbob 2.2s ease-in-out infinite; filter: drop-shadow(0 10px 20px #000a); z-index: 1; }
.gboxglow { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #ffcc3355, #b46cff55, #3fa9ff55, #ffcc3355); filter: blur(18px); animation: gspin 6s linear infinite; }
@keyframes gbob { 50% { transform: translateY(-8px) rotate(-3deg); } }
@keyframes gspin { to { transform: rotate(360deg); } }
.gcount { font-size: 12px; opacity: .85; }
.groad { width: 100%; background: #0d0f2a; border: 1px solid #3b3f86; border-radius: 14px; padding: 8px 10px; text-align: left; }
.grl { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; } .grl b { color: #ffcc33; }
.grbar, .gbar, .rgbar { position: relative; height: 10px; border-radius: 99px; background: #1d2050; overflow: hidden; margin: 6px 0 4px; }
.grbar i, .gbar i, .rgbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #ffb000, #ffe680); box-shadow: 0 0 10px #ffcc33; transition: width .9s cubic-bezier(.2,.9,.3,1); }
.grnext { display: flex; gap: 6px; font-size: 10px; opacity: .75; overflow: hidden; white-space: nowrap; } .grnext span { background: #1a1d48; padding: 2px 7px; border-radius: 99px; } .grnext .now { background: #3a2a08; color: #ffd76a; }
.gbtns { display: flex; flex-direction: column; gap: 8px; width: 100%; align-items: stretch; }
.gbtns .g1 { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.gbtns .g10 { background: linear-gradient(135deg, #FFC21A, #ff7a1a 55%, #E8197A); border-color: #ffe08a; box-shadow: 0 0 24px #ffc21a77; animation: gpulse 1.6s ease-in-out infinite; }
.gbtns .g10:disabled, .gbtns .g1:disabled { animation: none; filter: grayscale(.7) brightness(.7); box-shadow: none; }
.gbtns small { display: block; font-size: 10px; font-weight: 700; opacity: .9; }
@keyframes gpulse { 50% { box-shadow: 0 0 36px #ffc21acc; } }
.gpity { display: flex; justify-content: center; gap: 12px; font-size: 12px; flex-wrap: wrap; }
.gwhy { font-size: 12px; opacity: .8; line-height: 1.4; } .godds { font-size: 11px; opacity: .9; line-height: 1.5; }
/* reels */
.gstage { width: 100%; max-width: 440px; flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; }
.gcharge { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; transition: opacity .3s, transform .3s; pointer-events: none; }
.gcharge .gboxart { font-size: 120px; animation: gshake .09s linear infinite; }
.gcharge.c1 .gboxart { filter: drop-shadow(0 0 30px #3fa9ff); } .gcharge.c2 .gboxart { filter: drop-shadow(0 0 40px #b46cff) drop-shadow(0 0 70px #b46cff); } .gcharge.c3 .gboxart { filter: drop-shadow(0 0 40px #ffcc33) drop-shadow(0 0 90px #ff9a1a); }
.gcharge.gone { opacity: 0; transform: scale(2.2); }
@keyframes gshake { 0% { transform: translate(2px, 0) rotate(2deg); } 50% { transform: translate(-2px, 1px) rotate(-2deg); } }
.greels { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.greel { position: relative; height: 56px; border-radius: 12px; overflow: hidden; background: linear-gradient(#0e1030, #08091c); border: 2px solid #2b2f6e; animation: greelin .35s cubic-bezier(.34,1.6,.64,1) both; transition: opacity .25s, border-color .2s, box-shadow .2s; }
@keyframes greelin { from { transform: translateX(var(--fx, -60px)) scale(.9); opacity: 0; } }
.greel.rgt { --fx: 60px; }
.gstrip { position: absolute; left: 0; top: 0; bottom: 0; display: flex; will-change: transform; }
.gt { width: 52px; height: 52px; flex: none; display: grid; place-items: center; position: relative; }
.gt::before { content: ''; position: absolute; inset: 5px; border-radius: 10px; background: #1b1e44; border: 2px solid #3a3f78; }
.gt.r-rare::before { background: #10305e; border-color: #3fa9ff; } .gt.r-epic::before { background: #3a1866; border-color: #b46cff; } .gt.r-legendary::before { background: #5a3d06; border-color: #ffcc33; box-shadow: 0 0 10px #ffcc33aa; }
.gt span { position: relative; font-size: 24px; filter: drop-shadow(0 0 5px var(--sc, transparent)); }
.gt .gsk { position: absolute; right: 4px; bottom: 3px; font-size: 10px; font-style: normal; }
.gmark { position: absolute; left: 50%; top: 0; bottom: 0; width: 56px; margin-left: -28px; border: 2px solid #ffffff55; border-radius: 12px; pointer-events: none; }
.greels.focus .greel:not(.tense):not(.done) { opacity: .35; }
.greel.tense.t2 { border-color: #b46cff; box-shadow: 0 0 20px #b46cff, inset 0 0 20px #b46cff66; animation: gtense .25s ease-in-out infinite alternate; }
.greel.tense.t3 { border-color: #ffcc33; box-shadow: 0 0 30px #ffcc33, inset 0 0 24px #ffcc3388; animation: gtense .18s ease-in-out infinite alternate; }
@keyframes gtense { to { transform: scale(1.03); } }
.greel .glab { position: absolute; left: calc(50% + 32px); right: 6px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; text-align: left; opacity: 0; transform: translateX(-12px); transition: all .3s .1s; pointer-events: none; }
.greel .glab b { font-size: 12px; line-height: 1.1; text-shadow: 0 1px 3px #000; } .greel .glab small { font-size: 10px; font-weight: 900; color: #9dffb4; } .glab small.hot { color: #ffe066; }
.greel.done .glab { opacity: 1; transform: none; }
.greel.done .gt:not(.land) { opacity: .12; transition: opacity .3s; }
.greel.done .gt.land { animation: gland .45s cubic-bezier(.34,1.8,.64,1); }
@keyframes gland { 40% { transform: scale(1.35); } }
.greel.done.r-rare { border-color: #3fa9ff; } .greel.done.r-epic { border-color: #b46cff; box-shadow: 0 0 14px #b46cff88; } .greel.done.r-legendary { border-color: #ffcc33; box-shadow: 0 0 20px #ffcc33aa; background: linear-gradient(90deg, #08091c, #3a2a06 50%, #08091c); }
.gstage.big .greel { height: 104px; border-radius: 18px; } .gstage.big .gt { width: 88px; height: 100px; } .gstage.big .gt span { font-size: 44px; } .gstage.big .gmark { width: 92px; margin-left: -46px; border-radius: 16px; }
.gstage.big .glab { left: 0; right: 0; top: auto; bottom: -46px; text-align: center; align-items: center; } .gstage.big .greel { overflow: visible; margin-bottom: 50px; } .gstage.big .gstrip { clip-path: inset(0 round 18px); }
.gstage.big .greel.done .glab b { font-size: 18px; } .gstage.big .greel.done .glab small { font-size: 13px; }
.gtap { text-align: center; font-size: 11px; opacity: .5; margin-top: 10px; }
.gflash { position: absolute; inset: -40px; pointer-events: none; animation: gfl .7s ease-out forwards; z-index: 4; }
.gflash.r-epic { background: radial-gradient(circle, #b46cff88, transparent 70%); } .gflash.r-legendary { background: radial-gradient(circle, #ffe9a0cc, #ffcc3344 40%, transparent 75%); }
@keyframes gfl { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.4); } }
/* splash */
.gsplash { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; background: #000d; animation: gsin .3s ease-out; overflow: hidden; }
.gsplash.out { opacity: 0; transition: opacity .25s; }
@keyframes gsin { from { opacity: 0; } }
.gsrays { position: absolute; width: 200vmax; height: 200vmax; left: 50%; top: 50%; margin: -100vmax 0 0 -100vmax; background: repeating-conic-gradient(from 0deg, var(--rc, #ffcc33) 0 6deg, transparent 6deg 18deg); opacity: .22; animation: gspin 14s linear infinite; }
.gsplash.r-epic { --rc: #b46cff; } .gsplash.r-rare { --rc: #3fa9ff; } .gsplash.r-legendary { --rc: #ffcc33; }
.gscard { position: relative; text-align: center; padding: 20px; max-width: 340px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gstitle { font-size: 30px; font-weight: 1000; letter-spacing: 1px; color: var(--rc); text-shadow: 0 0 20px var(--rc); animation: gstitle .6s cubic-bezier(.34,1.8,.64,1) both; }
.gsem { font-size: 110px; line-height: 1.1; filter: drop-shadow(0 0 30px var(--sc, var(--rc))); animation: gsem .8s .15s cubic-bezier(.34,1.7,.64,1) both; }
@keyframes gstitle { from { transform: scale(3); opacity: 0; } } @keyframes gsem { from { transform: scale(0) rotate(-30deg); } }
.gsrar { text-transform: uppercase; font-size: 12px; font-weight: 900; letter-spacing: 3px; color: var(--rc); } .gsnm { font-size: 24px; font-weight: 1000; }
.gsdesc { font-size: 13px; opacity: .85; } .gsperk { font-size: 13px; padding: 8px 12px; border-radius: 12px; background: #0f2a3a; border: 1px solid #2ad4ff66; color: #bff3ff; }
.gstap { margin-top: 14px; font-size: 11px; opacity: .55; animation: gblink 1.2s infinite; } @keyframes gblink { 50% { opacity: .2; } }
/* summary */
.gsum h2 { margin: 4px 0 0; font-size: 26px; text-shadow: 0 0 18px currentColor; } .gsline { font-size: 13px; }
.grows { width: 100%; display: flex; flex-direction: column; gap: 4px; }
.grow { display: flex; align-items: center; gap: 6px; background: #0e1030; border: 1px solid #2b2f6e; border-radius: 12px; padding: 2px 8px 2px 2px; animation: growin .35s cubic-bezier(.34,1.5,.64,1) both; text-align: left; }
@keyframes growin { from { transform: translateX(-30px); opacity: 0; } }
.grow.r-epic { border-color: #b46cff88; } .grow.r-legendary { border-color: #ffcc33; box-shadow: 0 0 10px #ffcc3355; }
.grow .gt { width: 44px; height: 44px; } .grow .gt span { font-size: 20px; }
.grt { flex: 1; min-width: 0; } .grt b { font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .grt small { font-size: 11px; opacity: .85; display: block; line-height: 1.3; }
.gbar { height: 13px; margin: 3px 0 1px; } .gbar em { position: absolute; inset: 0; font-size: 9px; font-style: normal; font-weight: 900; line-height: 13px; padding-left: 6px; text-shadow: 0 1px 2px #000; }
.gst { color: #ffcc33; font-size: 11px; letter-spacing: -1px; } .gst i { color: #ffffff22; font-style: normal; } .gst.big { font-size: 15px; }
.gtag { font-size: 10px; font-weight: 900; color: #9dffb4; white-space: nowrap; } .gtag.hot { color: #ffe066; text-shadow: 0 0 8px #ffcc33; }
/* heroes */
.gheroes, .gitems { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 8px; }
.ghero { display: flex; gap: 10px; padding: 10px; border-radius: 16px; background: linear-gradient(#17193f, #0d0e28); border: 2px solid #343a7a; text-align: left; }
.ghero.r-epic { border-color: #7d4bc4; } .ghero.r-legendary { border-color: #b8901f; } .ghero.awake { box-shadow: 0 0 20px #ffcc3366; border-color: #ffcc33; }
.ghero.locked { opacity: .75; } .ghero.locked .ghem { filter: grayscale(1) brightness(.5); }
.ghem { font-size: 44px; width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, var(--sc, #38bdf8)44, transparent 70%); }
.ght { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .ght > b { font-size: 16px; } .grar { font-size: 10px; text-transform: uppercase; font-weight: 900; } .glock { color: #ffb3c0; }
.gperks { list-style: none; padding: 0; margin: 2px 0; font-size: 11px; line-height: 1.45; } .gperks li { opacity: .4; } .gperks li.on { opacity: 1; color: #bff3ff; }
.gawk { color: #ffcc33; font-weight: 900; font-size: 12px; }
.ghb { display: flex; gap: 6px; flex-wrap: wrap; } .ghb button, .gitem button { font-size: 11px; padding: 6px 9px; border-radius: 10px; }
.ghb button.go { background: linear-gradient(135deg, #22c55e, #16a34a); border-color: #86efac; animation: gpulse 1.4s infinite; }
.gskins { display: flex; gap: 4px; flex-wrap: wrap; } .gskins button { font-size: 10px; padding: 4px 8px; border-radius: 99px; border-color: var(--sc, #555); } .gskins button.on { background: var(--sc, #444); color: #000; font-weight: 900; }
.ghelp { font-size: 12px; opacity: .8; margin: 0 0 4px; text-align: center; }
.gitem { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 12px; background: #0e1030; border: 1px solid #2b2f6e; text-align: left; }
.gitem.none { opacity: .5; } .gitem.r-legendary { border-color: #b8901f; } .gitem.r-epic { border-color: #6d3fb0; }
.gnext { color: #9dffb4; }
/* special button + run-end goal */
.rspec { position: absolute; right: 14px; bottom: 16px; z-index: 4; width: 64px; height: 64px; border-radius: 50%; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid #4a4f90; background: conic-gradient(#ffcc33 var(--p, 0%), #15163a 0); box-shadow: 0 4px 14px #000a; touch-action: none; }
.rspec span { font-size: 24px; line-height: 1; } .rspec b { font-size: 9px; font-weight: 1000; text-shadow: 0 1px 2px #000; }
.rspec.ready { border-color: #fff; box-shadow: 0 0 22px #ffcc33, 0 0 44px #ff9a1a; animation: gtense .3s ease-in-out infinite alternate; }
.rspec.hidden { display: none; }
.rgoal { width: 100%; max-width: 340px; background: #0d0f2a; border: 1px solid #3b3f86; border-radius: 14px; padding: 8px 10px; font-size: 12px; text-align: left; }
.rgl.hot { color: #ffe066; margin-top: 4px; } .rgb { display: flex; gap: 6px; margin-top: 6px; } .rgb button { flex: 1; }
.char .cst { color: #ffcc33; font-size: 11px; letter-spacing: -1px; } .char.lockd { opacity: .55; }
/* Ad Blocker v5 */
body.rplay #banner { display: none; }
body.rplay #rogue { bottom: 0; }
.rcoins em.hot { font-style: normal; font-size: 11px; color: #ffb000; margin-left: 4px; text-shadow: 0 0 8px #ff7a1a; }
button.risk { margin-top: 8px; background: linear-gradient(135deg, #3a0a1e, #1a0610); border-color: #ff5a9e88; color: #ffb3d0; }
button.risk.on { background: linear-gradient(135deg, #ff2a6a, #a0104a); border-color: #fff; color: #fff; box-shadow: 0 0 18px #ff2a6a; animation: gpulse 1.2s infinite; }
/* compact "new ad" tooltips: a slim strip, the fight stays visible */
.rintro { top: 92px !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 4px !important; max-width: 96% !important; }
.rintro .ic:not(.boss):not(.world) { gap: 6px; padding: 2px 8px 2px 2px; border-width: 1.5px; border-radius: 10px; background: #0b0c1ecc; box-shadow: none; max-width: 230px; }
.rintro .ic:not(.boss):not(.world) canvas { width: 30px; height: 27px; }
.rintro .ic:not(.boss):not(.world) small { font-size: 8px; } .rintro .ic:not(.boss):not(.world) b { font-size: 12px; line-height: 1.1; } .rintro .ic:not(.boss):not(.world) span { font-size: 10px; line-height: 1.2; }
.rintro .ic.boss { padding: 6px 12px; } .rintro .ic.boss b { font-size: 16px; } .rintro .ic.boss span { font-size: 11px; }
.char .cicon { width: 42px; height: 42px; } .char.lockd .cicon, .char[disabled] .cicon { filter: grayscale(1) brightness(.6); }

/* NEW AD cards fade to see-through quickly so they never hide the fight (boss/chapter cards stay solid) */
.rintro .ic:not(.boss):not(.world) { animation: icfade 2.6s ease forwards; }
@keyframes icfade { 0%, 30% { opacity: 1; } 100% { opacity: .28; } }
#rPause { z-index: 6; }
