/* Outside Your Playlist: the Anghami EOY 2026 Sound Quest, as a tappable web prototype.
   Layout: on phones the app is the whole viewport; on bigger screens it sits in a phone frame between two panels. */
@font-face { font-family: 'Readex'; src: url('../assets/fonts/readex.woff2') format('woff2'); font-weight: 160 700; font-display: swap; }
@property --world { syntax: '<color>'; inherits: true; initial-value: #7b2cff; }

:root {
  --bg: #0b0a10; --ink: #fff; --dim: rgba(255, 255, 255, .6); --faint: rgba(255, 255, 255, .42);
  --lime: #e0ff00; --violet: #7b2cff; --amber: #ffa53d; --cyan: #00cee5; --magenta: #ff3df2; --teal: #03141a;
  --line: rgba(255, 255, 255, .08); --card: rgba(255, 255, 255, .06);
  --world: #7b2cff; --mc: var(--lime);
  --top: calc(env(safe-area-inset-top, 0px) + 14px); --bot: calc(env(safe-area-inset-bottom, 0px) + 14px);
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.56, .64, 1); --expo: cubic-bezier(.16, 1, .3, 1);
  transition: --world 1.1s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: #050308; color: var(--ink); overflow: hidden; overscroll-behavior: none; }
body { font-family: 'Readex', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'tnum' 0; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; -webkit-user-drag: none; user-select: none; }
.ar { font-family: 'Readex'; direction: rtl; }
.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ page: phone mode vs desk mode */
#device { position: fixed; inset: 0; }
#app { position: absolute; inset: 0; overflow: hidden; background: var(--bg); container-type: size; isolation: isolate; }
.frame-deco, #desk { display: none; }

.desk #desk { display: block; position: fixed; inset: 0; overflow: hidden; }
.desk #device { inset: auto; left: 50%; top: 50%; width: 421px; height: 880px; transform: translate(-50%, -50%) scale(var(--fs, 1)); }
.desk #device .phone { position: absolute; inset: 0; border-radius: 66px; background: #0a0a0d;
  box-shadow: 0 0 0 2px #2a2930, 0 0 0 5px #0d0d10, 0 0 0 6.5px #3b3a44, 0 50px 110px rgba(0, 0, 0, .7), 0 0 180px color-mix(in srgb, var(--world) 45%, transparent);
  transition: box-shadow 1.1s ease; animation: float 7s ease-in-out infinite; }
.desk #app { inset: 14px; border-radius: 52px; --top: 54px; --bot: 26px; }
.desk .frame-deco { display: block; }
.desk .island { position: absolute; top: 25px; left: 50%; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #000; z-index: 90; }
.desk .glass { position: absolute; inset: 14px; border-radius: 52px; pointer-events: none; z-index: 91;
  background: linear-gradient(115deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .015) 30%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, .035) 100%); }
.desk .hbar { position: absolute; bottom: 22px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(255, 255, 255, .85); z-index: 92; pointer-events: none; }
.desk .pbtn { position: absolute; width: 5px; border-radius: 3px; background: #2c2b33; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }

/* the desk around the phone */
#desk .bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse 50% 60% at 50% 52%, color-mix(in srgb, var(--world) 34%, transparent), transparent 70%),
  radial-gradient(ellipse 70% 30% at 50% 108%, color-mix(in srgb, var(--world) 26%, transparent), transparent 70%),
  radial-gradient(ellipse 40% 50% at 8% 10%, rgba(123, 44, 255, .16), transparent 70%),
  radial-gradient(ellipse 40% 50% at 95% 90%, rgba(255, 61, 242, .08), transparent 70%), #07050c; transition: --world 1.1s ease; }
#desk .grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.panel { position: absolute; top: 50%; transform: translateY(-50%); width: min(340px, calc(50vw - 270px)); }
.panel.l { left: max(40px, calc(50vw - 640px)); }
.panel.r { right: max(40px, calc(50vw - 640px)); width: min(270px, calc(50vw - 270px)); }
.p-logo { display: flex; align-items: center; gap: 12px; }
.p-logo img:first-child { height: 34px; } .p-logo img:last-child { height: 18px; }
.p-eye { margin-top: 38px; font-size: 12px; font-weight: 600; letter-spacing: .32em; color: var(--lime); }
.p-h1 { margin-top: 12px; font-size: 46px; line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.p-txt { margin-top: 16px; font-size: 15px; line-height: 1.55; color: var(--dim); font-weight: 300; }
.p-txt b { color: #fff; font-weight: 500; }
.chap { margin-top: 26px; display: grid; gap: 2px; }
.chap button { display: flex; align-items: center; gap: 14px; padding: 7px 10px; margin-left: -10px; border-radius: 10px; text-align: left; font-size: 14px; color: rgba(255, 255, 255, .55); transition: background .2s, color .2s; }
.chap button i { font-style: normal; font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .32); width: 18px; font-variant-numeric: tabular-nums; }
.chap button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.chap button.on { color: #fff; background: rgba(255, 255, 255, .07); }
.chap button.on i { color: var(--c, var(--lime)); }
.chap button.on::after { content: ''; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--lime)); box-shadow: 0 0 10px var(--c, var(--lime)); }
.r-card { padding: 18px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.r-card + .r-card { margin-top: 14px; }
.r-k { font-size: 11px; font-weight: 600; letter-spacing: .26em; color: rgba(255, 255, 255, .5); }
.qr { margin-top: 14px; width: 100%; aspect-ratio: 1; border-radius: 14px; background: #fff; padding: 12px; }
.qr svg { width: 100%; height: 100%; display: block; }
.r-url { margin-top: 10px; font-size: 12.5px; color: var(--dim); word-break: break-all; }
.film { margin-top: 12px; display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.film .th { position: relative; width: 58px; height: 86px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: #111; }
.film .th img { width: 100%; height: 100%; object-fit: cover; }
.film .th::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .6)); }
.film b { display: block; font-size: 15px; font-weight: 500; } .film span { font-size: 12.5px; color: var(--dim); }
.r-links { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.r-links button { padding: 8px 13px; border-radius: 99px; font-size: 13px; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .8); }
.r-links button:hover { background: rgba(255, 255, 255, .12); }
.r-tip { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, .45); }
@media (max-width: 1180px) { .panel.r { display: none; } .panel.l { width: min(340px, calc(100vw - 421px * var(--fs, 1) - 120px)); } }
@media (max-width: 900px) { .panel.l { display: none; } }

/* video modal */
#film { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(3, 2, 6, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
#film.on { display: grid; animation: fadeIn .3s ease; }
#film video { height: min(88vh, 1280px); max-width: 94vw; aspect-ratio: 9 / 16; border-radius: 22px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
#film .x { position: absolute; top: max(18px, env(safe-area-inset-top)); right: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; }
@keyframes fadeIn { from { opacity: 0 } }

/* rotate hint for phones held sideways */
#rot { display: none; }
@media (orientation: landscape) and (max-height: 500px) { html:not(.desk) #rot { display: grid; position: fixed; inset: 0; z-index: 300; place-items: center; background: #0b0a10; text-align: center; font-size: 16px; color: var(--dim); } }

/* ------------------------------------------------------------------ app primitives */
.scr { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.abs { position: absolute; }
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb { display: none; position: absolute; top: 0; left: 0; right: 0; height: 50px; padding: 18px 30px 0 34px; justify-content: space-between; font-size: 16px; font-weight: 600; z-index: 60; pointer-events: none; }
.desk .sb { display: flex; }
.sb .ic { display: flex; gap: 6px; align-items: center; margin-top: -2px; }
.cap { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 99px;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em; transition: transform .18s var(--ease), background .25s, color .25s, box-shadow .25s; }
.btn:active { transform: scale(.965); }
.btn.lime { background: var(--lime); color: #0b0a10; box-shadow: 0 10px 30px rgba(224, 255, 0, .22); }
.btn.ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.btn.wide { width: 100%; }
.pulse-ring { animation: pring 1.8s var(--ease) infinite; }
@keyframes pring { 0% { box-shadow: 0 0 0 0 rgba(224, 255, 0, .55), 0 10px 30px rgba(224, 255, 0, .22) } 70%, 100% { box-shadow: 0 0 0 16px rgba(224, 255, 0, 0), 0 10px 30px rgba(224, 255, 0, .22) } }
.xbtn { position: absolute; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; z-index: 30; }
.xbtn:active { background: rgba(255, 255, 255, .1); }

/* touch feedback, like the film's: a soft dot that presses in, then a ring */
.touch { position: absolute; width: 0; height: 0; pointer-events: none; z-index: 150; }
.touch::before, .touch::after { content: ''; position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; }
.touch::before { background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15) 60%, transparent 70%); animation: tdot .45s ease-out forwards; }
.touch::after { border: 2px solid rgba(255, 255, 255, .7); animation: tring .55s var(--ease) forwards; }
@keyframes tdot { from { transform: scale(.6); opacity: 1 } to { transform: scale(.9); opacity: 0 } }
@keyframes tring { from { transform: scale(.4); opacity: .9 } to { transform: scale(1.9); opacity: 0 } }
html:not(.desk) .touch::before { opacity: .5; }

/* toast */
.toast { position: absolute; left: 16px; right: 16px; top: calc(var(--top) + 8px); z-index: 120; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
  background: rgba(28, 24, 38, .92); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 14px; font-weight: 500; animation: toastIn .45s var(--spring) both; }
.toast.out { animation: toastOut .35s ease forwards; }
.toast .ti { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--lime); flex: 0 0 auto; }
.toast small { display: block; font-size: 12px; color: var(--dim); font-weight: 400; }
@keyframes toastIn { from { transform: translateY(-120%); opacity: 0 } }
@keyframes toastOut { to { transform: translateY(-120%); opacity: 0 } }

/* coach mark */
.coach { position: absolute; z-index: 110; padding: 8px 12px; border-radius: 12px; background: #fff; color: #0b0a10; font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: coachIn .4s var(--spring) both, bob 1.6s ease-in-out .4s infinite; pointer-events: none; }
.coach::after { content: ''; position: absolute; left: var(--ax, 50%); margin-left: -6px; border: 6px solid transparent; }
.coach.up::after { top: 100%; border-top-color: #fff; }
.coach.down::after { bottom: 100%; border-bottom-color: #fff; }
@keyframes coachIn { from { opacity: 0; transform: translateY(6px) scale(.9) } }
@keyframes bob { 50% { transform: translateY(-4px) } }

/* ------------------------------------------------------------------ splash */
.splash { background: radial-gradient(ellipse 80% 50% at 50% 42%, rgba(123, 44, 255, .28), transparent 70%), #050308; display: flex; flex-direction: column; align-items: center; }
.sp-mid { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.sp-icon { width: 104px; height: 104px; filter: drop-shadow(0 0 30px rgba(224, 255, 0, .25)); animation: spIn 1s var(--expo) both; }
.sp-word { height: 26px; animation: fadeUp .8s .25s var(--expo) both; }
.sp-bot { width: 100%; padding: 0 24px calc(var(--bot) + 28px); text-align: center; animation: fadeUp .8s .45s var(--expo) both; }
.sp-eye { font-size: 12px; font-weight: 600; letter-spacing: .34em; color: var(--lime); }
.sp-h { margin: 12px 0 8px; font-size: 32px; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.sp-s { font-size: 14.5px; color: var(--dim); line-height: 1.5; margin-bottom: 26px; }
.sp-hint { margin-top: 14px; font-size: 12.5px; color: var(--faint); display: flex; gap: 8px; justify-content: center; align-items: center; }
@keyframes spIn { from { opacity: 0; transform: scale(.7) rotate(-30deg) } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px) } }

/* ------------------------------------------------------------------ home */
.home { display: flex; flex-direction: column; }
.h-top { flex: 0 0 auto; padding: calc(var(--top) + 8px) 20px 0; }
.h-row1 { display: flex; align-items: center; justify-content: space-between; }
.h-logo { display: flex; align-items: center; gap: 8px; } .h-logo img:first-child { height: 26px; } .h-logo img:last-child { height: 14px; }
.h-r { display: flex; align-items: center; gap: 16px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #7b2cff, #ff3df2); display: grid; place-items: center; font-size: 14px; font-weight: 600; flex: 0 0 auto; }
.h-chips { display: flex; gap: 8px; margin-top: 16px; }
.h-chips span { padding: 7px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 500; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }
.h-chips span.on { background: #fff; color: #0b0a10; }
.h-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding-bottom: calc(var(--bot) + 150px); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.h-scroll::-webkit-scrollbar, .hscroll::-webkit-scrollbar { display: none; }
.hero { position: relative; display: block; width: calc(100% - 36px); margin: 16px 18px 0; height: clamp(280px, 44cqh, 340px); border-radius: 24px; overflow: hidden; text-align: left;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 20px 50px rgba(123, 44, 255, .28); transition: transform .2s var(--ease); }
.hero:active { transform: scale(.985); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 44% 42%; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(rgba(11, 6, 20, 0) 35%, rgba(11, 6, 20, .94)); }
.hero .sweep { position: absolute; top: -10%; bottom: -10%; left: -30%; width: 22%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); transform: skewX(-14deg); animation: sweep 4.5s 1.2s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes sweep { 0% { left: -30% } 35%, 100% { left: 130% } }
.hero .txt { position: absolute; left: 20px; right: 18px; bottom: 18px; }
.tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .24em; color: var(--lime); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.hero h2 { margin-top: 8px; font-size: 33px; font-weight: 600; line-height: 1.02; letter-spacing: -.025em; }
.hero .cta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 99px; background: var(--lime); color: #0b0a10; font-size: 14px; font-weight: 600; }
.hero .meta { font-size: 12px; color: var(--dim); }
.h-sec { display: flex; justify-content: space-between; align-items: baseline; padding: 24px 20px 12px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.h-sec small { font-size: 13px; color: var(--faint); font-weight: 400; }
.hscroll { display: flex; gap: 12px; padding: 0 20px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.tile { flex: 0 0 128px; scroll-snap-align: start; }
.tile img { width: 128px; height: 128px; border-radius: 14px; object-fit: cover; background: #1a1622; }
.tile b { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.tile span { display: block; font-size: 12px; color: var(--faint); }
.mini { position: absolute; left: 10px; right: 10px; bottom: calc(var(--bot) + 64px); height: 58px; border-radius: 16px; padding: 0 14px 0 9px; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(90deg, #3b1d78, #2a1658); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); overflow: hidden; z-index: 5; }
.mini img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.mini .t { flex: 1; min-width: 0; } .mini b { display: block; font-size: 14px; font-weight: 600; } .mini span { font-size: 12px; color: var(--dim); }
.mini .pb { position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; background: rgba(255, 255, 255, .15); }
.mini .pb i { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; background: #fff; }
.nav { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 22px calc(var(--bot) - 4px); display: flex; justify-content: space-between; z-index: 4;
  background: linear-gradient(rgba(11, 10, 16, .75), #0b0a10 45%); }
.nav span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10.5px; color: rgba(255, 255, 255, .5); }
.nav span.on { color: #fff; }

/* ------------------------------------------------------------------ your usual (the loop) */
.usual { background: radial-gradient(ellipse 90% 60% at 50% 38%, #2a1458 0%, #140a2a 55%, #0a0614 100%); }
.u-top { position: absolute; top: calc(var(--top) + 10px); left: 22px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 5; }
.u-orbit { position: absolute; left: 0; right: 0; top: calc(var(--top) + 40px); height: 44cqh; perspective: 900px; }
.u-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(164, 91, 255, .35); transform: translate(-50%, -50%); box-shadow: 0 0 30px rgba(123, 44, 255, .25) inset; }
.u-cov { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 14px; overflow: hidden; will-change: transform, opacity;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .5); filter: saturate(.45) brightness(.85); }
.u-cov img { width: 100%; height: 100%; object-fit: cover; }
.u-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 3; }
.u-core b { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: .3em; color: #fff; }
.u-core span { font-size: 13px; color: var(--dim); }
.u-txt { position: absolute; left: 24px; right: 24px; top: calc(var(--top) + 40px + 44cqh + 10px); height: 140px; }
.u-line { position: absolute; left: 0; top: 18px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; opacity: 0; transition: opacity .35s, transform .5s var(--expo), filter .5s; transform: translateY(14px); filter: blur(6px); }
.u-line.on { opacity: 1; transform: none; filter: none; }
.u-line.gone { opacity: 0; transform: translateY(-10px); filter: blur(4px); }
.u-stat { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .4s; }
.u-stat.on { opacity: 1; }
.u-stat .n { font-size: 88px; font-weight: 600; letter-spacing: -.05em; line-height: .95; }
.u-stat .n sup { font-size: 34px; vertical-align: top; position: relative; top: 12px; margin-left: 4px; color: #c9a8ff; }
.u-stat p { margin-top: 8px; font-size: 16px; color: rgba(255, 255, 255, .78); line-height: 1.35; }
.u-go { position: absolute; left: 24px; right: 24px; bottom: calc(var(--bot) + 86px); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--expo); pointer-events: none; }
.u-go.on { opacity: 1; transform: none; pointer-events: auto; }
.u-mini { background: rgba(28, 16, 54, .75); border: 1px solid rgba(255, 255, 255, .1); bottom: var(--bot); }
.u-mini .plays { font-size: 12px; color: var(--dim); text-align: right; line-height: 1.25; }
.u-mini .plays b { font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ intro */
.intro { background: #05030a; }
.intro .cover { object-position: 45% 45%; transform-origin: 45% 47%; animation: slowzoom 14s linear both; }
@keyframes slowzoom { from { transform: scale(1.06) } to { transform: scale(1.16) } }
.intro .shade { position: absolute; inset: 0; background: linear-gradient(rgba(5, 3, 10, .55), rgba(5, 3, 10, 0) 26%, rgba(5, 3, 10, 0) 45%, rgba(5, 3, 10, .92) 75%); }
.i-tag { position: absolute; top: calc(var(--top) + 30px); left: 0; right: 0; text-align: center; font-size: 12.5px; font-weight: 600; letter-spacing: .42em; padding-left: .42em; color: var(--lime); }
.i-txt { position: absolute; left: 26px; right: 26px; bottom: calc(var(--bot) + 110px); }
.i-txt h1 { font-size: 38px; font-weight: 600; letter-spacing: -.03em; line-height: 1.04; }
.i-txt p { margin-top: 14px; font-size: 15.5px; color: var(--dim); }
.i-btn { position: absolute; left: 22px; right: 22px; bottom: calc(var(--bot) + 30px); height: 60px; }
.intro .x { top: calc(var(--top) + 18px); right: 14px; }

/* ------------------------------------------------------------------ inside the bubble */
.bubble { background: radial-gradient(ellipse 70% 60% at 50% 55%, #1a0b38 0%, #0c0620 60%, #05020c 100%); }
.b-rim { position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), #7b2cff, #00cee5, #ff3df2, #ffa53d, #7b2cff);
  -webkit-mask: radial-gradient(ellipse 62% 54% at 50% 50%, transparent 72%, #000 100%); mask: radial-gradient(ellipse 62% 54% at 50% 50%, transparent 72%, #000 100%);
  opacity: .55; filter: blur(14px); animation: rimspin 9s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes rimspin { to { --a: 360deg } }
.b-fig { position: absolute; left: 50%; bottom: 8%; width: 70%; transform: translateX(-50%); opacity: .25; filter: blur(3px); pointer-events: none; }
.b-lines { position: absolute; left: 26px; right: 20px; top: calc(var(--top) + 70px); }
.b-line { display: flex; align-items: baseline; gap: 12px; font-size: 30px; font-weight: 600; letter-spacing: -.02em; line-height: 1.32; opacity: 0; transform: translateY(18px); filter: blur(8px);
  transition: opacity .35s, transform .55s var(--expo), filter .45s; }
.b-line i { font-style: normal; font-size: 15px; font-weight: 600; letter-spacing: .1em; width: 24px; }
.b-line.on { opacity: 1; transform: none; filter: none; }
.b-line.big { margin-top: 12px; font-size: 40px; color: var(--lime); text-shadow: 0 0 30px rgba(224, 255, 0, .35); }
.b-cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.b-cracks path { fill: none; stroke: #fff; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(200, 180, 255, .9)); }
.b-hint { position: absolute; left: 0; right: 0; bottom: calc(var(--bot) + 40px); text-align: center; opacity: 0; transition: opacity .5s; }
.b-hint.on { opacity: 1; }
.b-hint .tap { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); position: relative; animation: tapb 1.4s ease-in-out infinite; }
.b-hint .tap::after { content: ''; position: absolute; inset: 22px; border-radius: 50%; background: rgba(255, 255, 255, .85); }
@keyframes tapb { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, .4) } 50% { transform: scale(.9); box-shadow: 0 0 0 18px rgba(255, 255, 255, 0) } }
.b-hint b { font-size: 16px; font-weight: 600; } .b-hint p { margin-top: 6px; font-size: 13px; color: var(--dim); }
.b-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.b-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); transition: background .2s, transform .3s var(--spring); }
.b-dots i.on { background: #fff; transform: scale(1.25); }
.shake { animation: shake .32s linear; }
@keyframes shake { 20% { transform: translate(-5px, 2px) } 40% { transform: translate(4px, -3px) } 60% { transform: translate(-3px, -1px) } 80% { transform: translate(2px, 2px) } }

/* full-screen effects layer */
.fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }
.flash { position: absolute; inset: 0; background: #fff; pointer-events: none; z-index: 101; animation: flash .5s ease-out forwards; }
@keyframes flash { from { opacity: 1 } to { opacity: 0 } }

/* ------------------------------------------------------------------ aurora + hub */
.aurora { position: absolute; inset: -20%; overflow: hidden; filter: saturate(1.1); }
.aurora i { position: absolute; width: 70%; height: 55%; border-radius: 50%; opacity: .55; mix-blend-mode: screen; animation: drift 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: -5%; top: 5%; background: radial-gradient(closest-side, rgba(255, 165, 61, .75), transparent); }
.aurora i:nth-child(2) { right: -10%; top: 25%; background: radial-gradient(closest-side, rgba(0, 206, 229, .65), transparent); animation-duration: 19s; animation-delay: -6s; }
.aurora i:nth-child(3) { left: 10%; bottom: 0; background: radial-gradient(closest-side, rgba(255, 61, 242, .6), transparent); animation-duration: 22s; animation-delay: -11s; }
.aurora i:nth-child(4) { right: 0; bottom: 20%; background: radial-gradient(closest-side, rgba(123, 44, 255, .75), transparent); animation-duration: 18s; animation-delay: -3s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1) } 50% { transform: translate(12%, -8%) scale(1.15) } 100% { transform: translate(-10%, 10%) scale(.95) } }
.hub .aurora { opacity: .42; }
.hub .veil { position: absolute; inset: 0; background: linear-gradient(rgba(11, 10, 16, .35), rgba(11, 10, 16, .55) 40%, rgba(11, 10, 16, .82)); }
.hub-in { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; padding: calc(var(--top) + 14px) 16px calc(var(--bot) + 24px); }
.hub-in::-webkit-scrollbar { display: none; }
.hub-h { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 6px 18px; }
.hub-h h1 { font-size: 30px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.hub-h p { margin-top: 4px; font-size: 14px; color: var(--dim); }
.mcard { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; height: 92px; padding: 0 16px; border-radius: 20px; text-align: left;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .2s var(--ease), border-color .4s, box-shadow .4s, background .4s; }
.mcard + .mcard { margin-top: 12px; }
.mcard:active { transform: scale(.98); }
.mcard .tile { flex: 0 0 60px; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, color-mix(in srgb, var(--c) 92%, #fff), color-mix(in srgb, var(--c) 70%, #000)); box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 35%, transparent); }
.mcard .t { flex: 1; min-width: 0; }
.mcard .k { font-size: 10px; font-weight: 600; letter-spacing: .26em; color: var(--c); }
.mcard b { display: block; margin-top: 3px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.mcard span { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .pr { flex: 0 0 34px; width: 34px; height: 34px; position: relative; display: grid; place-items: center; font-size: 9.5px; font-weight: 600; color: var(--c); }
.mcard .pr svg:first-child { position: absolute; inset: 0; }
.mcard .pr svg + svg { position: relative; }
.mcard.done { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 22%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--c) 20%, transparent); background: color-mix(in srgb, var(--c) 9%, rgba(255, 255, 255, .04)); }
.mcard.next { animation: nextp 2.2s ease-in-out infinite; }
@keyframes nextp { 50% { border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 0 24px color-mix(in srgb, var(--c) 25%, transparent) } }
.mcard .go { position: absolute; right: 60px; top: 50%; margin-top: -11px; font-size: 11px; font-weight: 600; letter-spacing: .1em; padding: 4px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c); }
.reward { position: relative; margin-top: 12px; height: 128px; padding: 18px; border-radius: 20px; background: linear-gradient(120deg, rgba(224, 255, 0, .06), rgba(255, 255, 255, .04)); border: 1px solid var(--line); display: flex; align-items: center; }
.reward .t { flex: 1; }
.reward .k { font-size: 10px; font-weight: 600; letter-spacing: .26em; color: var(--lime); }
.reward b { display: block; margin-top: 5px; font-size: 19px; font-weight: 600; }
.reward span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--faint); }
.reward .prog { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--faint); }
.reward .prog i { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .14); transition: background .4s; }
.friends { display: flex; align-items: center; gap: 10px; margin: 18px 4px 0; font-size: 12.5px; color: var(--faint); }
.friends .fa { display: flex; } .friends .fa span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #15121d; margin-left: -7px; display: grid; place-items: center; font-size: 10px; font-weight: 600; color: #0b0a10; }
.friends .fa span:first-child { margin-left: 0; }
.friends .ends { margin-left: auto; display: flex; align-items: center; gap: 5px; }
.slam { animation: slam .6s var(--spring) both; }
@keyframes slam { from { opacity: 0; transform: translateY(40px) scale(.97) } }

/* ------------------------------------------------------------------ the quest chrome */
.qc { position: absolute; inset: 0; pointer-events: none; z-index: 40; }
.qc > * { pointer-events: auto; }
.qc-tag { position: absolute; top: calc(var(--top) + 8px); left: 20px; font-size: 11px; font-weight: 500; letter-spacing: .28em; color: rgba(255, 255, 255, .72); pointer-events: none; }
.qc .xbtn { top: calc(var(--top) - 2px); right: 9px; }
.qc-step { position: absolute; top: calc(var(--top) + 30px); left: 20px; right: 20px; display: flex; gap: 6px; pointer-events: none; }
.qc-step i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .24); position: relative; overflow: hidden; }
.qc-step i b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--c); border-radius: 2px; transition: width .25s linear; }
.qc-step i.full { overflow: visible; } .qc-step i.full b { width: 100%; box-shadow: 0 0 8px var(--c); }
.qc-chip { position: absolute; left: 14px; bottom: var(--bot); height: 52px; padding: 0 14px 0 8px; border-radius: 14px; display: flex; align-items: center; gap: 10px; max-width: 62%;
  background: rgba(16, 10, 28, .62); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.qc-chip img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.qc-chip .t { min-width: 0; } .qc-chip b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qc-chip span { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; }
.eq { display: flex; gap: 3px; height: 14px; align-items: flex-end; flex: 0 0 auto; }
.eq i { width: 3px; height: 14px; border-radius: 2px; background: var(--c, var(--lime)); transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; } .eq i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.5s; }
.eq.paused i { animation-play-state: paused; }
@keyframes eq { 0%, 100% { transform: scaleY(.3) } 50% { transform: scaleY(1) } }
.qc-count { position: absolute; right: 20px; bottom: calc(var(--bot) + 14px); display: flex; align-items: baseline; gap: 8px; pointer-events: none; }
.qc-count span { font-size: 10px; letter-spacing: .24em; color: rgba(255, 255, 255, .5); }
.qc-count b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; }
.qc-count b.roll { animation: roll .35s var(--expo); }
@keyframes roll { from { transform: translateY(60%); opacity: 0 } }

/* ------------------------------------------------------------------ worlds */
.world .cover { animation: push 9s linear both; will-change: transform; }
@keyframes push { from { transform: scale(1.04) } to { transform: scale(1.14) } }
.world .shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(8, 5, 4, .9) 82%); }
.w-txt { position: absolute; left: 24px; right: 24px; bottom: calc(var(--bot) + 96px); }
.w-txt .k { font-size: 11px; font-weight: 600; letter-spacing: .28em; color: var(--c); }
.w-big { margin-top: 10px; font-size: 58px; font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.w-big span { display: inline-block; opacity: 0; transform: translateY(40px); filter: blur(6px); animation: letter .6s var(--expo) forwards; }
@keyframes letter { to { opacity: 1; transform: none; filter: none } }
.w-l { margin-top: 12px; font-size: 20px; font-weight: 500; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--expo); }
.w-l.on { opacity: 1; transform: none; }
.w-skip { position: absolute; left: 0; right: 0; bottom: calc(var(--bot) + 70px); text-align: center; font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .45); }
.w-bar { position: absolute; left: 24px; right: 24px; bottom: calc(var(--bot) + 82px); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.w-bar i { position: absolute; inset: 0; background: var(--c); transform-origin: left; transform: scaleX(0); }
.w1 .w-big { text-shadow: 0 0 30px rgba(255, 165, 61, .55); }
.w1 .shade { background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(20, 8, 0, .92) 82%); }
.w2 .shade { background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(2, 16, 22, .93) 80%); }
.w2 .w-big { font-size: 44px; letter-spacing: -.02em; }
.w2 .ar { font-size: 25px; margin-top: 14px; text-align: right; color: rgba(255, 255, 255, .92); }
.w3 .w-big { color: #fff; text-shadow: -2px 0 0 rgba(0, 230, 255, .7), 2px 0 0 rgba(255, 61, 242, .8), 0 0 24px rgba(255, 61, 242, .8), 0 0 60px rgba(255, 61, 242, .45); }
.w3 .shade { background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(18, 2, 20, .92) 82%); }
.neon { position: absolute; height: 2px; border-radius: 2px; pointer-events: none; mix-blend-mode: screen; opacity: 0; }
.mote { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 8px 2px rgba(255, 200, 110, .7); animation: mote 7s ease-in-out infinite; opacity: 0; }
@keyframes mote { 0% { opacity: 0; transform: translate(0, 0) } 20% { opacity: .9 } 80% { opacity: .7 } 100% { opacity: 0; transform: translate(30px, -90px) } }

/* ------------------------------------------------------------------ player */
.player { display: flex; flex-direction: column; }
.pl-bg { position: absolute; left: 0; right: 0; top: 0; height: 62%; overflow: hidden; }
.pl-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.2); }
.pl-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(11, 10, 16, 0) 30%, var(--bg)); }
.pl-in { position: relative; flex: 1; display: flex; flex-direction: column; padding: calc(var(--top) + 52px) 22px calc(var(--bot) + 66px); }
.pl-art { position: relative; align-self: center; width: var(--cs); height: var(--cs); margin-top: 3cqh; --cs: min(246px, 30cqh); }
.pl-art img { width: 100%; height: 100%; border-radius: 18px; object-fit: cover; box-shadow: 0 20px 60px color-mix(in srgb, var(--c) 40%, transparent); }
.pl-art svg { position: absolute; left: -9px; top: -9px; width: calc(100% + 18px); height: calc(100% + 18px); overflow: visible; }
.pl-art .live { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: #0b0a10; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent);
  font-size: 9.5px; font-weight: 600; letter-spacing: .22em; color: var(--c); white-space: nowrap; }
.pl-art .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3 } }
.pl-title { display: flex; align-items: center; justify-content: space-between; margin-top: 5.5cqh; }
.pl-title h2 { font-size: 25px; font-weight: 600; letter-spacing: -.02em; }
.pl-title p { margin-top: 3px; font-size: 14.5px; color: var(--dim); }
.pp { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: 0 0 auto; transition: transform .15s; }
.pp:active { transform: scale(.92); }
.pl-viz { margin-top: 2.6cqh; height: 44px; display: flex; align-items: center; gap: 3px; }
.pl-viz i { flex: 1; height: 100%; border-radius: 2px; background: var(--c); transform: scaleY(.15); transform-origin: center; opacity: .9; }
.pl-time { margin-top: 1.8cqh; }
.pl-time .tr { position: relative; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.pl-time .tr i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: #fff; width: 0; }
.pl-time .tr b { position: absolute; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; left: 0; }
.pl-time .tt { display: flex; justify-content: space-between; margin-top: 7px; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.pl-dna { margin-top: 1.6cqh; min-height: 52px; }
.pl-dna .k { font-size: 10px; font-weight: 500; letter-spacing: .26em; color: var(--faint); }
.pl-dna .chips { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pl-dna .chips span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 12.5px; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 10%, transparent); animation: chipIn .45s var(--spring) both; }
.pl-dna .chips span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--c); }
@keyframes chipIn { from { opacity: 0; transform: scale(.6) } }
.pl-note { margin-top: 1.4cqh; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 61, 242, .08); border: 1px solid rgba(255, 61, 242, .22); font-size: 12.5px; color: rgba(255, 255, 255, .82); line-height: 1.35; }
.pl-add { margin-top: auto; }
.pl-add .btn { width: 100%; height: 54px; }
.pl-add .btn.added { background: rgba(224, 255, 0, .1); color: var(--lime); box-shadow: inset 0 0 0 1.5px rgba(224, 255, 0, .55); }
.pl-hint { margin-top: 10px; text-align: center; font-size: 12px; color: var(--faint); min-height: 16px; font-variant-numeric: tabular-nums; }
.heart-pop { position: absolute; left: 50%; top: 50%; pointer-events: none; animation: heartPop .8s var(--spring) forwards; }
@keyframes heartPop { 0% { transform: translate(-50%, -50%) scale(.2); opacity: 1 } 60% { transform: translate(-50%, -130%) scale(1.15); opacity: 1 } 100% { transform: translate(-50%, -190%) scale(1); opacity: 0 } }

/* ------------------------------------------------------------------ artist page */
.artist .a-head { position: absolute; left: 0; right: 0; top: 0; height: 56%; }
.artist .a-head img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.artist .a-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(11, 10, 16, .45), rgba(11, 10, 16, 0) 22%, rgba(11, 10, 16, 0) 50%, var(--bg)); }
.a-in { position: absolute; left: 0; right: 0; bottom: 0; top: 34%; padding: 0 22px calc(var(--bot) + 70px); display: flex; flex-direction: column; justify-content: flex-end; }
.a-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: rgba(0, 0, 0, .45); border: 1px solid rgba(0, 206, 229, .45); font-size: 9.5px; font-weight: 600; letter-spacing: .22em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.a-chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.a-name { margin-top: 10px; font-size: 54px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.a-sub { margin-top: 6px; font-size: 13.5px; color: var(--dim); }
.a-row { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.follow { height: 36px; padding: 0 18px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .7); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, border-color .3s, transform .15s; position: relative; }
.follow:active { transform: scale(.95); }
.follow.on { background: #dffbff; color: #052a30; border-color: #dffbff; box-shadow: 0 0 24px rgba(0, 206, 229, .45); }
.a-row .sp { flex: 1; }
.a-row .pp { width: 54px; height: 54px; background: var(--lime); }
.a-pop { margin-top: 20px; font-size: 18px; font-weight: 600; }
.trk { display: flex; align-items: center; gap: 12px; padding: 8px 0; width: 100%; text-align: left; }
.trk .n { width: 14px; font-size: 13px; color: var(--faint); text-align: center; }
.trk img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.trk .t { flex: 1; } .trk b { display: block; font-size: 15px; font-weight: 500; } .trk span { font-size: 12px; color: var(--faint); }
.trk.on b { color: var(--cyan); }
.trk .d { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.burst i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; animation: burst .7s var(--expo) forwards; }
@keyframes burst { to { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0 } }

/* ------------------------------------------------------------------ challenge complete */
.done-ov { position: absolute; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--c) 30%, transparent), rgba(6, 5, 10, .86) 62%); backdrop-filter: blur(8px) brightness(.45); -webkit-backdrop-filter: blur(8px) brightness(.45); animation: fadeIn .35s ease both; }
.done-ov.out { animation: fadeOut .45s ease forwards; }
@keyframes fadeOut { to { opacity: 0 } }
.ring200 { position: relative; width: 200px; height: 200px; animation: stamp .4s var(--spring) both; }
@keyframes stamp { from { transform: scale(1.3) } }
.ring200 svg { position: absolute; inset: 0; overflow: visible; }
.ring200 circle.p { stroke-dasharray: 609.5; stroke-dashoffset: 609.5; animation: draw .8s var(--expo) forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.ring200 .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.done-ov .k { margin-top: 30px; font-size: 12px; font-weight: 600; letter-spacing: .32em; padding-left: .32em; color: var(--c); }
.done-ov .r { margin-top: 10px; font-size: 20px; font-weight: 500; }
.done-ov .r i { font-style: normal; color: var(--dim); }
.done-ov .cont { position: absolute; bottom: calc(var(--bot) + 30px); font-size: 12.5px; color: var(--faint); letter-spacing: .04em; }

/* ------------------------------------------------------------------ culture picker */
.picker { background: radial-gradient(ellipse 90% 40% at 50% 100%, rgba(255, 61, 242, .3), transparent 70%), var(--bg); }
.pk-h { position: absolute; top: calc(var(--top) + 52px); left: 22px; right: 22px; }
.pk-h .k { font-size: 11px; font-weight: 600; letter-spacing: .28em; color: var(--magenta); }
.pk-h h1 { margin-top: 8px; font-size: 32px; font-weight: 600; letter-spacing: -.025em; }
.flow { position: absolute; left: 0; right: 0; top: calc(var(--top) + 140px); height: var(--ch); --cw: min(260px, 66cqw, 36cqh); --ch: calc(var(--cw) * 1.36); perspective: 1000px; touch-action: pan-y; cursor: grab; }
.flow:active { cursor: grabbing; }
.ccard { position: absolute; left: 50%; top: 0; width: var(--cw); height: var(--ch); margin-left: calc(var(--cw) / -2); border-radius: 22px; overflow: hidden; will-change: transform, opacity; background: #1a1622;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .55); }
.ccard img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ccard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .85)); }
.ccard .t { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; }
.ccard b { display: block; font-size: 23px; font-weight: 600; letter-spacing: -.01em; } .ccard span { font-size: 14px; color: rgba(255, 255, 255, .75); }
.ccard.lock { box-shadow: 0 0 0 2px var(--magenta), 0 0 50px rgba(255, 61, 242, .6), 0 24px 50px rgba(0, 0, 0, .55); }
.ccard .new { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 9px; border-radius: 99px; background: rgba(0, 0, 0, .5); font-size: 9.5px; font-weight: 600; letter-spacing: .2em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pk-dots { position: absolute; left: 0; right: 0; top: calc(var(--top) + 140px + var(--ch) + 22px); display: flex; gap: 6px; justify-content: center; --cw: min(260px, 66cqw, 36cqh); --ch: calc(var(--cw) * 1.36); }
.pk-dots i { width: 5px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: width .3s var(--ease), background .3s; }
.pk-dots i.on { width: 18px; background: var(--magenta); }
.pk-sub { position: absolute; left: 22px; right: 22px; bottom: calc(var(--bot) + 92px); text-align: center; font-size: 13px; color: var(--faint); transition: opacity .3s; }
.pk-sub b { display: block; font-size: 20px; color: #fff; font-weight: 600; margin-bottom: 3px; }
.pk-btn { position: absolute; left: 22px; right: 22px; bottom: calc(var(--bot) + 22px); }
.pk-btn .btn { width: 100%; }

/* ------------------------------------------------------------------ rings gather + badge */
.gather { background: radial-gradient(circle at 50% 46%, rgba(255, 61, 242, .2), transparent 60%), #08060d; }
.gather .holo-glow, .badge .holo-glow { position: absolute; inset: 0; background: conic-gradient(from 0deg at 50% 44%, rgba(255, 165, 61, .18), rgba(0, 206, 229, .18), rgba(255, 61, 242, .18), rgba(224, 255, 0, .14), rgba(255, 165, 61, .18));
  filter: blur(40px); opacity: 0; transition: opacity 1.4s; }
.gather .holo-glow.on, .badge .holo-glow.on { opacity: 1; }
.g-ring { position: absolute; left: 50%; top: 44%; border-radius: 50%; border-style: solid; transform: translate(-50%, -50%); }
.g-txt { position: absolute; left: 0; right: 0; top: calc(44% + 150px); text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--expo); }
.g-txt.on { opacity: 1; transform: none; }
.g-txt .k { font-size: 13px; letter-spacing: .3em; padding-left: .3em; color: var(--dim); }
.g-txt b { display: block; margin-top: 8px; font-size: 22px; font-weight: 600; }
.badge { background: radial-gradient(ellipse 80% 55% at 50% 30%, rgba(224, 255, 0, .1), transparent 70%), #08060d; }
.badge .bin { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; padding: calc(var(--top) + 30px) 22px calc(var(--bot) + 24px); display: flex; flex-direction: column; align-items: center; }
.badge .bin::-webkit-scrollbar { display: none; }
.rays { position: absolute; left: 50%; top: calc(var(--top) + 30px + var(--md) / 2); width: 700px; height: 700px; margin: -350px 0 0 -350px; pointer-events: none; --md: min(250px, 30cqh);
  background: repeating-conic-gradient(from 0deg, rgba(224, 255, 0, .09) 0deg 5deg, transparent 5deg 18deg); -webkit-mask: radial-gradient(circle, #000 10%, transparent 62%); mask: radial-gradient(circle, #000 10%, transparent 62%);
  animation: spin 40s linear infinite; opacity: 0; transition: opacity 1s; }
.rays.on { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg) } }
.medal-wrap { perspective: 900px; width: var(--md); height: var(--md); flex: 0 0 auto; --md: min(250px, 30cqh); position: relative; }
.medal { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.medal .disc { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #0d0b14; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px rgba(0, 0, 0, .6), 0 0 80px rgba(224, 255, 0, .18); }
.medal .foil { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; mix-blend-mode: screen; transform: scale(1.3); will-change: transform; }
.medal .sheen { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 62%); mix-blend-mode: overlay; background-size: 250% 100%; will-change: background-position; }
.medal svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.b-k { margin-top: 26px; font-size: 12px; font-weight: 600; letter-spacing: .4em; padding-left: .4em; color: var(--lime); }
.b-h { margin-top: 6px; font-size: 46px; font-weight: 600; letter-spacing: -.03em; }
.b-rows { width: 100%; margin-top: 18px; padding: 6px 16px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.b-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 14px; opacity: 0; transform: translateX(-10px); transition: opacity .35s, transform .45s var(--expo); }
.b-row + .b-row { border-top: 1px solid rgba(255, 255, 255, .06); }
.b-row.on { opacity: 1; transform: none; }
.b-row .d { width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.b-row em { font-style: normal; color: var(--faint); }
.b-row .ck { margin-left: auto; }
.b-chip { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: rgba(224, 255, 0, .1); border: 1px solid rgba(224, 255, 0, .35); color: var(--lime); font-size: 13px; font-weight: 500; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .5s var(--spring); }
.b-chip.on { opacity: 1; transform: none; }
.b-cta { width: 100%; margin-top: auto; padding-top: 20px; opacity: 0; transition: opacity .5s; }
.b-cta.on { opacity: 1; }

/* ------------------------------------------------------------------ share */
.share { background: #08060d; }
.sh-card { position: absolute; left: 20px; right: 20px; top: calc(var(--top) + 8px); bottom: calc(var(--bot) + 84px); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: radial-gradient(ellipse 90% 50% at 50% 30%, rgba(123, 44, 255, .35), transparent 70%), radial-gradient(ellipse 70% 40% at 50% 100%, rgba(255, 61, 242, .2), transparent 70%), #110d1c;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .5); animation: cardIn .7s var(--spring) both; }
@keyframes cardIn { from { transform: translateY(40px) scale(.94); opacity: 0 } }
.sh-card .holo-edge { position: absolute; inset: 0; border-radius: 28px; padding: 1.5px; background: conic-gradient(from var(--a, 0deg), #ffa53d, #00cee5, #ff3df2, #e0ff00, #ffa53d);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: rimspin 6s linear infinite; opacity: .8; pointer-events: none; }
.sh-card .medal-wrap { --md: min(170px, 22cqh); }
.sh-card h2 { margin-top: 3cqh; font-size: 31px; font-weight: 600; letter-spacing: -.025em; line-height: 1.08; }
.sh-th { display: flex; gap: 12px; margin-top: 2.6cqh; }
.sh-th img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px var(--c), 0 0 14px var(--c); }
.sh-who { margin-top: 2.4cqh; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); }
.sh-who .av { width: 28px; height: 28px; font-size: 12px; }
.sh-logo { margin-top: 2.2cqh; display: flex; align-items: center; gap: 6px; opacity: .85; } .sh-logo img:first-child { height: 18px; } .sh-logo img:last-child { height: 10px; }
.sh-btn { position: absolute; left: 22px; right: 22px; bottom: calc(var(--bot) + 18px); }
.sh-btn .btn { width: 100%; }
.sheet-bg { position: absolute; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); animation: fadeIn .25s ease both; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 91; padding: 10px 16px calc(var(--bot) + 10px); border-radius: 26px 26px 0 0; background: #1c1a22; box-shadow: 0 -20px 50px rgba(0, 0, 0, .4); animation: sheetIn .45s var(--expo) both; }
.sheet.out, .sheet-bg.out { animation: sheetOut .3s ease forwards; } .sheet-bg.out { animation-name: fadeOut; }
@keyframes sheetIn { from { transform: translateY(100%) } } @keyframes sheetOut { to { transform: translateY(100%) } }
.sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); margin: 0 auto 14px; }
.sheet .hd { display: flex; align-items: center; gap: 12px; padding: 0 4px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.sheet .hd .mini-medal { width: 44px; height: 44px; border-radius: 10px; background: #0d0b14; display: grid; place-items: center; }
.sheet .hd b { display: block; font-size: 15px; font-weight: 600; } .sheet .hd span { font-size: 12.5px; color: var(--faint); }
.apps { display: flex; justify-content: space-between; padding: 18px 2px 8px; }
.apps button { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255, 255, 255, .8); width: 62px; }
.apps button i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 15px; font-weight: 700; transition: transform .15s; }
.apps button:active i { transform: scale(.9); }
.sheet .more { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: 15px; }

/* ------------------------------------------------------------------ end */
.end { background: #050308; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 28px; }
.end .e-ic { width: 92px; height: 92px; animation: spIn 1s var(--expo) both; filter: drop-shadow(0 0 30px rgba(224, 255, 0, .3)); }
.end .e-word { height: 24px; margin-top: 18px; animation: fadeUp .8s .2s var(--expo) both; }
.end h2 { margin-top: 42px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; animation: fadeUp .8s .5s var(--expo) both; }
.end p { margin-top: 10px; font-size: 14.5px; color: var(--dim); line-height: 1.5; animation: fadeUp .8s .65s var(--expo) both; }
.end .acts { position: absolute; left: 22px; right: 22px; bottom: calc(var(--bot) + 20px); display: grid; gap: 10px; animation: fadeUp .8s .9s var(--expo) both; }

/* ------------------------------------------------------------------ smaller phones */
@container (max-height: 700px) {
  .hero h2 { font-size: 29px; }
  .u-line { font-size: 26px; } .u-stat .n { font-size: 70px; } .u-stat p { font-size: 14.5px; }
  .i-txt h1 { font-size: 33px; } .i-txt { bottom: calc(var(--bot) + 100px); }
  .b-line { font-size: 26px; } .b-line.big { font-size: 34px; }
  .w-big { font-size: 50px; } .w2 .w-big { font-size: 38px; }
  .mcard { height: 82px; } .mcard .tile { width: 52px; height: 52px; flex-basis: 52px; } .reward { height: 112px; }
  .pl-title h2 { font-size: 22px; } .pl-viz { height: 34px; } .pl-dna { min-height: 46px; }
  .pl-note { display: none; }
  .a-name { font-size: 46px; } .trk { padding: 5px 0; } .trk img { width: 38px; height: 38px; }
  .pk-h h1 { font-size: 28px; } .pk-h { top: calc(var(--top) + 46px); }
  .b-h { font-size: 38px; } .b-row { padding: 7px 0; font-size: 13.5px; }
  .sh-card h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .aurora i, .hero .sweep, .rays, .b-rim, .sh-card .holo-edge, #device .phone { animation: none !important; } }
