/*fonts:["https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Unbounded:wght@600;700;800&display=swap","https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;800&display=swap","https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@600;700;800&display=swap"]*/
/* Avtomatik yig'ilgan fayl (app/index.php). Tahrirlamang — manba: /css/aurora.css, /css/es-extra.css, /css/galaxy.css, /css/es-battle.css, /css/es-magic.css, /css/fairy.css, /css/es-smooth.css, /css/es-premium.css, /css/es-brand.css, /css/es-rating.css, /css/es-lang.css, /css/es-talk.css */

/* ==== /css/aurora.css ==== */
/* =========================================================
   EasyStudy v6 "Aurora" — zamonaviy, yumshoq va jonli uslub.
   Qalin qora kontur va qattiq soyalar o'rniga: suzuvchi rangli fon (aurora),
   shishasimon kartalar, rangli yumshoq soyalar, gradient tugmalar, mikro-animatsiyalar.
   Barcha oldingi qatlamlar (style, app2, modern, duo, arcade) ustidan yoziladi.
   Qaytarish: layout.php assets() dan aurora.css qatorini olib tashlang.
   ========================================================= */
:root{
  --fh:"Baloo 2","Nunito",system-ui,sans-serif;
  --fb:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;
  --bg:#f5f3ff;--paper:#fff;--soft:#f3f0ff;--line:#ebe7fb;--line-2:#ddd7f5;
  --ink:#1e1b4b;--ink-2:#3f3a72;--muted:#6e6a98;
  --brand:#6d4aff;--brand-2:#a855f7;--brand-ink:#5332e6;--brand-soft:#efeaff;
  --sun:#ffc93c;--pink:#ff5d8f;--mint:#22d3a6;--sky:#38bdf8;
  --edge:rgba(76,48,200,.12);
  --r:24px;
  --au-b:1px solid rgba(109,74,255,.10);
  --au-sh:0 1px 2px rgba(40,20,120,.05),0 10px 28px -12px rgba(76,48,200,.22);
  --au-sh-lg:0 2px 6px rgba(40,20,120,.06),0 24px 48px -16px rgba(76,48,200,.32);
  --au-sh-sm:0 1px 2px rgba(40,20,120,.06),0 4px 12px -4px rgba(76,48,200,.18);
  --au-glass:rgba(255,255,255,.78);
  --st:var(--au-sh);--st-lg:var(--au-sh-lg);--st-sm:var(--au-sh-sm);--bw:1px;
  --ease:cubic-bezier(.22,1,.36,1);
}
.theme-lavender{--bg:#f3effc}.theme-sky{--bg:#eef6fd}.theme-mint{--bg:#ecfbf4}.theme-peach{--bg:#fff4ec}.theme-rose{--bg:#fdf1f4}
.theme-midnight{--edge:rgba(160,165,255,.18);--au-b:1px solid rgba(160,165,255,.16);--au-sh:0 10px 30px -12px rgba(0,0,0,.6);--au-sh-lg:0 24px 50px -16px rgba(0,0,0,.7);--au-sh-sm:0 4px 12px -4px rgba(0,0,0,.5)}
.theme-royal{--edge:rgba(43,16,85,.14)}
.tr-english{--t:#f76b15;--t-ink:#a8410a;--t-soft:#ffeedd}

/* ---------- Asos: suzuvchi aurora fon ---------- */
html{scroll-behavior:smooth}
body{font:600 1rem/1.6 var(--fb);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
body:not(.theme-midnight):not(.theme-royal),body.login{
  background:
    radial-gradient(60rem 40rem at 105% -10%,rgba(168,85,247,.16),transparent 60%),
    radial-gradient(50rem 36rem at -10% 110%,rgba(56,189,248,.14),transparent 60%),
    var(--bg)}
body:not(.theme-midnight):not(.theme-royal)::before,body:not(.theme-midnight):not(.theme-royal)::after,body.login::before,body.login::after{
  content:"";display:block;position:fixed;z-index:0;pointer-events:none;border-radius:50%;filter:blur(70px);opacity:.55;will-change:transform}
body:not(.theme-midnight):not(.theme-royal)::before,body.login::before{width:34rem;height:34rem;top:-8rem;right:8%;background:radial-gradient(circle,#c4b5fd,transparent 70%);animation:auDrift1 26s ease-in-out infinite alternate}
body:not(.theme-midnight):not(.theme-royal)::after,body.login::after{width:30rem;height:30rem;bottom:-10rem;left:22%;background:radial-gradient(circle,#99f6e4,transparent 70%);animation:auDrift2 32s ease-in-out infinite alternate}
@keyframes auDrift1{to{transform:translate(-14rem,10rem) scale(1.15)}}
@keyframes auDrift2{to{transform:translate(16rem,-8rem) scale(1.2)}}
.app,.l-art,.l-form{position:relative;z-index:1}
::selection{background:#ddd2ff;color:var(--ink)}

h1,h2,h3{font-family:var(--fh);font-weight:800;letter-spacing:-.015em;line-height:1.15;color:var(--ink)}
h1{font-size:clamp(1.9rem,3vw,2.5rem)}
.hl,h1 .hl{background:linear-gradient(100deg,var(--ink) 0%,#4c2fd8 55%,#a855f7 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding:0 .02em;text-shadow:none}
.theme-midnight .hl,.theme-midnight h1 .hl{background:linear-gradient(100deg,#fff,#c4b5fd);-webkit-background-clip:text;background-clip:text}
.eyebrow{display:inline-flex;align-items:center;gap:.35rem;background:var(--brand-soft);color:var(--brand-ink);border:0;border-radius:99px;padding:.28rem .8rem;box-shadow:none;font:900 .72rem var(--fb);letter-spacing:.12em;text-transform:uppercase}
a.eyebrow:hover{background:#e3dbff}
:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 55%,transparent);outline-offset:3px}

/* ---------- Kirish animatsiyasi: kontent yumshoq paydo bo'ladi ---------- */
@keyframes auUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  .main>*{animation:auUp .6s var(--ease) both}
  .main>*:nth-child(2){animation-delay:.04s}.main>*:nth-child(3){animation-delay:.08s}.main>*:nth-child(4){animation-delay:.12s}
  .main>*:nth-child(5){animation-delay:.16s}.main>*:nth-child(6){animation-delay:.2s}.main>*:nth-child(n+7){animation-delay:.24s}
  .l-form form{animation:auUp .7s var(--ease) both}
}

/* ---------- Yon panel ---------- */
body:not(.theme-midnight):not(.theme-royal) .side{
  background:
    radial-gradient(28rem 20rem at 0% 0%,rgba(255,255,255,.14),transparent 60%),
    radial-gradient(24rem 24rem at 100% 100%,rgba(236,72,153,.28),transparent 60%),
    linear-gradient(165deg,#3b1fd1 0%,#5b3cf5 48%,#8b46f0 100%);
  color:#e9e4ff;border-right:0;box-shadow:8px 0 40px -18px rgba(59,31,209,.55)}
.side .brand b{color:var(--sun)}
.side .logo{color:var(--pink);filter:drop-shadow(0 4px 10px rgba(255,93,143,.45))}
.brand{font:800 1.75rem var(--fh);letter-spacing:-.02em}
body:not(.theme-midnight):not(.theme-royal) .side nav a{color:rgba(255,255,255,.82);font:800 .9rem var(--fb);border:0;border-radius:16px;transition:background-color .25s var(--ease),color .2s,transform .25s var(--ease)}
.side nav a .i{background:rgba(255,255,255,.95);border:0;border-radius:12px;box-shadow:0 4px 10px -4px rgba(20,8,90,.45);transition:transform .35s var(--ease)}
body:not(.theme-midnight):not(.theme-royal) .side nav a:hover{background:rgba(255,255,255,.12);color:#fff;transform:translateX(3px)}
.side nav a:hover .i{transform:scale(1.08) rotate(-4deg)}
body:not(.theme-midnight):not(.theme-royal) .side nav a[aria-current]{background:#fff;color:var(--ink);box-shadow:0 10px 24px -10px rgba(20,8,90,.6);transform:none}
body:not(.theme-midnight):not(.theme-royal) .side nav a[aria-current] .i{box-shadow:none;background:var(--brand-soft);color:var(--brand)}
body:not(.theme-midnight):not(.theme-royal) .side .sep{background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent)}
body:not(.theme-midnight):not(.theme-royal) .me-chips>span,body:not(.theme-midnight):not(.theme-royal) .me-chips>a{
  background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22);box-shadow:none;border-radius:99px;padding:.25rem .65rem;backdrop-filter:blur(6px)}
body:not(.theme-midnight):not(.theme-royal) .me-chips>a:hover{background:rgba(255,255,255,.24)}
.me-chips .i{filter:drop-shadow(0 0 6px rgba(255,201,60,.55))}
body:not(.theme-midnight):not(.theme-royal) .who{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px)}
.av{border:2px solid #fff;box-shadow:0 4px 12px -4px rgba(30,15,110,.45)}
.nbadge{background:linear-gradient(135deg,#ff5d8f,#ff8a4c)!important;color:#fff!important;border:0!important;box-shadow:0 0 0 3px rgba(255,93,143,.25);animation:auPing 2s ease-in-out infinite}
@keyframes auPing{50%{box-shadow:0 0 0 6px rgba(255,93,143,0)}}

/* ---------- Kartalar: shishasimon, yumshoq soya ---------- */
.card:not(.prompt),.panel,.grid,.lb,.sv-step,.srow,table,.badge,.skcard,fieldset.q,.tcard,.stat{
  background-color:var(--au-glass);border:var(--au-b);border-radius:var(--r);box-shadow:var(--au-sh);backdrop-filter:blur(14px) saturate(1.2);-webkit-backdrop-filter:blur(14px) saturate(1.2)}
.theme-midnight :is(.card:not(.prompt),.panel,.grid,.lb,.sv-step,.srow,table,.badge,.skcard,fieldset.q,.tcard,.stat){background-color:rgba(30,32,70,.72)}
.panel{background:var(--au-glass)}
.prompt{border:var(--au-b);border-left:6px solid var(--t);border-radius:var(--r);box-shadow:var(--au-sh)}
a.card,.tcard,.stat,.mode,a.sec,a.statlink,.skcard{transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .3s}
@media (hover:hover){
  a.card:hover,.tcard:hover,.stat:hover,.mode:hover,a.sec:hover,a.statlink:hover,.tilt:hover,.skcard:hover{
    transform:translateY(-4px);box-shadow:var(--au-sh-lg);border-color:color-mix(in srgb,var(--t,#6d4aff) 30%,transparent);background-color:#fff}
  a.card:active,.tcard:active,a.sec:active,a.statlink:active{transform:translateY(-1px) scale(.99);box-shadow:var(--au-sh)}
}
.si{border:0;box-shadow:0 6px 14px -6px color-mix(in srgb,var(--t,#6d4aff) 60%,transparent);border-radius:14px}
.stats strong{font:800 2.1rem/1.05 var(--fh)}
.chip{border:0;border-radius:99px;font:900 .72rem var(--fb);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 22%,transparent)}
.mode.slim{border:var(--au-b);box-shadow:var(--au-sh)}

/* ---------- Tugmalar: gradient, yaltiroq, bosilganda kichrayadi ---------- */
.btn{position:relative;overflow:hidden;isolation:isolate;font:900 .95rem var(--fb);letter-spacing:.01em;border-radius:16px;border:0;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),filter .2s}
.btn:where(:not(.ghost,.light,.danger)){
  background:linear-gradient(135deg,color-mix(in srgb,var(--t-solid,#6d4aff) 88%,#fff) 0%,var(--t-solid,#6d4aff) 55%,color-mix(in srgb,var(--t-solid,#6d4aff) 80%,#000) 100%);color:#fff;
  box-shadow:0 10px 22px -10px color-mix(in srgb,var(--t-solid,#6d4aff) 85%,transparent),inset 0 1px 0 rgba(255,255,255,.25)}
.btn:where(:not(.ghost,.light,.danger))::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s var(--ease)}
.btn:where(:not(.ghost,.light,.danger,.sm)){box-shadow:0 12px 26px -12px color-mix(in srgb,var(--t-solid,#6d4aff) 90%,transparent),inset 0 1px 0 rgba(255,255,255,.25)}
.btn:where(:not(.ghost,.light,.danger)):hover{transform:translateY(-2px);filter:brightness(1.06) saturate(1.1);box-shadow:0 16px 30px -12px color-mix(in srgb,var(--t-solid,#6d4aff) 95%,transparent),inset 0 1px 0 rgba(255,255,255,.3)}
.btn:where(:not(.ghost,.light,.danger)):hover::after{transform:translateX(120%)}
.btn:where(:not(.ghost,.light,.danger)):active,.btn.sm:where(:not(.ghost,.light,.danger)):active{transform:translateY(0) scale(.97);box-shadow:0 4px 10px -6px color-mix(in srgb,var(--t-solid,#6d4aff) 90%,transparent)}
.btn.sm{border:0}
.btn.sm:where(:not(.ghost,.light,.danger)){box-shadow:0 8px 16px -8px color-mix(in srgb,var(--t-solid,#6d4aff) 85%,transparent)}
.btn.ghost,.btn.light{background:rgba(255,255,255,.9);color:var(--ink);border:1px solid var(--line-2);box-shadow:var(--au-sh-sm)}
.btn.ghost:hover,.btn.light:hover{background:#fff;color:var(--brand-ink);border-color:color-mix(in srgb,var(--brand) 35%,transparent);transform:translateY(-2px);box-shadow:var(--au-sh);filter:none}
.btn.ghost:active,.btn.light:active{transform:scale(.97);box-shadow:none}
.btn.danger{background:#fff;color:#d61f45;border:1px solid #ffd0da;box-shadow:var(--au-sh-sm)}
.btn.danger:hover{background:linear-gradient(135deg,#ff5d7a,#e11d48);border-color:transparent;color:#fff;box-shadow:0 12px 24px -10px rgba(225,29,72,.7)}
.btn:disabled{background:#eeecf6!important;color:#a5a1c2!important;border:0!important;box-shadow:none!important;transform:none!important;filter:none!important}
.btn:disabled::after{display:none}
.btn.uhb{background:#fff;color:var(--ink);border:1px solid var(--line-2);box-shadow:var(--au-sh-sm)}
.btn.uhb:hover{background:#fff8e1;border-color:#ffe08a}
.btn.big{padding-block:1rem;font-size:1.02rem;border-radius:18px}
.helpbtn{border:1px solid var(--line-2);box-shadow:var(--au-sh-sm);background:#fff;transition:transform .25s var(--ease),box-shadow .25s}
.helpbtn:hover:not(:disabled){background:#fff;transform:translateY(-2px);box-shadow:var(--au-sh)}
.helpbtn:active:not(:disabled){transform:scale(.97);box-shadow:none}

/* ---------- Formalar ---------- */
input:where(:not([type=radio],[type=checkbox],[type=range],[type=file],[type=color],[type=hidden])),select,textarea{
  background:rgba(255,255,255,.9);border:1.5px solid var(--line-2);border-radius:14px;font:700 1rem var(--fb);color:var(--ink);
  transition:border-color .2s,box-shadow .25s var(--ease),background-color .2s}
input:where(:not([type=radio],[type=checkbox],[type=range],[type=file],[type=color],[type=hidden])):hover,select:hover,textarea:hover{border-color:#c9bff3}
input:focus,select:focus,textarea:focus{background:#fff;border-color:var(--brand);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 16%,transparent);outline:none}
::placeholder{color:#aaa5c8}

/* ---------- Progress, xabar, jadval ---------- */
.bar{height:.85rem;background:#ece8fb;border:0;border-radius:99px;overflow:hidden;box-shadow:inset 0 1px 2px rgba(40,20,120,.1)}
.bar i{position:relative;border-radius:99px;background-image:linear-gradient(90deg,color-mix(in srgb,var(--t,#6d4aff) 75%,#fff),var(--t,#6d4aff));transition:width .8s var(--ease)}
.bar i::after{content:"";display:block!important;position:absolute;inset:0;border-radius:inherit;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);background-size:50% 100%;background-repeat:no-repeat;animation:auShine 2.6s ease-in-out infinite}
@keyframes auShine{from{background-position:-60% 0}to{background-position:160% 0}}
.coinbar i{background-image:linear-gradient(90deg,#ffd76a,#ffb020)}
.msg{border:1px solid color-mix(in srgb,var(--mint) 40%,transparent);border-radius:16px;box-shadow:var(--au-sh-sm);background:rgba(236,253,247,.92);backdrop-filter:blur(8px)}
.msg.err{border-color:#ffc9d4;background:rgba(255,241,244,.95)}
table{overflow:hidden}
th{background:var(--brand-soft);color:var(--brand-ink);font:900 .72rem var(--fb);letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line)}
td{border-bottom:1px solid var(--line)}
tr:last-child td{border-bottom:0}
tbody tr{transition:background-color .2s}
tbody tr:hover{background:rgba(109,74,255,.04)}
.tabs a{border:1px solid var(--line-2);box-shadow:none;border-radius:14px;font-weight:800;background:rgba(255,255,255,.8);transition:all .25s var(--ease)}
.tabs a:hover{border-color:#c9bff3;color:var(--brand-ink)}
.tabs a[aria-current]{background:linear-gradient(135deg,color-mix(in srgb,var(--t-solid,#6d4aff) 85%,#fff),var(--t-solid,#6d4aff));border-color:transparent;color:#fff;box-shadow:0 8px 18px -8px color-mix(in srgb,var(--t-solid,#6d4aff) 85%,transparent)}
.searchbar{border:1px solid var(--line-2);box-shadow:var(--au-sh-sm);border-radius:16px;background:rgba(255,255,255,.9)}

/* ---------- Bosh sahifa: o'quv yo'li ---------- */
.greetbar .av{border:3px solid #fff;box-shadow:0 8px 20px -8px rgba(76,48,200,.5)}
.greetbar .greet{font:800 1.9rem/1.15 var(--fh)}
.tipline{background:linear-gradient(135deg,rgba(255,247,214,.95),rgba(255,236,200,.92));border:1px solid #ffe3a3;box-shadow:var(--au-sh-sm);border-radius:18px;rotate:0deg;color:#5c4300}
.tipline .i{color:#f59e0b;animation:auTwinkle 3s ease-in-out infinite}
@keyframes auTwinkle{50%{transform:scale(1.25) rotate(20deg);filter:drop-shadow(0 0 6px rgba(245,158,11,.6))}}
.unit-head{position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(130deg,color-mix(in srgb,var(--t-solid) 80%,#fff) 0%,var(--t-solid) 50%,color-mix(in srgb,var(--t-solid) 75%,#000) 100%);
  border:0;border-radius:26px;box-shadow:0 18px 36px -16px color-mix(in srgb,var(--t-solid) 80%,transparent),inset 0 1px 0 rgba(255,255,255,.25)}
.unit-head::before,.unit-head::after{content:"";position:absolute;z-index:-1;border-radius:50%;background:rgba(255,255,255,.12)}
.unit-head::before{width:13rem;height:13rem;right:-3rem;top:-6rem}
.unit-head::after{width:7rem;height:7rem;right:9rem;bottom:-4rem;background:rgba(255,255,255,.08)}
.unit-head h2{font:800 1.6rem var(--fh);text-shadow:0 2px 10px rgba(0,0,0,.15)}
.node{border:0;background:linear-gradient(160deg,color-mix(in srgb,var(--t) 78%,#fff),var(--t));
  box-shadow:0 6px 0 color-mix(in srgb,var(--t) 65%,#000),0 14px 24px -8px color-mix(in srgb,var(--t) 70%,transparent),inset 0 2px 0 rgba(255,255,255,.35);
  transition:transform .2s var(--ease),box-shadow .2s var(--ease)}
@media (hover:hover){.node:not(.todo):hover{transform:translateY(-3px) scale(1.04)}}
.node:active{transform:translateY(5px);box-shadow:0 1px 0 color-mix(in srgb,var(--t) 65%,#000),0 4px 10px -6px color-mix(in srgb,var(--t) 70%,transparent)}
.node.todo{background:linear-gradient(160deg,#f4f2fb,#e7e4f3);color:#b3afcf;box-shadow:0 6px 0 #d3cfe6,inset 0 2px 0 #fff}
.node.todo:active{box-shadow:0 1px 0 #d3cfe6}
.node.perfect{background:linear-gradient(160deg,#ffe48a,#ffbe1a);color:#6b4a00;box-shadow:0 6px 0 #d99a00,0 14px 26px -8px rgba(255,180,0,.7),inset 0 2px 0 rgba(255,255,255,.5)}
.node.perfect:active{box-shadow:0 1px 0 #d99a00}
.node.cur::before{border:0;inset:-.55rem;background:conic-gradient(from 0deg,var(--t),transparent 40%,var(--t) 60%,transparent);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - .32rem),#000 calc(100% - .3rem));mask:radial-gradient(farthest-side,transparent calc(100% - .32rem),#000 calc(100% - .3rem));animation:ringSpin 4s linear infinite}
.node.cur{animation:auGlow 2.4s ease-in-out infinite}
@keyframes auGlow{50%{filter:drop-shadow(0 0 14px color-mix(in srgb,var(--t) 70%,transparent))}}
@keyframes ringSpin{to{rotate:360deg}}
.node .pct{border:2px solid #fff;color:#6b4a00;background:#ffd23f}
.node-tip,.cast-tip{background:#fff;border:1px solid var(--line);box-shadow:var(--au-sh);color:var(--ink);border-radius:14px;animation:auBob 3s ease-in-out infinite}
.node-tip::after,.cast-tip::after{border-color:var(--line);border-width:0 1px 1px 0;background:#fff}
@keyframes auBob{50%{translate:0 -4px}}
.r-stat.trk{border:0;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 25%,transparent)}
.qrow .qi{border:0;box-shadow:0 6px 14px -6px color-mix(in srgb,var(--t,#6d4aff) 60%,transparent)}
.rank-row .rk{font:800 1.9rem var(--fh);background:linear-gradient(135deg,#ff9a3c,#ff5d8f);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Qahramonlar: yengil suzish */
@media (prefers-reduced-motion:no-preference){
  .skstage .skin,.cast-i .skin,.mascot .skin,.greetbar .sk .skin{animation:auFloat 4.5s ease-in-out infinite}
  .cast-i:nth-child(odd) .skin{animation-delay:-1.4s}.cast-i:nth-child(3n) .skin{animation-delay:-2.6s}
}
@keyframes auFloat{50%{transform:translateY(-6px) rotate(-1.5deg)}}

/* ---------- Test ---------- */
body:has(#quiz) .quizbar{background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:blur(14px);box-shadow:0 1px 0 var(--line)}
#quiz fieldset.q legend{font:800 clamp(1.35rem,2.6vw,1.75rem)/1.35 var(--fh)}
.qn{border:0;background:linear-gradient(135deg,color-mix(in srgb,var(--t-solid,#6d4aff) 80%,#fff),var(--t-solid,#6d4aff));color:#fff;box-shadow:0 6px 14px -6px color-mix(in srgb,var(--t-solid,#6d4aff) 80%,transparent)}
.opt{border:1.5px solid var(--line-2);box-shadow:var(--au-sh-sm);border-radius:18px;background:rgba(255,255,255,.92);transition:transform .25s var(--ease),box-shadow .25s var(--ease),border-color .2s,background-color .2s}
@media (hover:hover){.opt:hover{transform:translateY(-2px);background:#fff;border-color:color-mix(in srgb,var(--t,#6d4aff) 45%,transparent);box-shadow:var(--au-sh)}}
.opt:active{transform:scale(.985);box-shadow:none}
.ol{border:1.5px solid var(--line-2);color:var(--ink-2);background:#fff;transition:all .25s var(--ease)}
.opt:has(input:checked){border-color:var(--t,#6d4aff);background:color-mix(in srgb,var(--t-soft,#efeaff) 85%,#fff);box-shadow:0 0 0 4px color-mix(in srgb,var(--t,#6d4aff) 16%,transparent),var(--au-sh);color:var(--t-ink,#3f22d6)}
.opt:has(input:checked) .ol{background:linear-gradient(135deg,color-mix(in srgb,var(--t-solid,#6d4aff) 80%,#fff),var(--t-solid,#6d4aff));border-color:transparent;color:#fff;transform:scale(1.08)}
body:has(#quiz) .qnav{background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(14px);border-top:1px solid var(--line)}
.bubble p,.bubble p::before{border-color:var(--line)!important}
.bubble p{border-width:1px!important;box-shadow:var(--au-sh)!important;border-radius:18px!important}
#tmr.warn,.tmr.warn{animation:auPulse 1s ease-in-out infinite}
@keyframes auPulse{50%{transform:scale(1.08)}}

/* ---------- Natija ---------- */
.result .rbig{font:800 clamp(2rem,3.6vw,2.8rem) var(--fh);background:linear-gradient(120deg,var(--ink),#6d4aff 60%,#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.rt{border:var(--au-b);box-shadow:var(--au-sh-sm)}
.cheer{backdrop-filter:blur(6px)}
.cheer-card{border:0!important;border-radius:28px!important;box-shadow:0 30px 70px -20px rgba(40,20,120,.55)!important;animation:auPop .55s var(--ease) both}
@keyframes auPop{from{opacity:0;transform:scale(.85) translateY(20px)}to{opacity:1;transform:none}}

/* ---------- Kirish / ro'yxatdan o'tish ---------- */
.l-art{overflow:hidden;
  background:
    radial-gradient(30rem 22rem at 15% 10%,rgba(255,255,255,.16),transparent 60%),
    radial-gradient(30rem 30rem at 90% 90%,rgba(236,72,153,.35),transparent 60%),
    linear-gradient(155deg,#3b1fd1 0%,#5b3cf5 45%,#9146f0 100%);
  background-size:100% 100%,100% 100%,200% 200%;animation:auSky 18s ease-in-out infinite alternate;
  color:#fff;border-right:0;box-shadow:12px 0 50px -20px rgba(59,31,209,.6)}
@keyframes auSky{to{background-position:0 0,0 0,100% 100%}}
.l-art .brand{color:#fff}
.l-art .brand b{color:var(--sun)}
.l-art .logo{color:var(--pink);filter:drop-shadow(0 6px 14px rgba(255,93,143,.5))}
.l-art h2{color:#fff;font:800 clamp(2rem,3.2vw,2.9rem)/1.12 var(--fh);text-shadow:0 4px 24px rgba(20,8,90,.35)}
.l-art h2 .hl{background:linear-gradient(100deg,#ffe066,#ffb347);-webkit-background-clip:text;background-clip:text;color:transparent}
.l-art p{color:rgba(255,255,255,.88)}
.l-pills span{border:1px solid rgba(255,255,255,.3);box-shadow:0 8px 20px -10px rgba(0,0,0,.4);border-radius:14px;backdrop-filter:blur(6px)}
.cast-i{transition:transform .35s var(--ease)}
.cast-i:hover{transform:scale(1.08)}
.cast-i .skin{filter:drop-shadow(0 12px 18px rgba(20,8,90,.35))}
.l-form form{background:rgba(255,255,255,.82);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);
  border:1px solid rgba(255,255,255,.9);border-radius:28px;box-shadow:0 30px 60px -24px rgba(76,48,200,.35),0 2px 6px rgba(40,20,120,.05);padding:2.2rem 2rem}
.l-form h1{font-size:clamp(1.9rem,2.8vw,2.4rem)}
.l-form .hint a,.l-form a{color:var(--brand-ink);text-decoration-thickness:2px;text-underline-offset:3px}
.l-form .btn:where(:not(.ghost,.light,.danger)){background:linear-gradient(135deg,#7c5cff 0%,#5b3cf5 50%,#9146f0 100%)}

/* ---------- Skroll paneli ---------- */
*{scrollbar-width:thin;scrollbar-color:#cfc5f5 transparent}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:#d6cdf7;border-radius:99px;border:3px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background-color:#b9aaf0}

/* ---------- Mobil ---------- */
@media (max-width:820px){
  body:not(.theme-midnight):not(.theme-royal) .side{border-bottom:0;box-shadow:0 10px 30px -14px rgba(59,31,209,.55)}
  body:not(.theme-midnight):not(.theme-royal) .app .side nav{background:linear-gradient(165deg,#3b1fd1,#6d3ff2);border:0;box-shadow:0 -10px 30px -12px rgba(59,31,209,.5)}
  body .app .side nav.mnav-open{border:0;box-shadow:var(--au-sh-lg)}
  .mnav-btn{border:1px solid rgba(255,255,255,.25)!important;box-shadow:none}
  .side nav a .i{box-shadow:none}
  body:not(.theme-midnight):not(.theme-royal) .side nav a:hover{transform:none}
  .main{padding:1.2rem 1rem 2rem}
  .unit-head h2{font-size:1.35rem}
  .l-art{box-shadow:0 10px 40px -18px rgba(59,31,209,.6)}
  .l-form form{padding:1.6rem 1.3rem}
  body:not(.theme-midnight):not(.theme-royal)::before,body:not(.theme-midnight):not(.theme-royal)::after,body.login::before,body.login::after{opacity:.35}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}


/* ==== /css/es-extra.css ==== */
/* =========================================================
   EasyStudy — Learning English (/level, /learn) va So'z poygasi (/race) sahifalari.
   aurora.css tokenlaridan foydalanadi.
   ========================================================= */
.tr-english{--t:#f76b15;--t-ink:#a8410a;--t-soft:#ffeedd}
.nb-new{width:auto!important;min-width:0!important;padding:0 .45rem!important;font:900 .6rem/1.6 var(--fb)!important;letter-spacing:.08em;border-radius:99px!important;margin-left:auto}
.spinner{display:inline-block;width:1.15em;height:1.15em;border:3px solid currentColor;border-right-color:transparent;border-radius:50%;animation:esSpin .7s linear infinite;vertical-align:-.2em}
@keyframes esSpin{to{transform:rotate(360deg)}}
.ln-eb{margin:0 0 .3rem;font:900 .72rem var(--fb);letter-spacing:.14em;text-transform:uppercase;opacity:.85}
.ph{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.8rem}
.ph h2{margin:0}

/* ---------- Daraja tanlash ---------- */
.lv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1.1rem;margin:1.4rem 0}
.lv-card{position:relative;display:flex;flex-direction:column;gap:.45rem;padding:1.3rem 1.2rem 1.2rem;cursor:pointer;text-align:left;overflow:hidden;
  animation:auUp .6s var(--ease) both;animation-delay:calc(var(--i,0) * 70ms)}
.lv-card::before{content:"";position:absolute;inset:0 0 auto;height:6px;background:var(--lv)}
.lv-a1{--lv:linear-gradient(90deg,#34d399,#10b981)}.lv-a2{--lv:linear-gradient(90deg,#22d3ee,#0ea5e9)}.lv-b1{--lv:linear-gradient(90deg,#818cf8,#6d4aff)}
.lv-b2{--lv:linear-gradient(90deg,#f472b6,#ec4899)}.lv-c1{--lv:linear-gradient(90deg,#fbbf24,#f97316)}
.lv-card.current{border-color:color-mix(in srgb,var(--brand) 45%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--brand) 14%,transparent),var(--au-sh-lg)}
.lv-card.busy{opacity:.85}
.lv-top{display:flex;align-items:center;justify-content:space-between}
.lv-emoji{font-size:2.4rem;line-height:1;filter:drop-shadow(0 6px 10px rgba(40,20,120,.18));transition:transform .4s var(--ease)}
.lv-card:hover .lv-emoji{transform:scale(1.15) rotate(-8deg)}
.lv-meter{display:flex;align-items:flex-end;gap:3px;height:26px}
.lv-meter i{width:7px;border-radius:3px;background:#e6e1f7}
.lv-meter i:nth-child(1){height:30%}.lv-meter i:nth-child(2){height:47%}.lv-meter i:nth-child(3){height:64%}.lv-meter i:nth-child(4){height:82%}.lv-meter i:nth-child(5){height:100%}
.lv-meter i.on{background:var(--lv)}
.lv-name{display:flex;align-items:baseline;gap:.5rem;margin-top:.3rem}
.lv-name b{font:800 2rem/1 var(--fh);background:var(--lv);-webkit-background-clip:text;background-clip:text;color:transparent}
.lv-name span{font:800 1.02rem var(--fh);color:var(--ink)}
.lv-uz{margin:0;font-weight:800;color:var(--muted);font-size:.86rem}
.lv-desc{margin:.1rem 0 0;color:var(--ink-2);font-size:.95rem}
.lv-can{list-style:none;margin:.3rem 0 .4rem;padding:0;display:grid;gap:.35rem}
.lv-can li{display:flex;gap:.45rem;align-items:flex-start;font-size:.9rem;color:var(--ink-2)}
.lv-can .i{width:1.05rem;height:1.05rem;flex:none;margin-top:.15rem;color:#10b981;stroke-width:3}
.lv-prog{display:grid;gap:.3rem}
.lv-prog small{color:var(--muted);font-weight:700}
.lv-go{margin-top:auto}
.lv-cur{position:absolute;top:.9rem;right:.9rem;display:inline-flex;align-items:center;gap:.25rem;padding:.15rem .55rem;border-radius:99px;background:var(--brand-soft);color:var(--brand-ink);font:900 .68rem var(--fb);font-style:normal;letter-spacing:.06em;text-transform:uppercase}
.lv-cur .i{width:.85rem;height:.85rem}
.lv-card.current .lv-top{padding-right:5.5rem}
.lv-skel,.ln-skel{min-height:300px;background:linear-gradient(100deg,#fff 30%,#f2eefe 50%,#fff 70%) 0 0/200% 100%!important;animation:esShim 1.3s linear infinite}
.ln-skel{min-height:240px;margin-top:1rem}
@keyframes esShim{to{background-position:-200% 0}}
.lv-tip{display:flex;gap:.6rem;align-items:center;padding:.8rem 1rem}

/* ---------- Learning English: hero ---------- */
.ln-hero{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;
  padding:1.6rem 1.8rem;border-radius:28px;color:#fff;margin-bottom:1.3rem;
  background:radial-gradient(30rem 18rem at 0% 0%,rgba(255,255,255,.22),transparent 60%),linear-gradient(125deg,#ff9a3c 0%,#f76b15 45%,#e8458b 100%);
  box-shadow:0 22px 44px -18px rgba(247,107,21,.65),inset 0 1px 0 rgba(255,255,255,.3)}
.ln-hero h1{color:#fff;margin:.1rem 0 .3rem;font-size:clamp(1.7rem,3vw,2.4rem);text-shadow:0 3px 18px rgba(120,30,0,.25)}
.ln-hero h1 .hl{color:#fff;background:none;-webkit-text-fill-color:#fff}
.ln-em{display:inline-block;animation:auFloat 4s ease-in-out infinite}
.ln-sub{margin:0 0 .8rem;opacity:.92;font-weight:700}
.ln-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.ln-chips>*{display:inline-flex;align-items:center;gap:.3rem;padding:.35rem .75rem;border-radius:99px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3);color:#fff;font-weight:800;font-size:.86rem;backdrop-filter:blur(6px);text-decoration:none}
.ln-chg{cursor:pointer;transition:background-color .2s}
.ln-chg:hover{background:rgba(255,255,255,.3)}
.ln-chg .i{width:1rem;height:1rem}
.ln-b1,.ln-b2{position:absolute;z-index:-1;border-radius:50%;background:rgba(255,255,255,.12)}
.ln-b1{width:16rem;height:16rem;right:-4rem;top:-7rem}.ln-b2{width:8rem;height:8rem;right:12rem;bottom:-5rem;background:rgba(255,255,255,.08)}
.ln-ring{position:relative;width:118px;height:118px;flex:none}
.ln-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ln-ring circle{fill:none;stroke-width:9;stroke-linecap:round}
.ln-ring .rb{stroke:rgba(255,255,255,.25)}
.ln-ring .rf{stroke:#fff;transition:stroke-dashoffset 1.2s var(--ease);filter:drop-shadow(0 0 6px rgba(255,255,255,.6))}
.ln-ring-in{position:absolute;inset:0;display:grid;place-content:center;text-align:center;line-height:1.1}
.ln-ring-in b{font:800 1.6rem var(--fh)}
.ln-ring-in small{font-weight:800;opacity:.85}

.ln-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:1.3rem;align-items:start}
.ln-main{display:grid;gap:1.3rem;min-width:0}
.ln-side{position:sticky;top:1rem}

/* ---------- Bugungi dars ---------- */
.ln-today{position:relative;padding:1.5rem 1.6rem;overflow:hidden}
.ln-today::after{content:"🦌";position:absolute;right:1.2rem;top:1rem;font-size:3.2rem;opacity:.9;filter:drop-shadow(0 8px 14px rgba(40,20,120,.2));animation:auFloat 5s ease-in-out infinite}
.ln-today-top{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;padding-right:4rem}
.ln-no{padding:.25rem .7rem;border-radius:99px;background:linear-gradient(135deg,#ff9a3c,#f76b15);color:#fff;font:900 .78rem var(--fb);letter-spacing:.04em;box-shadow:0 6px 14px -6px rgba(247,107,21,.7)}
.ln-live{color:#059669!important;animation:auPing 2s infinite}
.ln-title{font-size:clamp(1.35rem,2.4vw,1.8rem);margin:.7rem 4rem .9rem 0;line-height:1.25}
.ln-steps{display:flex;flex-wrap:wrap;gap:.6rem 1.1rem;margin-bottom:1.2rem;color:var(--ink-2);font-weight:700;font-size:.92rem}
.ln-steps>span{display:inline-flex;align-items:center;gap:.45rem}
.ln-si{display:grid;place-items:center;width:2rem;height:2rem;border-radius:10px;background:#fff3e8;color:#e8650f}
.ln-si .i{width:1.1rem;height:1.1rem}
.ln-start{min-width:15rem}
.ln-start .i{width:1.1rem;height:1.1rem}
.ln-note{display:block;margin-top:.6rem}
.ln-retry{display:flex;gap:.5rem;align-items:flex-start;padding:.7rem .9rem;border-radius:14px;background:#fff8e6;border:1px solid #ffe2a1;color:#7a5200;font-weight:700;margin:0 0 1rem}
.ln-retry .i{flex:none;width:1.1rem;height:1.1rem;margin-top:.15rem}
.ln-wait{display:flex;align-items:center;gap:.8rem;padding:1rem 1.1rem;border-radius:16px;background:var(--brand-soft);color:var(--brand-ink);font-weight:800}
.ln-wait-t{animation:auUp .5s var(--ease) both}
.ln-tom-h{font:800 1.15rem var(--fh);margin:0 0 .3rem}
.ln-cd{font:800 1.3rem var(--fh);font-variant-numeric:tabular-nums;color:#e8650f;letter-spacing:.04em}
.ln-tom .links{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.9rem}
.ln-tom .btn .i{width:1.05rem;height:1.05rem}
.ln-today.done-all{text-align:center}
.ln-today.done-all::after{display:none}
.ln-crown{font-size:3.4rem;animation:auFloat 3.5s ease-in-out infinite}

/* ---------- Bugungi reja ---------- */
.ln-plan{padding:1.2rem;border-radius:var(--r);background:var(--au-glass);border:var(--au-b);box-shadow:var(--au-sh);backdrop-filter:blur(14px)}
.ln-plan-n{font-weight:800;color:var(--muted);font-size:.85rem}
.ln-plan-bar{margin-bottom:1rem}
.ln-plan-bar i{--t:#22c55e}
.ln-tasks{display:grid;gap:.6rem}
.ln-task{display:flex;align-items:center;gap:.75rem;padding:.75rem .8rem;border-radius:16px;background:#fff;border:1px solid var(--line);color:var(--ink);text-decoration:none;transition:transform .25s var(--ease),box-shadow .25s,border-color .2s}
.ln-task:hover{transform:translateX(3px);box-shadow:var(--au-sh-sm);border-color:#d9d0fb}
.ln-ti{display:grid;place-items:center;flex:none;width:2.5rem;height:2.5rem;border-radius:12px;color:#fff;box-shadow:0 6px 14px -6px var(--c)}
.ln-ti .i{width:1.2rem;height:1.2rem}
.tk-lesson{--c:#f76b15}.tk-lesson .ln-ti{background:linear-gradient(135deg,#ff9a3c,#f76b15)}
.tk-words{--c:#ea580c}.tk-words .ln-ti{background:linear-gradient(135deg,#fb7185,#e11d48)}
.tk-practice{--c:#0ea5e9}.tk-practice .ln-ti{background:linear-gradient(135deg,#38bdf8,#0284c7)}
.tk-race{--c:#8b5cf6}.tk-race .ln-ti{background:linear-gradient(135deg,#a78bfa,#6d4aff)}
.ln-task.done .ln-ti{background:linear-gradient(135deg,#4ade80,#16a34a);--c:#16a34a}
.ln-task.done .ln-tt b{text-decoration:line-through;text-decoration-color:rgba(22,163,74,.6);text-decoration-thickness:2px}
.ln-tt{display:grid;min-width:0;flex:1}
.ln-tt b{font-size:.95rem}
.ln-tt small{color:var(--muted);font-weight:600;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ln-tgo{color:#c4bce6}
.ln-tgo .i{width:1rem;height:1rem}

/* ---------- Darslar yo'li ---------- */
.ln-path-w{padding:1.3rem 1.4rem;border-radius:var(--r);background:var(--au-glass);border:var(--au-b);box-shadow:var(--au-sh);backdrop-filter:blur(14px)}
.ln-path{list-style:none;margin:0;padding:0;position:relative}
.ln-path::before{content:"";position:absolute;left:1.15rem;top:1.2rem;bottom:1.2rem;width:3px;border-radius:3px;background:linear-gradient(#ffd9bf,#ece8fb)}
.ln-node{position:relative;display:flex;align-items:center;gap:.9rem;padding:.55rem 0}
.ln-dot{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:2.35rem;height:2.35rem;border-radius:50%;background:#f1eef9;color:#aaa3c9;font:900 .85rem var(--fb);border:3px solid #fff;box-shadow:0 2px 6px rgba(40,20,120,.1)}
.ln-dot .i{width:1rem;height:1rem;stroke-width:3}
.st-done .ln-dot{background:linear-gradient(135deg,#4ade80,#16a34a);color:#fff}
.st-today .ln-dot{background:linear-gradient(135deg,#ff9a3c,#f76b15);color:#fff;animation:esGlowO 2s ease-in-out infinite}
.st-tomorrow .ln-dot{background:#fff3e8;color:#e8650f}
@keyframes esGlowO{50%{box-shadow:0 0 0 7px rgba(247,107,21,.18)}}
.ln-nt{display:grid;flex:1;min-width:0}
.ln-nt b{font-size:.95rem;line-height:1.3}
.ln-nt small{color:var(--muted);font-weight:700;font-size:.78rem}
.st-locked .ln-nt{opacity:.55}
.ln-more{margin-top:.6rem}

.ln-promo{text-align:left;padding:1.8rem;display:grid;gap:.8rem;justify-items:start;max-width:760px}
.ln-promo-art{font-size:3.2rem;animation:auFloat 4s ease-in-out infinite}
.ln-toast{position:fixed;left:50%;bottom:1.4rem;transform:translateX(-50%);z-index:60;padding:.8rem 1.2rem;border-radius:16px;background:#16a34a;color:#fff;font-weight:800;box-shadow:0 16px 36px -12px rgba(22,163,74,.7);animation:auPop .5s var(--ease) both}

/* ---------- So'z poygasi ---------- */
.rc-hero{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.7rem 1.8rem;border-radius:28px;color:#fff;margin-bottom:1.2rem;
  background:radial-gradient(26rem 16rem at 0% 0%,rgba(255,255,255,.2),transparent 60%),linear-gradient(125deg,#7c3aed 0%,#6d4aff 45%,#ec4899 100%);box-shadow:0 22px 44px -18px rgba(109,74,255,.7)}
.rc-hero h1{color:#fff;margin:.1rem 0 .4rem}
.rc-hero h1 .hl{color:#fff}
.rc-hero p{margin:0;max-width:34rem;opacity:.92;font-weight:700}
.rc-bolt{font-size:5rem;line-height:1;filter:drop-shadow(0 10px 20px rgba(0,0,0,.25));animation:esZap 2.4s ease-in-out infinite}
@keyframes esZap{0%,100%{transform:rotate(-6deg) scale(1)}50%{transform:rotate(8deg) scale(1.12)}}
.rc-mute{position:absolute;top:.9rem;right:.9rem;display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:12px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.16);color:#fff;cursor:pointer}
.rc-mute .i{width:1.2rem;height:1.2rem}
.rc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem;margin-bottom:1rem}
.rc-stat{display:grid;justify-items:center;gap:.1rem;padding:1rem .6rem;text-align:center}
.rc-stat span{font-size:1.6rem}
.rc-stat b{font:800 1.6rem var(--fh);color:var(--ink)}
.rc-stat small{color:var(--muted);font-weight:700}
.rc-rules{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.1rem}
.rc-rules span{padding:.4rem .8rem;border-radius:99px;background:#fff;border:1px solid var(--line);font-weight:800;font-size:.86rem;color:var(--ink-2)}
.rc-go{font-size:1.15rem!important;padding-block:1.1rem!important;margin-bottom:1.3rem;background:linear-gradient(135deg,#8b5cf6,#6d4aff 50%,#ec4899)!important}
.rc-board{padding:1.3rem 1.4rem}
.rc-top{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.rc-top li{display:flex;align-items:center;gap:.8rem;padding:.55rem .7rem;border-radius:12px}
.rc-top li:nth-child(odd){background:rgba(109,74,255,.04)}
.rc-top li.me{background:var(--brand-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 30%,transparent)}
.rc-rk{width:2rem;text-align:center;font:800 1.1rem var(--fh);color:var(--muted)}
.rc-nm{flex:1;font-weight:800;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rc-top b{font:800 1.1rem var(--fh);color:var(--brand-ink)}

.rc-count{display:grid;place-items:center;min-height:60vh}
.rc-count span{font:800 clamp(6rem,18vw,11rem)/1 var(--fh);background:linear-gradient(135deg,#8b5cf6,#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent;animation:esCount .75s var(--ease) both}
@keyframes esCount{from{opacity:0;transform:scale(2.2)}40%{opacity:1}to{transform:scale(1)}}

.rc-play{max-width:760px;margin:0 auto}
.rc-hud{position:relative;display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:.7rem;align-items:stretch;margin-bottom:1rem}
.rc-hud>div{display:grid;align-content:center;padding:.6rem .9rem;border-radius:16px;background:var(--au-glass);border:var(--au-b);box-shadow:var(--au-sh-sm)}
.rc-hud small{color:var(--muted);font-weight:800;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}
.rc-hud b{font:800 1.5rem/1.1 var(--fh);color:var(--ink)}
.rc-time{grid-template-columns:auto 1fr;column-gap:.5rem;align-items:center}
.rc-time .i{width:1.3rem;height:1.3rem;color:var(--brand)}
.rc-tbar{grid-column:1/-1;height:.5rem;margin-top:.35rem;border-radius:99px;background:#ece8fb;overflow:hidden}
.rc-tbar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#22d3a6,#6d4aff);transition:width .2s linear}
.hurry .rc-tbar i{background:linear-gradient(90deg,#fb7185,#e11d48)}
.hurry .rc-time b{color:#e11d48;animation:auPulse 1s ease-in-out infinite}
.rc-bump{animation:esBump .35s var(--ease)}
@keyframes esBump{40%{transform:scale(1.25);color:var(--brand)}}
.rc-combo{text-align:center;transition:background .3s}
.rc-combo.m2{background:linear-gradient(135deg,#fff3c4,#ffe08a)!important}
.rc-combo.m2 b{color:#b45309}
.rc-combo.m3{background:linear-gradient(135deg,#ffd1e6,#f9a8d4)!important;animation:esFire 1s ease-in-out infinite}
.rc-combo.m3 b{color:#be185d}
@keyframes esFire{50%{box-shadow:0 0 0 5px rgba(236,72,153,.2),0 0 24px rgba(236,72,153,.35)}}
.rc-hud .rc-mute{position:static;width:auto;height:auto;padding:0 .8rem;border-radius:16px;border:var(--au-b);background:var(--au-glass);color:var(--ink-2);box-shadow:var(--au-sh-sm)}
.rc-card{position:relative;display:grid;justify-items:center;gap:.4rem;padding:1.6rem 1.2rem 1.8rem;text-align:center;margin-bottom:1rem;animation:esIn .35s var(--ease) both;transition:background-color .2s,border-color .2s}
@keyframes esIn{from{opacity:0;transform:translateX(30px) scale(.97)}to{opacity:1;transform:none}}
.rc-card.ok{border-color:#86efac;background-color:#f0fdf4}
.rc-card.bad{border-color:#fda4af;background-color:#fff1f2;animation:esShake .45s}
@keyframes esShake{20%,60%{transform:translateX(-8px)}40%,80%{transform:translateX(8px)}}
.rc-dir{font-weight:800;font-size:.8rem;color:var(--muted);letter-spacing:.04em}
.rc-em{font-size:3rem;line-height:1.1}
.rc-word{font:800 clamp(2rem,5vw,3rem)/1.15 var(--fh);color:var(--ink);word-break:break-word}
.rc-pop{position:absolute;top:1rem;right:1.4rem;font:800 1.5rem var(--fh);color:#16a34a;pointer-events:none;animation:esPop .8s var(--ease) forwards}
@keyframes esPop{from{opacity:1;transform:translateY(0) scale(.8)}to{opacity:0;transform:translateY(-40px) scale(1.3)}}
.rc-opts{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.rc-opt{display:flex;align-items:center;gap:.7rem;min-height:4rem;padding:.8rem 1rem;border-radius:18px;border:1.5px solid var(--line-2);background:#fff;color:var(--ink);font:800 1.05rem var(--fb);text-align:left;cursor:pointer;box-shadow:var(--au-sh-sm);transition:transform .15s var(--ease),box-shadow .2s,border-color .2s,background-color .2s}
.rc-opt:hover{transform:translateY(-2px);border-color:#c9bff3;box-shadow:var(--au-sh)}
.rc-opt:active{transform:scale(.97)}
.rc-k{display:grid;place-items:center;flex:none;width:1.9rem;height:1.9rem;border-radius:9px;background:var(--brand-soft);color:var(--brand-ink);font-size:.85rem}
.rc-opt.right{background:#dcfce7;border-color:#22c55e;color:#14532d;animation:esBump .3s}
.rc-opt.right .rc-k{background:#22c55e;color:#fff}
.rc-opt.wrong{background:#ffe4e6;border-color:#f43f5e;color:#881337}
.rc-opt.wrong .rc-k{background:#f43f5e;color:#fff}
.rc-res{position:relative;text-align:center;padding:1.8rem 1.4rem;margin-bottom:1.2rem;overflow:hidden}
.rc-res.best{background:linear-gradient(160deg,#fffdf2,#fff)!important;border-color:#fde68a}
.rc-ribbon{display:inline-block;margin-bottom:.6rem;padding:.35rem 1rem;border-radius:99px;background:linear-gradient(135deg,#fbbf24,#f97316);color:#fff;font-weight:900;box-shadow:0 10px 22px -10px rgba(249,115,22,.8);animation:auPop .6s var(--ease) both}
.rc-big{font:800 clamp(3.5rem,10vw,5.5rem)/1 var(--fh);background:linear-gradient(135deg,#6d4aff,#ec4899);-webkit-background-clip:text;background-clip:text;color:transparent;animation:auPop .6s var(--ease) both}
.rc-rgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem;margin:1.2rem 0}
.rc-rgrid>div{display:grid;gap:.15rem;padding:.8rem .4rem;border-radius:16px;background:rgba(109,74,255,.05)}
.rc-rgrid b{font:800 1.5rem var(--fh);color:var(--ink)}
.rc-rgrid small{color:var(--muted);font-weight:700;font-size:.78rem}
.rc-res .links{display:flex;flex-wrap:wrap;justify-content:center;gap:.7rem}
.rc-conf{position:fixed;top:-12px;z-index:80;width:10px;height:14px;border-radius:2px;pointer-events:none;animation:esConf linear forwards}
@keyframes esConf{to{transform:translateY(105vh) rotate(720deg)}}

/* ---------- Mustahkamlash: darslar sahifasidagi "dev to'sig'i" ---------- */
.ln-gate{display:grid;grid-template-columns:auto 1fr;gap:.6rem 1rem;align-items:center;padding:1rem 1.1rem;border-radius:18px;
  background:linear-gradient(120deg,#2a1060,#4c1d95 60%,#831843);color:#fff;box-shadow:0 0 0 1px rgba(255,255,255,.1) inset,0 16px 36px -16px rgba(168,85,247,.9)}
.ln-gate-em{font-size:3rem;line-height:1;animation:rvBob 2.2s ease-in-out infinite;filter:drop-shadow(0 0 16px rgba(255,61,154,.7))}
.ln-gate-t b{display:block;font-size:1.02rem}
.ln-gate-t p{margin:.2rem 0 0;color:rgba(236,232,255,.85);font-size:.9rem}
.ln-gate .ln-start{grid-column:1/-1;background:linear-gradient(110deg,#facc15,#ff3d9a 50%,#a855f7)!important;box-shadow:0 14px 30px -12px rgba(255,61,154,.95)!important}
.ln-acts{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}
.ln-shield{font-size:1.15rem;filter:drop-shadow(0 0 6px rgba(52,211,153,.7))}
.ln-game{--t:#ec4899;--t-ink:#9d174d}

/* ---------- Boss jangi ---------- */
@keyframes rvBob{50%{transform:translateY(-8px) rotate(-4deg)}}
.rv-loading{display:grid;justify-items:center;gap:.8rem;padding:2.5rem;text-align:center}
.rv-intro,.rv-end{position:relative;overflow:hidden;text-align:center;padding:2rem 1.6rem;max-width:760px;margin:0 auto;display:grid;justify-items:center;gap:.6rem}
.rv-intro::before,.rv-end.won::before{content:"";position:absolute;inset:-40% -20% auto;height:70%;background:radial-gradient(closest-side,rgba(255,61,154,.18),transparent);pointer-events:none}
.rv-intro-boss,.rv-end-em{font-size:5.5rem;line-height:1;animation:rvBob 2.4s ease-in-out infinite;filter:drop-shadow(0 12px 24px rgba(124,58,237,.45))}
.rv-intro h1,.rv-end h1{margin:.2rem 0;font-size:clamp(1.5rem,3vw,2.1rem)}
.rv-lead{margin:0;max-width:34rem;color:var(--ink-2);font-weight:600}
.rv-rules{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:.6rem 0}
.rv-rules span{padding:.4rem .8rem;border-radius:99px;background:#f5f0ff;border:1px solid var(--line-2);font-weight:700;font-size:.88rem;color:var(--ink-2)}
.rv-gate{margin:.2rem 0 .4rem;font-weight:800;color:#be185d}
.rv-intro .links,.rv-end .links{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem;margin-top:.4rem}
.rv-go{background:linear-gradient(110deg,#facc15,#ff3d9a 45%,#a855f7)!important;min-width:15rem;box-shadow:0 18px 40px -14px rgba(255,61,154,.95)!important}
.rv-end.lost .rv-end-em{filter:grayscale(.2) drop-shadow(0 12px 24px rgba(0,0,0,.35))}

.rv-play{max-width:820px;margin:0 auto}
.rv-play.shake{animation:esShake .45s}
.rv-top{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;margin-bottom:.8rem}
.rv-hearts{display:flex;gap:.2rem;font-size:1.5rem;padding:.3rem .6rem;border-radius:99px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.rv-hearts .off{opacity:.5;transform:scale(.85);animation:rvLose .5s}
@keyframes rvLose{0%{transform:scale(1.4)}100%{transform:scale(.85)}}
.rv-prog{flex:1;min-width:10rem;display:grid;gap:.25rem}
.rv-prog small{color:rgba(236,232,255,.8);font-weight:800}
.rv-streak{padding:.3rem .7rem;border-radius:99px;background:linear-gradient(135deg,#fb923c,#ef4444);color:#fff;font-weight:900;font-size:.85rem;box-shadow:0 0 18px rgba(251,146,60,.7);animation:auPop .4s var(--ease) both}
.rv-mute{position:static!important;width:2.4rem;height:2.4rem}
.rv-boss{position:relative;display:flex;align-items:center;gap:1rem;padding:.9rem 1.1rem;margin-bottom:1rem;border-radius:22px;color:#fff;
  background:linear-gradient(120deg,rgba(76,29,149,.85),rgba(131,24,67,.8));border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 40px -18px rgba(255,61,154,.8)}
.rv-boss-em{font-size:3.6rem;line-height:1;animation:rvBob 2.2s ease-in-out infinite}
.rv-boss.is-hit .rv-boss-em{animation:rvHit .5s}
.rv-boss.is-laugh .rv-boss-em{animation:rvLaugh .6s}
.rv-boss.is-ko .rv-boss-em{animation:rvKo .9s forwards}
@keyframes rvHit{0%{transform:scale(1)}20%{transform:scale(.8) rotate(-12deg);filter:brightness(2.2) saturate(0)}50%{transform:translateX(10px) rotate(8deg)}100%{transform:none}}
@keyframes rvLaugh{25%{transform:scale(1.2) rotate(6deg)}50%{transform:scale(1.25) rotate(-6deg)}100%{transform:none}}
@keyframes rvKo{to{transform:rotate(90deg) translateY(10px) scale(.8);opacity:.5}}
.rv-boss-info{flex:1;display:grid;gap:.3rem;min-width:0}
.rv-boss-info b{font:800 1.05rem var(--fh)}
.rv-boss-info small{color:rgba(255,255,255,.75);font-weight:800}
.rv-hp{display:flex;gap:3px}
.rv-hp i{flex:1;height:.7rem;border-radius:3px;background:rgba(255,255,255,.15);transition:background .3s}
.rv-hp i.on{background:linear-gradient(180deg,#fb7185,#e11d48);box-shadow:0 0 8px rgba(244,63,94,.7)}
.rv-dmg{position:absolute;left:3.2rem;top:.2rem;font:800 1.6rem var(--fh);color:#facc15;text-shadow:0 0 12px rgba(250,204,21,.8);animation:esPop .9s var(--ease) forwards;pointer-events:none}
.rv-taunt{position:absolute;left:5rem;top:-.9rem;padding:.3rem .7rem;border-radius:12px;background:#fff;color:#831843;font-weight:800;font-size:.85rem;box-shadow:0 8px 20px -8px rgba(0,0,0,.4);animation:auPop .35s var(--ease) both}
.rv-q{padding:1.3rem 1.4rem 1.4rem;animation:esIn .35s var(--ease) both}
.rv-qtop{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-bottom:.6rem}
.rv-type{padding:.25rem .7rem;border-radius:99px;background:#f3ecff;color:#6d28d9;font-weight:800;font-size:.8rem}
.rv-old{padding:.25rem .7rem;border-radius:99px;background:#fff7e0;color:#92400e;font-weight:800;font-size:.78rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rv-qt{font-family:var(--fb)!important;font-weight:800!important;font-size:clamp(1.15rem,2.2vw,1.45rem)!important;line-height:1.4;margin:0 0 1rem;color:var(--ink)}
.rv-gap{display:inline-block;min-width:4.5rem;padding:0 .4rem;margin:0 .15rem;border-bottom:3px dashed #d946ef;color:#a21caf;text-align:center}
.rv-opts{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.rv-opts.gap{grid-template-columns:repeat(3,1fr)}
.rv-opt,.rv-tfb{display:flex;align-items:center;gap:.65rem;min-height:3.6rem;padding:.7rem .9rem;border-radius:16px;border:2px solid var(--line-2);background:#fff;color:var(--ink);
  font:800 1rem var(--fb);text-align:left;cursor:pointer;box-shadow:0 8px 18px -14px rgba(124,58,237,.7);transition:transform .15s var(--ease),border-color .2s,background-color .2s,box-shadow .2s}
.rv-opt:not(:disabled):hover,.rv-tfb:not(:disabled):hover{transform:translateY(-2px);border-color:#e879f9;box-shadow:0 0 0 3px rgba(232,121,249,.15),0 12px 24px -14px rgba(168,85,247,.8)}
.rv-opt:disabled,.rv-tfb:disabled{cursor:default}
.rv-k{display:grid;place-items:center;flex:none;width:1.9rem;height:1.9rem;border-radius:9px;background:#f3ecff;color:#6d28d9;font-size:.85rem}
.rv-tf{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.rv-tfb{justify-content:center;font-size:1.15rem;min-height:4.4rem}
.rv-tfb.t{background:linear-gradient(180deg,#fff,#f0fdf4)}.rv-tfb.f{background:linear-gradient(180deg,#fff,#fff1f2)}
:is(.rv-opt,.rv-tfb,.rv-line).right{border-color:#22c55e!important;background:#dcfce7!important;color:#14532d!important;animation:esBump .35s}
.rv-opt.right .rv-k{background:#22c55e;color:#fff}
:is(.rv-opt,.rv-tfb,.rv-line).wrong{border-color:#f43f5e!important;background:#ffe4e6!important;color:#881337!important;animation:esShake .4s}
.rv-opt.wrong .rv-k{background:#f43f5e;color:#fff}
.rv-order{display:grid;gap:.8rem}
.rv-line{min-height:3.6rem;display:flex;flex-wrap:wrap;gap:.45rem;align-items:center;padding:.6rem;border-radius:16px;border:2px dashed #d8b4fe;background:#faf5ff}
.rv-line.right,.rv-line.wrong{border-style:solid}
.rv-ph{color:var(--muted);font-weight:700;font-size:.9rem;padding:0 .4rem}
.rv-pool{display:flex;flex-wrap:wrap;gap:.45rem}
.rv-tile{padding:.55rem .85rem;border-radius:12px;border:2px solid var(--line-2);background:#fff;color:var(--ink);font:800 1rem var(--fb);cursor:pointer;
  box-shadow:0 4px 0 #ddd2ff;transition:transform .12s,opacity .2s}
.rv-tile:not(:disabled):hover{transform:translateY(-2px)}
.rv-tile:not(:disabled):active{transform:translateY(3px);box-shadow:0 1px 0 #ddd2ff}
.rv-tile.on{background:linear-gradient(180deg,#f5d0fe,#e9d5ff);border-color:#c084fc;box-shadow:0 4px 0 #c084fc;animation:auPop .25s var(--ease) both}
.rv-tile.used{opacity:.25}
.rv-ord-act{display:flex;justify-content:space-between;gap:.6rem}
.rv-fb{position:sticky;bottom:1rem;z-index:20;display:flex;align-items:center;gap:1rem;margin-top:1rem;padding:1rem 1.1rem;border-radius:20px;animation:rvUp .35s var(--ease) both}
@keyframes rvUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.rv-fb.ok{background:linear-gradient(120deg,#dcfce7,#bbf7d0);color:#14532d;box-shadow:0 0 0 1px rgba(34,197,94,.4),0 18px 40px -16px rgba(34,197,94,.9)}
.rv-fb.bad{background:linear-gradient(120deg,#ffe4e6,#fecdd3);color:#881337;box-shadow:0 0 0 1px rgba(244,63,94,.4),0 18px 40px -16px rgba(244,63,94,.9)}
.rv-fb-t{flex:1;display:grid;gap:.2rem;min-width:0}
.rv-fb-t b{font-size:1.05rem}
.rv-fb-t small{font-weight:700;opacity:.9}
.rv-fb .btn{flex:none}
.rv-fb.ok .btn{--t:#16a34a;--t-ink:#14532d}
.rv-fb.bad .btn{--t:#e11d48;--t-ink:#881337}
.rv-end .rc-rgrid{grid-template-columns:repeat(3,1fr);width:100%;max-width:30rem}
@media (max-width:640px){
  .rv-opts,.rv-opts.gap{grid-template-columns:1fr}
  .rv-boss-em{font-size:2.8rem}
  .rv-fb{flex-direction:column;align-items:stretch}
  .rv-intro-boss,.rv-end-em{font-size:4.2rem}
  .rv-go{min-width:0;width:100%}
}

/* ---------- Tungi mavzu ---------- */
.theme-midnight .ln-task,.theme-midnight .rc-opt,.theme-midnight .rc-rules span{background:rgba(30,32,70,.8);color:inherit;border-color:rgba(160,165,255,.2)}
.theme-midnight .lv-skel,.theme-midnight .ln-skel{background:linear-gradient(100deg,#1e2046 30%,#2a2d5e 50%,#1e2046 70%) 0 0/200% 100%!important}

/* ---------- Mobil ---------- */
@media (max-width:1100px){.ln-cols{grid-template-columns:1fr}.ln-side{position:static}}
@media (max-width:640px){
  .ln-hero{flex-direction:column;align-items:flex-start;padding:1.3rem}
  .ln-ring{position:absolute;right:1rem;top:1rem;width:84px;height:84px}
  .ln-ring-in b{font-size:1.15rem}.ln-ring-in small{font-size:.7rem}
  .ln-hero h1{padding-right:5.5rem}
  .ln-today{padding:1.2rem}
  .ln-today::after{font-size:2.4rem;right:.8rem;top:.8rem}
  .ln-title{margin-right:0}
  .ln-start{min-width:0;width:100%}
  .rc-hero{padding:1.3rem}.rc-bolt{font-size:3.2rem}
  .rc-stats{gap:.5rem}.rc-stat b{font-size:1.25rem}
  .rc-hud{grid-template-columns:1fr 1fr 1fr}
  .rc-hud .rc-mute{display:none}
  .rc-opts{grid-template-columns:1fr}
  .rc-opt{min-height:3.4rem}
  .rc-rgrid{grid-template-columns:repeat(2,1fr)}
}
@media (prefers-reduced-motion:reduce){.lv-card,.rc-card,.rc-count span{animation:none}}


/* ==== /css/galaxy.css ==== */
/* =========================================================
   EasyStudy v7 "Galaxy Neon" — yorqin, energiyali uslub.
   To'q kosmik fon + suzuvchi neon nurlar + yulduzlar; oq kartalar rangli nur bilan porlaydi;
   neon gradient tugmalar; har bo'lim o'z yorqin rangida. aurora.css ustidan yuklanadi.
   Qaytarish: assets() / app/index.html dan galaxy.css qatorini olib tashlang.
   ========================================================= */

:root{
  --fh:"Unbounded","Plus Jakarta Sans",system-ui,sans-serif;
  --fb:"Plus Jakarta Sans","Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;
  --t:#a855f7;--t-ink:#6d28d9;--t-soft:#f3e8ff;
  --ink:#1b1238;--ink-2:#433a6e;--muted:#6f6799;
  --paper:#fff;--soft:#f6f1ff;--line:#eee7ff;--line-2:#ddd2ff;
  --brand:#8b5cf6;--brand-ink:#6d28d9;--brand-soft:#f3ecff;
  --n1:#ff3d9a;--n2:#a855f7;--n3:#38bdf8;--n4:#facc15;--n5:#34d399;--n6:#fb923c;
  --neon:linear-gradient(120deg,#ff3d9a 0%,#a855f7 48%,#38bdf8 100%);
  --sky-a:#0b0520;--sky-b:#1b0b45;--sky-c:#0a0f33;
  --g1:rgba(236,72,153,.55);--g2:rgba(56,189,248,.45);--g3:rgba(139,92,246,.55);
  --r:22px;
  --c-sh:0 1px 0 rgba(255,255,255,.9) inset,0 22px 50px -22px rgba(124,58,237,.75),0 8px 20px -12px rgba(15,5,50,.6);
  --c-sh-lg:0 1px 0 rgba(255,255,255,.9) inset,0 0 0 2px rgba(255,61,154,.35),0 30px 70px -24px rgba(168,85,247,.9),0 10px 26px -12px rgba(15,5,50,.6);
  --st:var(--c-sh);--st-lg:var(--c-sh-lg);--st-sm:0 10px 24px -14px rgba(124,58,237,.7);
  --au-sh:var(--c-sh);--au-sh-lg:var(--c-sh-lg);--au-sh-sm:0 10px 24px -14px rgba(124,58,237,.7);
  --au-glass:#fff;--au-b:1px solid rgba(255,255,255,.75);
  --edge:rgba(124,58,237,.15);
  --ease:cubic-bezier(.22,1,.36,1);
}
/* Mavzular endi neon rang palitrasini almashtiradi */
.theme-sky{--g1:rgba(56,189,248,.6);--g2:rgba(45,212,191,.45);--g3:rgba(59,130,246,.55);--sky-b:#06204a}
.theme-mint{--g1:rgba(52,211,153,.55);--g2:rgba(56,189,248,.4);--g3:rgba(16,185,129,.45);--sky-b:#052e2b}
.theme-peach{--g1:rgba(251,146,60,.6);--g2:rgba(250,204,21,.4);--g3:rgba(244,63,94,.45);--sky-b:#3b0d0d}
.theme-rose{--g1:rgba(244,114,182,.65);--g2:rgba(251,113,133,.45);--g3:rgba(192,132,252,.5);--sky-b:#3a0828}
.theme-lavender{--g1:rgba(192,132,252,.6);--g2:rgba(129,140,248,.5);--g3:rgba(236,72,153,.45)}
.theme-midnight{--sky-a:#03030c;--sky-b:#0b1030;--sky-c:#050816}
.theme-royal{--g1:rgba(250,204,21,.45);--g2:rgba(168,85,247,.55);--g3:rgba(236,72,153,.4);--sky-b:#2a0b4d}

/* ---------- Kosmik fon: yulduzlar + neon nurlar ---------- */
html{background:var(--sky-a)}
body,body.login,body[class*="theme-"]{
  color:var(--ink);font:600 1rem/1.6 var(--fb);
  background:
    radial-gradient(1.2px 1.2px at 22px 34px,rgba(255,255,255,.9) 50%,transparent 52%) 0 0/140px 140px,
    radial-gradient(1px 1px at 90px 80px,rgba(255,255,255,.65) 50%,transparent 52%) 0 0/190px 190px,
    radial-gradient(1.6px 1.6px at 60px 130px,rgba(255,236,170,.85) 50%,transparent 52%) 0 0/260px 260px,
    radial-gradient(1px 1px at 150px 20px,rgba(186,230,253,.8) 50%,transparent 52%) 0 0/310px 310px,
    radial-gradient(70rem 46rem at 105% -10%,var(--g1),transparent 60%),
    radial-gradient(64rem 50rem at -10% 110%,var(--g2),transparent 62%),
    radial-gradient(48rem 36rem at 55% 45%,var(--g3),transparent 70%),
    linear-gradient(165deg,var(--sky-a) 0%,var(--sky-b) 48%,var(--sky-c) 100%) !important;
  background-attachment:fixed !important}
body::before,body::after,body.login::before,body.login::after{
  content:"" !important;display:block !important;position:fixed !important;z-index:0 !important;pointer-events:none;border-radius:50%;filter:blur(80px) !important;opacity:.7 !important}
body::before,body.login::before{width:38rem !important;height:38rem !important;top:-10rem !important;right:5% !important;left:auto !important;bottom:auto !important;
  background:radial-gradient(circle,#ff3d9a,transparent 68%) !important;animation:gxDrift1 22s ease-in-out infinite alternate !important}
body::after,body.login::after{width:34rem !important;height:34rem !important;bottom:-12rem !important;left:18% !important;top:auto !important;right:auto !important;
  background:radial-gradient(circle,#22d3ee,transparent 68%) !important;animation:gxDrift2 28s ease-in-out infinite alternate !important}
@keyframes gxDrift1{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-18rem,12rem) scale(1.2)}100%{transform:translate(-6rem,22rem) scale(.9)}}
@keyframes gxDrift2{0%{transform:translate(0,0) scale(1)}50%{transform:translate(20rem,-10rem) scale(1.25)}100%{transform:translate(34rem,-2rem) scale(1)}}
.app,.l-art,.l-form{position:relative;z-index:1}
::selection{background:#ff3d9a;color:#fff}

/* ---------- Tipografiya ---------- */
h1,h2,h3{font-family:var(--fh);font-weight:800;letter-spacing:-.02em;line-height:1.18;color:var(--ink)}
h1{font-size:clamp(1.6rem,2.8vw,2.3rem)}
h2{font-size:clamp(1.05rem,1.6vw,1.3rem)}
h3{font-family:var(--fb);font-weight:800;letter-spacing:-.01em}
/* Fon ustidagi (karta tashqarisidagi) matnlar — yorqin */
.main>h1,.main>h2,.main>h3,.main>header h1,.main>header h2,.main>section:not(.card):not(.panel)>h2,.main>div:not(.card):not(.panel)>h2,.main>.greetbar,.main>.greetbar *:not(.av):not(.av *){color:#fff}
.main>h1{font-size:clamp(1.8rem,3.4vw,2.7rem);text-shadow:0 0 28px rgba(255,61,154,.35)}
/* Sarlavha va izoh boshqa o'ramlar ichida bo'lsa ham (kartadan tashqarida) — yorqin */
.main h1{color:#fff}
.main .lead{color:rgba(236,232,255,.82)}
:is(.card,.panel,.grid,.l-form form,.lv-card,.rc-res,.ln-today,.ln-promo,dialog,.modal,.cheer-card,fieldset.q) :is(h1,.lead){color:var(--ink)}
:is(.card,.panel,.grid,dialog,.modal) .lead{color:var(--muted)}
.trk-top b{font-family:var(--fb) !important;font-weight:800 !important;letter-spacing:-.02em}
.path{background:linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent) !important;border-inline-color:rgba(255,255,255,.14) !important}
.main>.tabs,.main>div>.tabs{background:rgba(255,255,255,.07) !important;border:1px solid rgba(255,255,255,.14) !important;box-shadow:none !important;backdrop-filter:blur(10px)}
:is(.card,.panel) .tabs a{background:#f5f0ff;color:var(--ink);border-color:var(--line-2)}
.main>p,.main>.lead,.main>small,.main>label,.main>div:not([class])>p,.main>.muted,.main>p.muted,.main>p.small{color:rgba(236,232,255,.82)}
.main>p b,.main>.lead b{color:#fff}
.main>p a:not(.btn),.main>.lead a:not(.btn){color:#f9a8d4}
.hl,h1 .hl{background:linear-gradient(100deg,#fff 0%,#ffd6f0 40%,#a5f3fc 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;padding:0 .02em}
.card .hl,.panel .hl{background:linear-gradient(100deg,#ff3d9a,#a855f7 55%,#38bdf8);-webkit-background-clip:text;background-clip:text}
.eyebrow{display:inline-flex;align-items:center;gap:.4rem;background:rgba(255,255,255,.08);color:#fde68a;border:1px solid rgba(255,255,255,.18);border-radius:99px;padding:.32rem .85rem;
  font:800 .7rem var(--fb);letter-spacing:.16em;text-transform:uppercase;box-shadow:0 0 18px rgba(250,204,21,.18);backdrop-filter:blur(8px)}
.eyebrow::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:#facc15;box-shadow:0 0 10px #facc15}
a.eyebrow:hover{background:rgba(255,255,255,.16);color:#fff}
.eyebrow .i{display:none}
:focus-visible{outline:3px solid #ff3d9a;outline-offset:3px}

/* ---------- Yon panel: to'q shisha + neon ---------- */
body .app .side.side{background:linear-gradient(180deg,rgba(24,10,62,.82) 0%,rgba(13,6,38,.9) 100%) !important;color:#e9e4ff;
  border-right:1px solid rgba(255,255,255,.08) !important;box-shadow:20px 0 60px -34px rgba(168,85,247,.9) !important;backdrop-filter:blur(22px) saturate(1.4)}
body .app .side .brand{color:#fff;font:800 1.45rem var(--fh);letter-spacing:-.03em}
.side .brand b,.l-art .brand b,.brand b{background:linear-gradient(90deg,#facc15,#ff3d9a);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.side .logo,.l-art .logo{color:#ff3d9a !important;filter:drop-shadow(0 0 12px rgba(255,61,154,.8)) !important}
body .app .side nav a{color:rgba(236,232,255,.78) !important;font:700 .9rem var(--fb) !important;border:0 !important;border-radius:14px !important;background:transparent;transition:background-color .25s var(--ease),color .2s,transform .25s var(--ease)}
body .app .side nav a .i{color:#fff !important;background:var(--ig,linear-gradient(135deg,#c084fc,#7c3aed)) !important;border:0 !important;border-radius:11px !important;
  box-shadow:0 6px 16px -6px var(--igc,#7c3aed),inset 0 1px 0 rgba(255,255,255,.35) !important;transition:transform .35s var(--ease)}
body .app .side nav a:hover{background:rgba(255,255,255,.07) !important;color:#fff !important;transform:translateX(3px)}
body .app .side nav a:hover .i{transform:scale(1.1) rotate(-6deg)}
body .app .side nav a[aria-current]{background:linear-gradient(110deg,rgba(255,61,154,.95),rgba(168,85,247,.95) 60%,rgba(99,102,241,.95)) !important;color:#fff !important;
  box-shadow:0 10px 30px -10px rgba(255,61,154,.9),inset 0 1px 0 rgba(255,255,255,.3) !important;transform:none}
body .app .side nav a[aria-current] .i{background:#fff !important;color:#c026d3 !important;box-shadow:none !important}
.side nav a[href*="dashboard"],.side nav a[href="student.php"],.side nav a[href="index.php"],.side nav a[href*="admin"]{--ig:linear-gradient(135deg,#ffc04d,#ff6a00);--igc:#ff6a00}
.side nav a[href*="listening"]{--ig:linear-gradient(135deg,#5eead4,#0284c7);--igc:#0ea5e9}
.side nav a[href*="reading"]{--ig:linear-gradient(135deg,#d8b4fe,#7c3aed);--igc:#8b5cf6}
.side nav a[href*="writing"]{--ig:linear-gradient(135deg,#fda4af,#e11d48);--igc:#f43f5e}
.side nav a[href*="speaking"]{--ig:linear-gradient(135deg,#6ee7b7,#059669);--igc:#10b981}
.side nav a[href*="math"]{--ig:linear-gradient(135deg,#93c5fd,#2563eb);--igc:#3b82f6}
.side nav a[href*="english"]{--ig:linear-gradient(135deg,#f9a8d4,#db2777);--igc:#ec4899}
.side nav a[href$="/ai"],.side nav a[href*="s=ai"]{--ig:linear-gradient(135deg,#c4b5fd,#6d28d9);--igc:#8b5cf6}
.side nav a[href*="donoxon"]{--ig:linear-gradient(135deg,#fde68a,#d97706);--igc:#f59e0b}
.side nav a[href*="vocab"]{--ig:linear-gradient(135deg,#fdba74,#e11d48);--igc:#f43f5e}
.side nav a[href*="learn"]{--ig:linear-gradient(135deg,#fed7aa,#ea580c);--igc:#f97316}
.side nav a[href*="race"]{--ig:linear-gradient(135deg,#fde047,#f43f5e);--igc:#f43f5e}
.side nav a[href*="friends"]{--ig:linear-gradient(135deg,#fbcfe8,#db2777);--igc:#ec4899}
.side nav a[href*="rating"]{--ig:linear-gradient(135deg,#fef08a,#ca8a04);--igc:#eab308}
.side nav a[href*="skins"]{--ig:linear-gradient(135deg,#fed7aa,#f97316);--igc:#f97316}
.side nav a[href*="track"],.side nav a[href*="level"],.side nav a[href*="placement"]{--ig:linear-gradient(135deg,#a7f3d0,#10b981);--igc:#10b981}
.side nav a[href*="students"],.side nav a[href*="tests"],.side nav a[href*="results"],.side nav a[href*="reports"],.side nav a[href*="account"]{--ig:linear-gradient(135deg,#bae6fd,#6366f1);--igc:#6366f1}
body .app .side .sep{background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent) !important}
body .app .side .me-chips>span,body .app .side .me-chips>a{background:rgba(255,255,255,.07) !important;color:#fff !important;border:1px solid rgba(255,255,255,.14) !important;box-shadow:none !important;border-radius:99px;font-weight:800}
body .app .side .me-chips>a:hover{background:rgba(255,255,255,.15) !important}
.me-chips .bolt .i{color:#facc15 !important;filter:drop-shadow(0 0 6px #facc15)}
.me-chips .coinc .i{color:#fbbf24 !important;filter:drop-shadow(0 0 6px #fbbf24)}
.me-chips .flame .i{color:#fb923c !important;filter:drop-shadow(0 0 6px #fb923c)}
body .app .side .who{background:rgba(255,255,255,.06) !important;border:1px solid rgba(255,255,255,.12) !important}
body .app .side .who b{color:#fff !important}
body .app .side .who div span{color:rgba(236,232,255,.6) !important}
body .app .side .who a{color:rgba(236,232,255,.75) !important}
body .app .side .who a:hover{background:rgba(255,255,255,.1) !important;color:#fff !important}
body .app .side .lang-btn{background:rgba(255,255,255,.07) !important;border-color:rgba(255,255,255,.16) !important;color:#fff !important}
.av{border:2px solid rgba(255,255,255,.85) !important;box-shadow:0 0 0 3px rgba(255,61,154,.35),0 6px 16px -6px rgba(0,0,0,.5) !important}
.nbadge{background:linear-gradient(135deg,#ff3d9a,#fb923c) !important;color:#fff !important;border:0 !important;box-shadow:0 0 12px rgba(255,61,154,.8) !important}

/* ---------- Kartalar: oq, rangli nur bilan ---------- */
.card:not(.prompt),.panel,.grid,.lb,.sv-step,.srow,table,.badge,.skcard,fieldset.q,.tcard,.stat,.mode.slim{
  background-color:#fff;border:1px solid rgba(255,255,255,.8);border-radius:var(--r);box-shadow:var(--c-sh);backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--ink)}
.prompt{background-color:#fff;border:1px solid rgba(255,255,255,.8);border-left:6px solid var(--t);box-shadow:var(--c-sh)}
@media (hover:hover){
  a.card:hover,.tcard:hover,.stat:hover,.mode:hover,a.sec:hover,a.statlink:hover,.tilt:hover,.skcard:hover{transform:translateY(-5px) scale(1.01);box-shadow:var(--c-sh-lg);background-color:#fff}
}
.si{border:0;box-shadow:0 8px 18px -8px var(--t)}
.stats strong{font:800 2rem/1.05 var(--fh);letter-spacing:-.03em}
.chip{border:0;font:800 .72rem var(--fb);letter-spacing:.02em}

/* ---------- Tugmalar: neon ---------- */
.btn{position:relative;overflow:hidden;isolation:isolate;font:800 .95rem var(--fb);letter-spacing:.01em;border-radius:16px;border:0;transition:transform .25s var(--ease),box-shadow .25s var(--ease),filter .2s}
.btn:where(:not(.ghost,.light,.danger)){color:#fff;
  background:linear-gradient(120deg,color-mix(in srgb,var(--t) 82%,#fff) 0%,var(--t) 45%,color-mix(in srgb,var(--t) 55%,var(--t-ink)) 100%);
  box-shadow:0 12px 28px -10px color-mix(in srgb,var(--t) 90%,transparent),0 0 0 1px rgba(255,255,255,.12) inset,0 1px 0 rgba(255,255,255,.35) inset}
.btn:where(:not(.ghost,.light,.danger))::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);transform:translateX(-130%);transition:transform .8s var(--ease)}
.btn:where(:not(.ghost,.light,.danger)):hover{transform:translateY(-2px);filter:brightness(1.08) saturate(1.15);box-shadow:0 18px 36px -12px color-mix(in srgb,var(--t) 100%,transparent),0 0 24px -4px color-mix(in srgb,var(--t) 70%,transparent),0 1px 0 rgba(255,255,255,.4) inset}
.btn:where(:not(.ghost,.light,.danger)):hover::after{transform:translateX(130%)}
.btn:where(:not(.ghost,.light,.danger)):active{transform:translateY(0) scale(.97)}
.btn.big:where(:not(.ghost,.light,.danger))::after{animation:gxSheen 3.2s ease-in-out infinite}
@keyframes gxSheen{0%,55%{transform:translateX(-130%)}85%,100%{transform:translateX(130%)}}
.btn.ghost,.btn.light{background:#fff;color:var(--ink);border:1px solid var(--line-2);box-shadow:0 8px 20px -14px rgba(124,58,237,.7)}
.btn.ghost:hover,.btn.light:hover{background:#fff;color:#c026d3;border-color:#f0abfc;transform:translateY(-2px);box-shadow:0 0 0 3px rgba(255,61,154,.15),0 14px 28px -14px rgba(168,85,247,.8)}
.main>.btn.ghost,.main>.links .btn.ghost,.main>p .btn.ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.22)}
.btn:disabled{background:#ece8f6 !important;color:#a5a0c2 !important;box-shadow:none !important;filter:none !important}

/* ---------- Formalar ---------- */
input:where(:not([type=radio],[type=checkbox],[type=range],[type=file],[type=color],[type=hidden])),select,textarea{background:#fff;border:2px solid var(--line-2);border-radius:14px;font:700 1rem var(--fb);color:var(--ink)}
input:focus,select:focus,textarea:focus{border-color:#d946ef;box-shadow:0 0 0 4px rgba(217,70,239,.18),0 0 20px -4px rgba(217,70,239,.5);outline:none}

/* ---------- Progress, xabar, jadval ---------- */
.bar{background:#efeafc;box-shadow:inset 0 1px 3px rgba(40,20,120,.15)}
.bar i{background-image:linear-gradient(90deg,color-mix(in srgb,var(--t) 70%,#fff),var(--t) 60%,color-mix(in srgb,var(--t) 70%,#ff3d9a));box-shadow:0 0 12px -2px var(--t)}
.coinbar i{background-image:linear-gradient(90deg,#fde047,#f59e0b)}
.msg{background:linear-gradient(135deg,#ecfdf5,#d1fae5);border:0;color:#065f46;box-shadow:0 0 0 1px rgba(16,185,129,.3),0 12px 30px -14px rgba(16,185,129,.8)}
.msg.err{background:linear-gradient(135deg,#fff1f2,#ffe4e6);color:#9f1239;box-shadow:0 0 0 1px rgba(244,63,94,.3),0 12px 30px -14px rgba(244,63,94,.8)}
th{background:linear-gradient(90deg,#fdf2ff,#f3ecff);color:#7e22ce}
.tabs a{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.2)}
.tabs a:hover{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.35)}
.tabs a[aria-current]{background:var(--neon);border-color:transparent;color:#fff;box-shadow:0 10px 24px -10px rgba(255,61,154,.9)}

/* ---------- Bosh sahifa ---------- */
.tipline{background:linear-gradient(120deg,#fff7c2 0%,#ffe27a 60%,#ffd166 100%) !important;border:0 !important;color:#5a3d00 !important;box-shadow:0 0 0 1px rgba(255,255,255,.6) inset,0 16px 40px -18px rgba(250,204,21,.9) !important}
.tipline .i{color:#d97706}
.unit-head{background:linear-gradient(120deg,color-mix(in srgb,var(--t) 75%,#fff) 0%,var(--t) 42%,color-mix(in srgb,var(--t) 60%,var(--t-ink)) 100%) !important;
  box-shadow:0 22px 50px -18px var(--t),0 0 0 1px rgba(255,255,255,.18) inset !important}
.unit-head::before{background:rgba(255,255,255,.16)}
.unit-head h2{font:800 1.45rem var(--fh);color:#fff !important;letter-spacing:-.02em}
.node{background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--t) 55%,#fff),var(--t) 60%,color-mix(in srgb,var(--t) 70%,#000));
  box-shadow:0 6px 0 color-mix(in srgb,var(--t) 55%,#000),0 0 28px -2px var(--t),inset 0 2px 0 rgba(255,255,255,.45) !important}
.node.todo{background:rgba(255,255,255,.1) !important;color:rgba(236,232,255,.5) !important;box-shadow:0 6px 0 rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.15) !important;backdrop-filter:blur(6px)}
.node.perfect{background:radial-gradient(circle at 35% 30%,#fff3b0,#facc15 60%,#ca8a04) !important;color:#5a3d00 !important;box-shadow:0 6px 0 #a16207,0 0 34px -2px #facc15 !important}
.node.cur,.node.todo.cur{background:radial-gradient(circle at 35% 30%,color-mix(in srgb,var(--t) 55%,#fff),var(--t) 60%,color-mix(in srgb,var(--t) 70%,#000)) !important;color:#fff !important;
  box-shadow:0 6px 0 color-mix(in srgb,var(--t) 55%,#000),0 0 34px 0 var(--t),inset 0 2px 0 rgba(255,255,255,.45) !important;animation:gxPulse 2s ease-in-out infinite}
/* PHP sahifalarida salomlashuv fon ustida turadi (Vue'da u oq kartada) */
body>.app .greetbar:not(.card) .greet,body>.app .greetbar:not(.card) b{color:#fff !important;text-shadow:0 0 24px rgba(255,61,154,.35)}
body>.app .greetbar:not(.card) .g-date,body>.app .greetbar:not(.card) p:not(.greet){color:rgba(236,232,255,.7) !important}
@keyframes gxPulse{50%{filter:drop-shadow(0 0 22px var(--t)) brightness(1.1)}}
.node-tip,.cast-tip{background:#fff;color:var(--ink);box-shadow:0 0 22px -4px rgba(255,61,154,.6)}
.greetbar .greet{font:800 1.7rem/1.2 var(--fh)}
.rank-row .rk{background:linear-gradient(135deg,#facc15,#ff3d9a);-webkit-background-clip:text;background-clip:text;color:transparent}

/* Yorliqlar: fon ustida — shisha, karta ichida — sariq */
.main>.eyebrow,.main>header .eyebrow,.main>div:not(.card):not(.panel)>.eyebrow{background:rgba(255,255,255,.08) !important;color:#fde68a !important;border:1px solid rgba(255,255,255,.18) !important}
:is(.card,.panel,.units,.unit,fieldset.q,.lv-card,dialog,.modal) .eyebrow{background:#fff3c4 !important;color:#92400e !important;border:1px solid #fde68a !important;box-shadow:none !important}
:is(.card,.panel,.units,.unit,fieldset.q,dialog,.modal) .eyebrow::before{background:#f59e0b;box-shadow:none}
/* Sozlamalar: mavzu namunalari yangi neon palitralarni ko'rsatadi */
.theme-pick .theme-sw .prev em{background:linear-gradient(180deg,#1b0b45,#0d0626) !important}
.theme-pick .theme-sw:nth-child(1) .prev i{background:radial-gradient(circle at 80% 20%,#ec4899,transparent 60%),radial-gradient(circle at 20% 90%,#38bdf8,transparent 60%),#1b0b45 !important}
.theme-pick .theme-sw:nth-child(2) .prev i{background:radial-gradient(circle at 80% 20%,#c084fc,transparent 60%),radial-gradient(circle at 20% 90%,#818cf8,transparent 60%),#1b0b45 !important}
.theme-pick .theme-sw:nth-child(3) .prev i{background:radial-gradient(circle at 80% 20%,#38bdf8,transparent 60%),radial-gradient(circle at 20% 90%,#2dd4bf,transparent 60%),#06204a !important}
.theme-pick .theme-sw:nth-child(4) .prev i{background:radial-gradient(circle at 80% 20%,#34d399,transparent 60%),radial-gradient(circle at 20% 90%,#38bdf8,transparent 60%),#052e2b !important}
.theme-pick .theme-sw:nth-child(5) .prev i{background:radial-gradient(circle at 80% 20%,#fb923c,transparent 60%),radial-gradient(circle at 20% 90%,#facc15,transparent 60%),#3b0d0d !important}
.theme-pick .theme-sw:nth-child(6) .prev i{background:radial-gradient(circle at 80% 20%,#f472b6,transparent 60%),radial-gradient(circle at 20% 90%,#fb7185,transparent 60%),#3a0828 !important}
.theme-pick .theme-sw:nth-child(7) .prev i{background:radial-gradient(circle at 80% 20%,#ec4899,transparent 65%),#03030c !important}
.theme-pick .theme-sw:nth-child(8) .prev i{background:radial-gradient(circle at 80% 20%,#facc15,transparent 60%),radial-gradient(circle at 20% 90%,#a855f7,transparent 60%),#2a0b4d !important}

/* ---------- Test ---------- */
#quiz fieldset.q legend{color:#fff;font-family:var(--fb) !important;font-weight:800 !important;letter-spacing:-.01em;text-shadow:0 2px 18px rgba(0,0,0,.35)}
#quiz fieldset.q legend .hardtag,#quiz fieldset.q legend [class*="hard"]{text-shadow:none}
.quizbar,.qtop{color:#fff}
body:has(#quiz) .quizbar,body:has(#quiz) .qnav{background:rgba(14,7,40,.8) !important;backdrop-filter:blur(16px);border-color:rgba(255,255,255,.1) !important;color:#fff}
.qn{background:var(--neon) !important;color:#fff;box-shadow:0 0 16px -2px rgba(255,61,154,.7)}
.opt{background:#fff;border:2px solid var(--line-2);box-shadow:0 8px 20px -14px rgba(124,58,237,.7)}
@media (hover:hover){.opt:hover{border-color:#e879f9;box-shadow:0 0 0 3px rgba(232,121,249,.15),0 12px 26px -14px rgba(168,85,247,.8)}}
.opt:has(input:checked){border-color:var(--t);background:color-mix(in srgb,var(--t) 10%,#fff);box-shadow:0 0 0 4px color-mix(in srgb,var(--t) 22%,transparent),0 0 24px -6px var(--t)}
.opt:has(input:checked) .ol{background:linear-gradient(135deg,color-mix(in srgb,var(--t) 70%,#fff),var(--t));color:#fff;border-color:transparent}
.result .rbig{background:var(--neon);-webkit-background-clip:text;background-clip:text;color:transparent}
.cheer-card{box-shadow:0 0 0 2px rgba(255,61,154,.4),0 40px 90px -20px rgba(168,85,247,.9) !important}

/* ---------- Kirish / ro'yxatdan o'tish ---------- */
.l-art{background:transparent !important;box-shadow:none !important;border:0 !important;animation:none !important}
.l-art::before{content:"";position:absolute;z-index:-1;left:50%;top:42%;width:min(34rem,90%);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;
  background:conic-gradient(from 0deg,#ff3d9a,#a855f7,#38bdf8,#34d399,#facc15,#ff3d9a);filter:blur(60px);opacity:.45;animation:gxSpin 18s linear infinite}
@keyframes gxSpin{to{transform:translate(-50%,-50%) rotate(360deg)}}
.l-art h2{color:#fff !important;font:800 clamp(1.7rem,3vw,2.6rem)/1.15 var(--fh) !important;text-shadow:0 0 30px rgba(255,61,154,.45) !important}
.l-art h2 .hl{background:linear-gradient(90deg,#facc15,#ff3d9a) !important;-webkit-background-clip:text !important;background-clip:text !important;color:transparent !important;-webkit-text-fill-color:transparent}
.l-art p{color:rgba(236,232,255,.85) !important}
.l-pills span{box-shadow:0 0 22px -4px currentColor;border:1px solid rgba(255,255,255,.35)}
.cast-i .skin{filter:drop-shadow(0 0 18px rgba(255,255,255,.35)) drop-shadow(0 14px 18px rgba(0,0,0,.4)) !important}
main.l-form,.l-form{background:transparent !important;background-image:none !important;border:0 !important;box-shadow:none !important}
.l-form form{background:#fff !important;border:0 !important;box-shadow:0 0 0 1px rgba(255,255,255,.6) inset,0 0 0 6px rgba(255,61,154,.12),0 40px 90px -30px rgba(168,85,247,.95) !important}
.l-form h1{font-size:clamp(1.5rem,2.4vw,2rem) !important;color:var(--ink) !important}
.l-form form .btn:where(:not(.ghost,.light,.danger)){background:var(--neon) !important;box-shadow:0 14px 30px -12px rgba(255,61,154,.9) !important}

/* ---------- Mening sahifalarim (Learning English, So'z poygasi) ---------- */
.ln-plan,.ln-path-w{background:#fff;border:1px solid rgba(255,255,255,.8);box-shadow:var(--c-sh);backdrop-filter:none}
.ln-hero,.rc-hero{box-shadow:0 0 0 1px rgba(255,255,255,.18) inset,0 24px 60px -18px rgba(255,61,154,.75),0 0 40px -10px rgba(168,85,247,.6) !important}
.rc-hud>div{background:#fff;border:0;box-shadow:var(--c-sh)}
.rc-rules span{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.2)}
.rc-count span{background:linear-gradient(135deg,#facc15,#ff3d9a 50%,#38bdf8);-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 30px rgba(255,61,154,.6))}
.rc-go{background:linear-gradient(110deg,#facc15,#ff3d9a 45%,#a855f7) !important;color:#fff;box-shadow:0 18px 40px -14px rgba(255,61,154,.95) !important}
.lv-card{background:#fff}
.lv-tip{color:#5a3d00}
.ln-toast{box-shadow:0 0 30px rgba(52,211,153,.7)}
.rc-hud .rc-mute{background:#fff;color:var(--ink-2)}

/* ---------- Skroll ---------- */
*{scrollbar-color:#7c3aed transparent}
::-webkit-scrollbar-thumb{background:linear-gradient(#ff3d9a,#7c3aed);border-radius:99px;border:3px solid transparent;background-clip:padding-box}

/* ---------- Mobil ---------- */
@media (max-width:820px){
  body .app .side.side{border-right:0 !important;border-bottom:1px solid rgba(255,255,255,.08) !important;box-shadow:0 14px 40px -24px rgba(168,85,247,.9) !important}
  body .app .side nav{background:rgba(16,7,44,.92) !important;border-top:1px solid rgba(255,255,255,.1) !important;backdrop-filter:blur(18px) !important;box-shadow:0 -14px 40px -16px rgba(168,85,247,.7) !important}
  body .app .side nav.mnav-open{border:1px solid rgba(255,255,255,.12) !important}
  body .app .side nav a:hover{transform:none}
  .fmenu-btn,.mnav-btn{background:rgba(255,255,255,.1) !important;color:#fff !important;border:1px solid rgba(255,255,255,.25) !important;backdrop-filter:blur(10px);box-shadow:0 0 20px -6px rgba(255,61,154,.7) !important}
  .main>h1{font-size:1.65rem}
  body::before,body::after{opacity:.5 !important}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none !important}}


/* ==== /css/es-battle.css ==== */
/* EasyStudy — "Bilim arenasi" (js/es-battle.js) */
html.eb-lock { overflow: hidden; }
.eb, .eb *, .eb *::before, .eb *::after { box-sizing: border-box; }
.eb {
  --blue: #38bdf8; --red: #f43f5e; --gold: #facc15; --ink: #f5f0ff; --mut: #c4b5fd;
  --fh: "Unbounded", "Plus Jakarta Sans", system-ui, sans-serif;
  --sb: env(safe-area-inset-bottom, 0px); --st: env(safe-area-inset-top, 0px);
  position: fixed; inset: 0; z-index: 9999; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  color: var(--ink); font-family: "Plus Jakarta Sans", "Nunito", system-ui, sans-serif;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
  background:
    radial-gradient(90% 60% at 0% 0%, rgba(56, 189, 248, .22), transparent 60%),
    radial-gradient(90% 60% at 100% 0%, rgba(244, 63, 94, .22), transparent 60%),
    radial-gradient(120% 80% at 50% 120%, rgba(168, 85, 247, .35), transparent 60%),
    linear-gradient(180deg, #120734 0%, #07031a 60%, #0a0f33 100%);
  animation: eb-fade .25s ease-out both;
}
.eb.eb-out { animation: eb-fade .25s ease-in reverse both; }
.eb-sky { position: fixed; inset: 0; pointer-events: none; }
.eb-sky i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .25; animation: eb-twinkle 3s ease-in-out infinite; }
.eb-screen { position: relative; min-height: 100%; width: min(980px, 100%); margin: 0 auto; padding: calc(28px + var(--st)) 16px calc(32px + var(--sb)); display: flex; flex-direction: column; align-items: center; text-align: center; }
.eb button { font: inherit; color: inherit; -webkit-user-select: none; user-select: none; }
.eb-x { position: absolute; top: calc(14px + var(--st)); right: 14px; z-index: 5; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.eb-x:hover, .eb-x:focus-visible { background: rgba(255, 255, 255, .22); outline: none; }
.eb-tl { position: absolute; top: calc(14px + var(--st)); left: 14px; z-index: 5; display: flex; gap: 6px; }

.eb-eb { margin: 6px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #fbcfe8; }
.eb-h1 {
  margin: 0; font-family: var(--fh); font-weight: 900; font-size: clamp(30px, 7vw, 56px); line-height: 1; letter-spacing: .01em; font-style: italic;
  background: linear-gradient(180deg, #fff 0%, #fde68a 45%, #f59e0b 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 #7c2d12) drop-shadow(0 0 22px rgba(250, 204, 21, .45));
  animation: eb-slam .55s cubic-bezier(.2, 1.6, .4, 1) both;
}
.eb-h1.sm { font-size: clamp(22px, 5vw, 38px); }
.eb-h2 { margin: 0 0 6px; font-family: var(--fh); font-size: 24px; font-weight: 900; }
.eb-sub { max-width: 36em; margin: 12px auto 0; font-size: 15px; line-height: 1.5; color: #ddd6fe; }
.eb-sub b { color: #fff; }
.eb-note { margin: 12px 0 0; font-size: 13px; color: #a5b4fc; }

.eb-acts { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; margin-top: 20px; }
.eb-cta {
  position: relative; min-width: min(340px, 100%); min-height: 56px; padding: 15px 28px; border: 0; border-radius: 14px; cursor: pointer; overflow: hidden;
  font-family: var(--fh); font-size: 18px; font-weight: 900; letter-spacing: .03em; color: #1a0b00 !important;
  background: linear-gradient(180deg, #fde68a 0%, #facc15 45%, #f59e0b 100%);
  box-shadow: 0 0 0 2px #fff7 inset, 0 6px 0 #92400e, 0 14px 30px -6px rgba(250, 204, 21, .6);
  transition: transform .12s, box-shadow .12s;
}
.eb-cta::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-20deg); animation: eb-shine 2.4s ease-in-out infinite; }
.eb-cta:hover { transform: translateY(-2px); }
.eb-cta:active { transform: translateY(4px); box-shadow: 0 0 0 2px #fff7 inset, 0 2px 0 #92400e; }
.eb-cta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.eb-ghost { min-width: min(340px, 100%); min-height: 50px; padding: 12px 22px; border: 2px solid rgba(56, 189, 248, .6); border-radius: 14px; background: rgba(56, 189, 248, .12); font-weight: 800; cursor: pointer; }
.eb-ghost:hover, .eb-ghost:focus-visible { background: rgba(56, 189, 248, .25); outline: none; }
.eb-link { min-height: 40px; padding: 8px 16px; border: 0; border-radius: 10px; background: none; color: var(--mut) !important; font-weight: 700; cursor: pointer; }
.eb-link:hover, .eb-link:focus-visible { color: #fff !important; background: rgba(255, 255, 255, .08); outline: none; }
.eb-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
.eb-chips span { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); font-size: 13px; font-weight: 800; }

/* qahramon rasmi */
.eb-hart { display: inline-block; width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9), 0 8px 20px -6px rgba(0, 0, 0, .7); }
.eb-hart svg { display: block; width: 100%; height: 100%; }
.eb-hart.mini { width: 40px; height: 40px; box-shadow: 0 0 0 2px var(--blue); }
.eb-hart.mini.vil { box-shadow: 0 0 0 2px var(--red); background: radial-gradient(circle, #3b0a1e, #12051f); overflow: hidden; }
.eb-hart.mini.vil svg { transform: scale(1.25) translateY(6%); }
.eb-hart.big { width: 110px; height: 110px; box-shadow: 0 0 0 4px var(--hc, #fff), 0 0 40px -4px var(--hc, #fff); }
.eb-hart.huge { width: clamp(120px, 28vw, 190px); height: clamp(120px, 28vw, 190px); box-shadow: 0 0 0 5px #fff, 0 0 60px var(--hc, #38bdf8); }

/* ---------- Lobby ---------- */
.eb-split { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; width: 100%; margin-top: 22px; }
.eb-team, .eb-foe { position: relative; padding: 16px 12px 18px; border-radius: 20px; }
.eb-team { background: linear-gradient(135deg, rgba(56, 189, 248, .22), rgba(56, 189, 248, .04)); border: 1px solid rgba(56, 189, 248, .45); clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%); }
.eb-foe { overflow: hidden; background: linear-gradient(225deg, rgba(244, 63, 94, .25), rgba(244, 63, 94, .04)); border: 1px solid rgba(244, 63, 94, .45); clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%); display: flex; flex-direction: column; align-items: center; }
.eb-side-t { margin-bottom: 10px; font-family: var(--fh); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.eb-side-t.blue { color: var(--blue); } .eb-side-t.red { color: var(--red); }
.eb-team-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; }
.eb-tm { display: flex; flex-direction: column; align-items: center; gap: 4px; animation: eb-rise .5s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--d); }
.eb-tm .eb-hart { box-shadow: 0 0 0 3px var(--hc), 0 0 18px -2px var(--hc); animation: eb-float 2.6s ease-in-out infinite; animation-delay: var(--d); }
.eb-tm b { font-size: 12.5px; } .eb-tm small { font-size: 10.5px; color: var(--mut); font-weight: 700; }
.eb-vs-badge { font-family: var(--fh); font-size: clamp(28px, 6vw, 46px); font-weight: 900; font-style: italic; color: var(--gold); text-shadow: 0 0 20px rgba(250, 204, 21, .9), 0 3px 0 #7c2d12; animation: eb-pulse 1.1s ease-in-out infinite; }
.eb-foe-n { position: relative; margin-top: 2px; font-family: var(--fh); font-size: 16px; color: #fecdd3; }
.eb-foe-t { position: relative; font-size: 12px; color: #fda4af; font-weight: 700; }
.eb-rays { position: absolute; left: 50%; top: 45%; width: 340px; height: 340px; margin: -170px 0 0 -170px; z-index: -1; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(rgba(244, 63, 94, .35) 0 10deg, transparent 10deg 30deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 70%); mask: radial-gradient(circle, #000 20%, transparent 70%); animation: eb-spin 14s linear infinite; }

/* ---------- dev ---------- */
.eb-vsvg { display: block; width: 100%; height: auto; overflow: visible; }
.eb-vil-lobby { position: relative; z-index: 0; width: clamp(130px, 22vw, 190px); filter: drop-shadow(0 0 24px rgba(244, 63, 94, .55)); }
.eb-vil-vs { width: clamp(130px, 30vw, 210px); filter: drop-shadow(0 0 30px rgba(244, 63, 94, .7)); animation: eb-slam .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.eb-vil .v-body { transform-origin: 100px 200px; animation: eb-breathe 2.2s ease-in-out infinite; }
.eb-vil .v-arm-l { transform-origin: 42px 132px; animation: eb-arm 2.2s ease-in-out infinite; }
.eb-vil .v-arm-r { transform-origin: 158px 132px; animation: eb-arm 2.2s ease-in-out infinite reverse; }
.eb-vil .v-eye { transform-origin: 100px 100px; animation: eb-blink 4s infinite; }
.eb-vil .v-glow, .eb-vil .v-led { animation: eb-glow 1.2s ease-in-out infinite; }
.eb-vil .v-scan { animation: eb-scan 1.6s ease-in-out infinite alternate; }
.eb-vil .v-ten { animation: eb-ten 1.6s ease-in-out infinite; transform-origin: center top; transform-box: fill-box; }
.eb-vil .v-ten1, .eb-vil .v-ten3 { animation-delay: -.8s; }
.eb-vil .v-wing { transform-box: fill-box; transform-origin: right center; animation: eb-wing 1s ease-in-out infinite; }
.eb-vil .v-mouth { transform-origin: 100px 140px; transform-box: view-box; }
.eb-vil.laugh .v-mouth { animation: eb-laugh .25s ease-in-out infinite; }
.eb-rage { position: absolute; inset: 0 8% 10%; border-radius: 50%; opacity: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(239, 68, 68, .55), transparent); }
.eb-vil.rage .eb-rage { opacity: 1; animation: eb-pulse .7s ease-in-out infinite; }
.eb-vil.rage .eb-vsvg { filter: drop-shadow(0 0 14px #ef4444) saturate(1.3); }
.eb-vil.rage .v-body { animation-duration: 1s; }

/* ---------- Qahramon tanlash ---------- */
.eb-sel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; width: 100%; margin-top: 20px; align-items: stretch; }
.eb-sel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.eb-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px 12px; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .12); border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  transition: transform .15s, border-color .15s, background .15s; animation: eb-rise .45s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--d);
}
.eb-card b { font-size: 14px; } .eb-card small { font-size: 11.5px; color: var(--mut); font-weight: 700; }
.eb-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .35); }
.eb-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.eb-card.on { border-color: var(--hc); background: linear-gradient(180deg, color-mix(in srgb, var(--hc) 35%, transparent), rgba(255, 255, 255, .03)); box-shadow: 0 0 24px -4px var(--hc); transform: translateY(-3px); }
.eb-card.on::after { content: "✔"; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--hc); color: #111; font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.eb-sel-det {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 18px; border-radius: 20px; text-align: center;
  background: radial-gradient(100% 70% at 50% 0%, color-mix(in srgb, var(--hc) 30%, transparent), transparent 70%), rgba(255, 255, 255, .05);
  border: 1px solid color-mix(in srgb, var(--hc) 60%, transparent);
}
.eb-det-top { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.eb-det-txt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.eb-sel-det .eb-hart.big { animation: eb-float 2.4s ease-in-out infinite; }
.eb-det-role { padding: 4px 12px; border-radius: 99px; background: var(--hc); color: #111; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.eb-det-n { margin: 0; font-family: var(--fh); font-size: 26px; font-weight: 900; }
.eb-det-sk { display: flex; gap: 6px; font-size: 14px; color: #e9d5ff; } .eb-det-sk b { color: #fff; }
.eb-det-p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: #ddd6fe; }

/* ---------- VS ---------- */
.eb-versus { justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 0; width: 100%; max-width: none; overflow: hidden; }
.eb-vs-half { position: absolute; top: 0; bottom: 0; width: 56%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.eb-vs-half.me { left: 0; clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); background: linear-gradient(135deg, color-mix(in srgb, var(--hc) 55%, #0b1b4a), #07102e 80%); animation: eb-in-l .5s cubic-bezier(.2, 1.2, .4, 1) both; padding-right: 8%; }
.eb-vs-half.foe { right: 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); background: linear-gradient(225deg, #7f1d1d, #1f0614 80%); padding-left: 8%; transform: translateX(100%); transition: transform .5s cubic-bezier(.2, 1.2, .4, 1); }
.eb-vs-half.foe.in { transform: none; }
.eb-vs-half.foe:not(.in)::before { content: "?"; font-family: var(--fh); font-size: 90px; font-weight: 900; color: rgba(255, 255, 255, .15); }
.eb-vs-n { font-family: var(--fh); font-size: clamp(20px, 4vw, 34px); font-weight: 900; text-transform: uppercase; text-shadow: 0 3px 0 rgba(0, 0, 0, .4); }
.eb-vs-half small { font-weight: 800; color: rgba(255, 255, 255, .8); }
.eb-vs-big { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 3; font-family: var(--fh); font-size: clamp(56px, 12vw, 110px); font-weight: 900; font-style: italic; color: var(--gold); text-shadow: 0 0 30px rgba(250, 204, 21, .9), 0 5px 0 #7c2d12; animation: eb-slam .6s .35s cubic-bezier(.2, 1.6, .4, 1) both; }
.eb-vs-st { position: absolute; left: 0; right: 0; bottom: calc(8% + var(--sb)); z-index: 3; margin: 0; padding: 0 16px; font-weight: 800; color: #fff; text-shadow: 0 2px 8px #000; min-height: 60px; }
.eb-count { position: relative; display: inline-block; font-family: var(--fh); font-size: 54px; font-weight: 900; color: var(--gold); text-shadow: 0 0 24px rgba(250, 204, 21, .9); animation: eb-slam .5s cubic-bezier(.2, 1.6, .4, 1) both; }
.eb-count.go { font-size: 64px; color: #fff; text-shadow: 0 0 30px #f43f5e, 0 4px 0 #9f1239; }
.eb-count.go::after { content: ""; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; border-radius: 50%; border: 6px solid #facc15; transform: translate(-50%, -50%) scale(0); animation: eb-ring .6s ease-out forwards; }

/* ---------- Arena ---------- */
.eb-battle { padding: calc(10px + var(--st)) 12px calc(16px + var(--sb)); gap: 10px; }
.eb-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .1); }
.eb-hs { display: flex; align-items: center; gap: 8px; min-width: 0; }
.eb-hs.foe { justify-content: flex-end; }
.eb-hs-i { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; max-width: 220px; text-align: left; }
.eb-hs.foe .eb-hs-i { align-items: flex-end; text-align: right; }
.eb-hs-i b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.eb-hpbar { position: relative; display: flex; gap: 3px; width: 100%; height: 12px; }
.eb-hpbar.me i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #4ade80, #16a34a); box-shadow: 0 0 8px rgba(74, 222, 128, .6); transition: background .3s, box-shadow .3s; transform: skewX(-15deg); }
.eb-hpbar.me i.off { background: rgba(255, 255, 255, .12); box-shadow: none; }
.danger .eb-hpbar.me i.on { background: linear-gradient(180deg, #fb7185, #e11d48); box-shadow: 0 0 10px #f43f5e; animation: eb-glow .6s infinite; }
.eb-hpbar.foe { display: block; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; transform: skewX(-15deg); }
.eb-hpbar.foe i, .eb-hpbar.foe u { position: absolute; top: 0; right: 0; bottom: 0; width: 100%; }
.eb-hpbar.foe u { background: #fde68a; transition: width .6s ease; text-decoration: none; }
.eb-hpbar.foe i { background: linear-gradient(180deg, #fb7185, #e11d48); transition: width .2s ease; box-shadow: 0 0 10px rgba(244, 63, 94, .7); }
.eb-hpn { font-size: 10.5px; color: #fda4af; font-weight: 800; }
.eb-hmid { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.eb-qn { font-size: 12px; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.eb-timer { position: relative; width: 40px; height: 40px; }
.eb-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.eb-timer circle { fill: none; stroke-width: 4; }
.eb-timer .tb { stroke: rgba(255, 255, 255, .15); }
.eb-timer .tf { stroke: var(--gold); stroke-linecap: round; transition: stroke-dashoffset .25s linear; }
.eb-timer.low .tf { stroke: var(--red); }
.eb-timer span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.eb-timer.low span { color: #fda4af; animation: eb-pulse .5s infinite; }
.eb-tools { position: absolute; top: 10px; right: 10px; z-index: 8; display: flex; gap: 6px; }
.eb-tool { width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .35); cursor: pointer; font-size: 16px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset; }
.eb-tool:hover, .eb-tool:focus-visible { background: rgba(255, 255, 255, .22); outline: none; }
.eb-tool.off { opacity: .45; filter: grayscale(1); }

.eb-arena { position: relative; width: 100%; height: clamp(210px, 36vh, 330px); border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); isolation: isolate;
  background: linear-gradient(180deg, #1b0b45, #0b0520); box-shadow: 0 0 0 1px rgba(168, 85, 247, .2), 0 20px 50px -20px rgba(168, 85, 247, .6); }
.eb-neb { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 35% at 20% 65%, rgba(56, 189, 248, .35), transparent 70%), radial-gradient(40% 35% at 80% 65%, rgba(244, 63, 94, .35), transparent 70%), radial-gradient(30% 25% at 50% 20%, rgba(168, 85, 247, .3), transparent 70%); animation: eb-neb 10s ease-in-out infinite alternate; }
.eb-floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 70%; transform: perspective(300px) rotateX(58deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(168, 85, 247, .45) 1px, transparent 1px), linear-gradient(90deg, rgba(168, 85, 247, .45) 1px, transparent 1px); background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 95%); mask-image: linear-gradient(to top, #000 30%, transparent 95%); animation: eb-floor 3s linear infinite; }
.eb-lane { position: absolute; left: 0; right: 0; bottom: 22%; height: 2px; background: linear-gradient(90deg, var(--blue), transparent 40%, transparent 60%, var(--red)); opacity: .6; }
.eb-embers { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(2px 2px at 10% 90%, #fde047, transparent), radial-gradient(2px 2px at 30% 80%, #f472b6, transparent), radial-gradient(2px 2px at 55% 95%, #38bdf8, transparent), radial-gradient(2px 2px at 75% 85%, #fb923c, transparent), radial-gradient(2px 2px at 90% 92%, #a78bfa, transparent); animation: eb-embers 6s linear infinite; opacity: .8; }
.eb-fighter { position: absolute; bottom: 12%; display: flex; flex-direction: column; align-items: center; }
.eb-me { left: 9%; }
.eb-me .eb-hart.fight { width: clamp(78px, 20vw, 124px); height: clamp(78px, 20vw, 124px); box-shadow: 0 0 0 4px #fff, 0 0 30px var(--hc); animation: eb-float 2s ease-in-out infinite; position: relative; z-index: 2; }
.eb-plat { position: absolute; bottom: -14px; left: 50%; width: 150%; height: 26px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(56, 189, 248, .7), transparent); filter: blur(1px); }
.eb-plat.red { background: radial-gradient(closest-side, rgba(244, 63, 94, .7), transparent); width: 80%; bottom: -6px; }
.eb-rune { position: absolute; bottom: -42%; left: 50%; width: 150%; aspect-ratio: 1; margin-left: -75%; border-radius: 50%; border: 3px dashed color-mix(in srgb, var(--hc) 80%, #fff); box-shadow: 0 0 14px color-mix(in srgb, var(--hc) 70%, transparent), inset 0 0 14px color-mix(in srgb, var(--hc) 50%, transparent); opacity: .75; transform: rotateX(76deg); animation: eb-rune 5s linear infinite; pointer-events: none; }
.eb-aura { position: absolute; inset: -14px; border-radius: 50%; z-index: 1; pointer-events: none; opacity: 0; }
.eb-me.armed .eb-aura { opacity: 1; background: radial-gradient(closest-side, transparent 60%, rgba(250, 204, 21, .8) 75%, transparent); animation: eb-spin 1.2s linear infinite, eb-pulse .6s ease-in-out infinite; }
.eb-me.armed .eb-hart.fight { box-shadow: 0 0 0 4px #facc15, 0 0 40px #facc15; }
.eb-me.atk .eb-hart.fight { animation: eb-lunge .45s ease-out; }
.eb-me.dash .eb-hart.fight { animation: eb-dash .52s cubic-bezier(.6, 0, .4, 1); }
.eb-me.hit .eb-hart.fight { animation: eb-hit .5s ease-out; filter: drop-shadow(0 0 12px red) saturate(1.5) hue-rotate(-20deg); }
.eb-me.ko .eb-hart.fight { animation: none; transform: translateY(20px) rotate(-80deg); filter: grayscale(1) brightness(.6); transition: all .6s ease-in; }
.eb-combo { position: absolute; top: -26px; left: 50%; z-index: 3; transform: translateX(-50%) scale(0); padding: 2px 10px; border-radius: 99px; background: linear-gradient(90deg, #f97316, #facc15); color: #1a0b00; font-family: var(--fh); font-size: 13px; font-weight: 900; white-space: nowrap; transition: transform .25s cubic-bezier(.2, 1.6, .4, 1); box-shadow: 0 0 14px #f97316; }
.eb-combo.on { transform: translateX(-50%) scale(1); }
.eb-vil-fight { right: 7%; width: clamp(130px, 30vw, 220px); bottom: 8%; filter: drop-shadow(0 0 24px rgba(244, 63, 94, .5)); }
.eb-vil-fight.atk .eb-vsvg { animation: eb-vlunge .6s ease-in-out; }
.eb-vil-fight.hit .eb-vsvg { animation: eb-vhit .5s ease-out; }
.eb-vil-fight.hit-big .eb-vsvg { animation: eb-vhit .6s ease-out; filter: brightness(2.2); }
.eb-vil-fight.ko .eb-vsvg { animation: eb-ko 1s ease-in forwards; }
.eb-vil-fight.ko .eb-rage, .eb-vil-fight.ko .eb-plat { opacity: 0; transition: opacity .6s; }
.eb-bubble { position: absolute; top: -6px; right: 60%; z-index: 4; padding: 7px 11px; border-radius: 12px 12px 2px 12px; background: #fff; color: #3b0764; font-size: 12px; font-weight: 900; white-space: nowrap; opacity: 0; transform: scale(.6); transform-origin: bottom right; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2, 1.6, .4, 1); }
.eb-bubble.show { opacity: 1; transform: scale(1); }
.eb-arena.shake { animation: eb-shake .3s; } .eb-arena.shake-big { animation: eb-shake .45s 2; }
.eb-arena.zoom { animation: eb-zoom .7s ease-out; }
.danger .eb-arena::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; box-shadow: inset 0 0 60px 10px rgba(239, 68, 68, .55); animation: eb-glow 1.5s ease-in-out infinite; }
.eb-flash { position: fixed; inset: 0; z-index: 50; pointer-events: none; animation: eb-fade .5s reverse both; }
.eb-flash.white { background: rgba(255, 255, 255, .55); }
.eb-flash.red { background: radial-gradient(closest-side, transparent 45%, rgba(244, 63, 94, .6)); }

.eb-fx { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.eb-proj { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; }
.eb-proj.fire { background: radial-gradient(circle at 40% 40%, #fff7, #fde047 30%, #f97316 60%, #dc2626); box-shadow: 0 0 20px #f97316, -16px 0 18px -4px #f97316aa, -30px 0 20px -8px #dc262688, -44px 0 22px -10px #dc262655; }
.eb-proj.light { width: 24px; height: 24px; background: radial-gradient(circle, #fff, #fde047 50%, transparent 70%); box-shadow: 0 0 26px 8px #fde04799, -20px 0 20px -6px #fde04788; }
.eb-proj.dark { width: 34px; height: 34px; margin: -17px 0 0 -17px; background: radial-gradient(circle at 40% 40%, #fda4af, #be123c 50%, #4c0519); box-shadow: 0 0 24px #f43f5e, 18px 0 20px -4px #9f1239aa, 34px 0 22px -8px #9f123966; }
.eb-beam { position: absolute; height: 9px; margin-top: -4.5px; transform-origin: 0 50%; border-radius: 6px; background: linear-gradient(90deg, #fff, #67e8f9 30%, #06b6d4); box-shadow: 0 0 18px #22d3ee, 0 0 40px #22d3ee88; animation: eb-beam .42s ease-out forwards; }
.eb-imp { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; }
.eb-imp.boom::before, .eb-imp.boom::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%) scale(0); }
.eb-imp.boom::before { width: 110px; height: 110px; background: radial-gradient(circle, #fff, #fde047 25%, #f97316 50%, transparent 70%); animation: eb-boom .55s ease-out forwards; }
.eb-imp.boom::after { width: 140px; height: 140px; border: 4px solid #fde047; animation: eb-ring .55s ease-out forwards; }
.eb-imp.boom.sm::before { width: 70px; height: 70px; } .eb-imp.boom.sm::after { width: 90px; height: 90px; border-width: 3px; }
.eb-imp.boom.big::before { width: 190px; height: 190px; } .eb-imp.boom.big::after { width: 230px; height: 230px; }
.eb-imp.boom.red::before { background: radial-gradient(circle, #fff, #fda4af 25%, #e11d48 55%, transparent 70%); } .eb-imp.boom.red::after { border-color: #f43f5e; }
.eb-imp.spark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; transform: translate(-50%, -50%) scale(0); border-radius: 50%;
  background: repeating-conic-gradient(var(--sc, #67e8f9) 0 8deg, transparent 8deg 30deg); -webkit-mask: radial-gradient(circle, transparent 20%, #000 22%, transparent 70%); mask: radial-gradient(circle, transparent 20%, #000 22%, transparent 70%); animation: eb-boom .5s ease-out forwards; }
.eb-imp.spark.cyan { --sc: #67e8f9; } .eb-imp.spark.gold { --sc: #fde047; }
.eb-imp.slash::before, .eb-imp.slash::after { content: ""; position: absolute; left: -60px; top: -4px; width: 130px; height: 8px; border-radius: 50%; background: linear-gradient(90deg, transparent, #fff, #fb923c, transparent); box-shadow: 0 0 16px #fb923c; animation: eb-slash .45s ease-out forwards; transform: rotate(-35deg) scaleX(0); }
.eb-imp.slash::after { animation-delay: .1s; transform: rotate(35deg) scaleX(0); --r: 35deg; }
.eb-imp.claw::before { content: ""; position: absolute; left: -45px; top: -50px; width: 90px; height: 100px; background: linear-gradient(115deg, transparent 18%, #fde68a 20%, #f59e0b 23%, transparent 25%, transparent 43%, #fde68a 45%, #f59e0b 48%, transparent 50%, transparent 68%, #fde68a 70%, #f59e0b 73%, transparent 75%); filter: drop-shadow(0 0 8px #f59e0b); animation: eb-claw .5s ease-out forwards; }
.eb-imp.quake::before, .eb-imp.quake::after { content: ""; position: absolute; left: 50%; top: 50%; width: 200px; height: 70px; border-radius: 50%; border: 5px solid #93c5fd; transform: translate(-50%, 10px) scale(0); animation: eb-ring .6s ease-out forwards; box-shadow: 0 0 20px #60a5fa; }
.eb-imp.quake::after { animation-delay: .15s; }
.eb-part { position: absolute; z-index: 6; border-radius: 50%; margin: -3px 0 0 -3px; box-shadow: 0 0 8px currentColor; animation: eb-part .75s cubic-bezier(.2, .8, .4, 1) forwards; }
.eb-dmg { position: absolute; z-index: 7; transform: translateX(-50%); font-family: var(--fh); font-size: 26px; font-weight: 900; color: #fde047; text-shadow: 0 3px 0 #7c2d12, 0 0 12px rgba(0, 0, 0, .6); white-space: nowrap; animation: eb-dmg 1.2s ease-out forwards; }
.eb-dmg.crit { font-size: 32px; color: #fb923c; text-shadow: 0 3px 0 #7f1d1d, 0 0 18px #f97316; }
.eb-dmg.red { color: #fb7185; text-shadow: 0 3px 0 #4c0519; }
.eb-ann { position: absolute; left: 0; right: 0; top: 16%; z-index: 7; display: flex; justify-content: center; pointer-events: none; padding: 0 8px; }
.eb-ann-t { padding: 6px 18px; font-family: var(--fh); font-size: clamp(16px, 4vw, 26px); font-weight: 900; font-style: italic; letter-spacing: .03em; text-align: center; color: #fff; animation: eb-ann 1.8s ease-out forwards;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, .6), transparent); text-shadow: 0 2px 0 #0c4a6e, 0 0 16px #38bdf8; }
.eb-ann-t.gold { background: linear-gradient(90deg, transparent, rgba(250, 204, 21, .55), transparent); text-shadow: 0 2px 0 #7c2d12, 0 0 16px #facc15; }
.eb-ann-t.red { background: linear-gradient(90deg, transparent, rgba(244, 63, 94, .6), transparent); text-shadow: 0 2px 0 #4c0519, 0 0 16px #f43f5e; }
.eb-ann-t.big { font-size: clamp(24px, 6vw, 44px); }
.eb-cutin { position: absolute; left: 0; right: 0; top: 18%; z-index: 20; height: 120px; display: flex; align-items: center; justify-content: center; gap: 18px; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--hc) 85%, #000) 15%, color-mix(in srgb, var(--hc) 85%, #000) 85%, transparent); clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%); animation: eb-cutin 1.3s cubic-bezier(.2, 1, .3, 1) forwards; }
.eb-cutin .eb-hart.cut { width: 96px; height: 96px; box-shadow: 0 0 0 4px #fff, 0 0 30px #fff; }
.eb-cutin b { font-family: var(--fh); font-size: clamp(22px, 5vw, 40px); font-weight: 900; font-style: italic; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .5), 0 0 20px #fff; }

/* ultimate — arena burchagidagi skill tugmasi */
.eb-ult { position: absolute; left: 50%; bottom: 10px; margin-left: -38px; z-index: 8; width: 76px; height: 76px; border: 0; border-radius: 50%; padding: 0; cursor: pointer; background: radial-gradient(circle, #3b1d7a, #1a0b3d); box-shadow: 0 0 0 2px rgba(255, 255, 255, .2), 0 8px 20px -6px #000; --e: 0; }
.eb-ult svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.eb-ult circle { fill: none; stroke-width: 5; }
.eb-ult .ub { stroke: rgba(255, 255, 255, .12); }
.eb-ult .uf { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: calc(163.4 * (1 - var(--e))); transition: stroke-dashoffset .4s; }
.eb-ult-i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; filter: grayscale(.8); padding-bottom: 10px; }
.eb-ult-l { position: absolute; left: 0; right: 0; bottom: 12px; font-size: 10px; font-weight: 900; text-align: center; color: #fde68a; }
.eb-ult.ready { animation: eb-glowb 1s ease-in-out infinite; }
.eb-ult.ready .eb-ult-i, .eb-ult.armed .eb-ult-i { filter: none; }
.eb-ult.armed { background: radial-gradient(circle, #facc15, #b45309); box-shadow: 0 0 30px #facc15; }
.eb-ult.armed .eb-ult-l { color: #1a0b00; }
.eb-ult:disabled { cursor: default; }
.eb-ult:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* savol paneli */
.eb-panel { position: relative; width: 100%; padding: 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(30, 14, 72, .94), rgba(14, 6, 38, .96)); border: 1px solid rgba(168, 85, 247, .4); box-shadow: 0 -10px 40px -20px rgba(168, 85, 247, .8); text-align: left; }
.eb-panel.eb-in { animation: eb-up .35s ease-out both; }
.eb-qtop { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.eb-qtype, .eb-qold { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .1); }
.eb-qold { background: rgba(250, 204, 21, .15); color: #fde68a; }
.eb-q { margin: 0 0 14px; font-size: clamp(17px, 2.6vw, 21px); line-height: 1.4; font-weight: 800; color: #fff; -webkit-user-select: text; user-select: text; }
.eb-gap { display: inline-block; min-width: 60px; padding: 0 8px; border-bottom: 3px dashed var(--gold); color: var(--gold); text-align: center; }
.eb-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eb-opt {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; cursor: pointer; text-align: left;
  border: 2px solid rgba(56, 189, 248, .35); border-radius: 14px; background: linear-gradient(180deg, rgba(56, 189, 248, .16), rgba(56, 189, 248, .05));
  font-size: 15px; font-weight: 700; transition: transform .1s, background .15s, border-color .15s; box-shadow: 0 4px 0 rgba(0, 0, 0, .35);
}
.eb-opt:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--blue); background: rgba(56, 189, 248, .25); }
.eb-opt:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .35); }
.eb-opt:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.eb-opt:disabled { cursor: default; }
.eb-k { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); font-size: 13px; font-weight: 900; }
.eb-opt.picked { border-color: var(--gold); }
.eb-opt.right { border-color: #4ade80; background: linear-gradient(180deg, rgba(74, 222, 128, .35), rgba(74, 222, 128, .1)); animation: eb-pop .35s; }
.eb-opt.right .eb-k { background: #22c55e; color: #052e16; }
.eb-opt.wrong { border-color: var(--red); background: linear-gradient(180deg, rgba(244, 63, 94, .35), rgba(244, 63, 94, .08)); animation: eb-shake .3s; }
.eb-opt.wrong .eb-k { background: var(--red); }
.eb-panel.done .eb-opt:not(.right):not(.wrong) { opacity: .5; }
.eb-line { display: flex; flex-wrap: wrap; gap: 6px; min-height: 52px; padding: 8px; margin-bottom: 10px; border-radius: 12px; border: 2px dashed rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .2); }
.eb-line.right { border-color: #4ade80; border-style: solid; } .eb-line.wrong { border-color: var(--red); border-style: solid; }
.eb-ph { align-self: center; font-size: 13px; color: var(--mut); }
.eb-pool { display: flex; flex-wrap: wrap; gap: 8px; }
.eb-tile { min-height: 44px; padding: 9px 14px; border: 2px solid rgba(255, 255, 255, .2); border-radius: 10px; background: rgba(255, 255, 255, .1); font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 rgba(0, 0, 0, .35); }
.eb-tile.on { background: rgba(56, 189, 248, .25); border-color: var(--blue); }
.eb-tile:disabled { opacity: .3; cursor: default; }
.eb-line .eb-tile:disabled { opacity: 1; }
.eb-oact { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.eb-mini { min-height: 46px; padding: 10px 16px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); font-weight: 800; cursor: pointer; }
.eb-mini.go { background: linear-gradient(180deg, #fde68a, #f59e0b); color: #1a0b00 !important; box-shadow: 0 4px 0 #92400e; }
.eb-mini:disabled { opacity: .4; cursor: default; }
.eb-fb { display: none; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; animation: eb-up .3s ease-out both; }
.eb-fb.show { display: flex; }
.eb-fb.ok { background: #12301f; border: 1px solid rgba(74, 222, 128, .6); }
.eb-fb.bad { background: #3a0f1e; border: 1px solid rgba(244, 63, 94, .6); }
.eb-fb-t { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.eb-fb-t small { color: #ddd6fe; font-size: 13px; line-height: 1.4; }
.eb-next { flex: none; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 12px; background: linear-gradient(180deg, #fde68a, #f59e0b); color: #1a0b00 !important; font-weight: 900; cursor: pointer; box-shadow: 0 4px 0 #92400e; }
.eb-next:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.eb-pause { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(5, 2, 20, .75); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.eb-pbox { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(380px, 100%); padding: 26px 20px; border-radius: 20px; background: #1b0b45; border: 1px solid rgba(168, 85, 247, .5); text-align: center; }

/* ---------- Natija ---------- */
.eb-result { justify-content: center; min-height: 100vh; min-height: 100dvh; }
.eb-res-h { font-family: var(--fh); font-size: clamp(44px, 11vw, 96px); font-weight: 900; font-style: italic; line-height: 1; animation: eb-slam .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.eb-result.won .eb-res-h { background: linear-gradient(180deg, #fff, #fde68a 40%, #f59e0b); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #7c2d12) drop-shadow(0 0 30px rgba(250, 204, 21, .6)); }
.eb-result.lost .eb-res-h { background: linear-gradient(180deg, #fff, #fda4af 40%, #e11d48); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 #4c0519) drop-shadow(0 0 30px rgba(244, 63, 94, .5)); }
.eb-mvp { display: flex; align-items: center; gap: 20px; margin-top: 22px; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid color-mix(in srgb, var(--hc) 55%, transparent); }
.eb-mvp-a { position: relative; }
.eb-mvp-tag { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); padding: 3px 12px; border-radius: 6px; background: linear-gradient(180deg, #fde68a, #f59e0b); color: #1a0b00; font-family: var(--fh); font-size: 13px; font-weight: 900; }
.eb-stats { display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr)); gap: 10px; }
.eb-stat { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, .25); animation: eb-rise .45s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: var(--d); }
.eb-stat span { font-size: 18px; } .eb-stat b { font-family: var(--fh); font-size: 20px; } .eb-stat small { font-size: 11.5px; color: var(--mut); font-weight: 700; }
.eb-err-em { font-size: 64px; margin-top: 18vh; }
.eb-conf { position: fixed; top: -12px; z-index: 40; width: 9px; height: 14px; border-radius: 2px; pointer-events: none; animation: eb-conf 3s linear forwards; }
.eb-coin { position: fixed; top: -40px; z-index: 41; font-size: 26px; pointer-events: none; animation: eb-conf 2.4s cubic-bezier(.4, 0, .9, .6) forwards; }

/* ---------- animatsiyalar ---------- */
@keyframes eb-fade { from { opacity: 0; } }
@keyframes eb-twinkle { 50% { opacity: .9; transform: scale(1.8); } }
@keyframes eb-slam { 0% { opacity: 0; transform: scale(2.4); } 60% { opacity: 1; transform: scale(.92); } 100% { transform: scale(1); } }
@keyframes eb-rise { from { opacity: 0; transform: translateY(24px) scale(.7); } }
@keyframes eb-pulse { 50% { transform: scale(1.12); } }
@keyframes eb-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@keyframes eb-float { 50% { transform: translateY(-8px); } }
@keyframes eb-breathe { 50% { transform: scale(1.03, .97); } }
@keyframes eb-arm { 50% { transform: rotate(-12deg); } }
@keyframes eb-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes eb-glow { 50% { opacity: .4; } }
@keyframes eb-scan { from { transform: translateX(0); } to { transform: translateX(46px); } }
@keyframes eb-ten { 50% { transform: rotate(10deg); } }
@keyframes eb-wing { 50% { transform: rotate(-10deg) scaleX(.9); } }
@keyframes eb-laugh { 50% { transform: scaleY(1.4); } }
@keyframes eb-in-l { from { transform: translateX(-100%); } }
@keyframes eb-floor { to { background-position: 0 40px; } }
@keyframes eb-spin { to { transform: rotate(360deg); } }
@keyframes eb-rune { from { transform: rotateX(76deg) rotateZ(0); } to { transform: rotateX(76deg) rotateZ(360deg); } }
@keyframes eb-neb { to { transform: translate(4%, -3%) scale(1.08); } }
@keyframes eb-embers { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; } to { background-position: 0 -300px, 0 -260px, 0 -320px, 0 -280px, 0 -340px; } }
@keyframes eb-lunge { 40% { transform: translateX(40px) scale(1.08); } }
@keyframes eb-dash { 45% { transform: translateX(min(45vw, 420px)) scale(1.1); opacity: .6; } 55% { transform: translateX(min(45vw, 420px)); } }
@keyframes eb-hit { 20% { transform: translateX(-16px) rotate(-8deg); } 50% { transform: translateX(8px); } }
@keyframes eb-vlunge { 40% { transform: translateX(-50px) scale(1.08); } }
@keyframes eb-vhit { 0% { filter: brightness(3); } 30% { transform: translateX(22px) rotate(6deg); } 60% { transform: translateX(-6px); } }
@keyframes eb-ko { 30% { transform: translateY(-20px) rotate(10deg); filter: brightness(2); } 100% { transform: translateY(60px) rotate(25deg) scale(.8); opacity: 0; filter: grayscale(1); } }
@keyframes eb-shake { 25% { transform: translate(-6px, 2px); } 50% { transform: translate(5px, -3px); } 75% { transform: translate(-3px, 1px); } }
@keyframes eb-zoom { 30% { transform: scale(1.06); } }
@keyframes eb-beam { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 30% { opacity: 1; clip-path: inset(0 0 0 0); } 100% { opacity: 0; } }
@keyframes eb-boom { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes eb-ring { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes eb-slash { 0% { opacity: 1; transform: rotate(var(--r, -35deg)) scaleX(0); } 50% { opacity: 1; transform: rotate(var(--r, -35deg)) scaleX(1.1); } 100% { opacity: 0; transform: rotate(var(--r, -35deg)) scaleX(1.2); } }
@keyframes eb-claw { 0% { clip-path: inset(0 0 100% 0); opacity: 1; } 50% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { opacity: 0; } }
@keyframes eb-part { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.2); opacity: 0; } }
@keyframes eb-dmg { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.5); } 20% { opacity: 1; transform: translate(-50%, -10px) scale(1.3); } 40% { transform: translate(-50%, -16px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -60px); } }
@keyframes eb-ann { 0% { opacity: 0; transform: scale(2); } 15% { opacity: 1; transform: scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes eb-cutin { 0% { transform: translateX(-100%); opacity: 0; } 25% { transform: translateX(0); opacity: 1; } 75% { transform: translateX(0); opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
@keyframes eb-up { from { opacity: 0; transform: translateY(18px); } }
@keyframes eb-pop { 50% { transform: scale(1.05); } }
@keyframes eb-glowb { 50% { box-shadow: 0 0 0 3px #facc15, 0 0 26px #facc15; transform: scale(1.08); } }
@keyframes eb-conf { to { transform: translateY(110vh) rotate(720deg); } }

/* ---------- telefon ---------- */
@media (max-width: 820px) {
  .eb-screen { padding: calc(18px + var(--st)) 12px calc(20px + var(--sb)); }
  .eb-x { width: 38px; height: 38px; font-size: 22px; top: calc(10px + var(--st)); right: 10px; }
  .eb-tl { top: calc(10px + var(--st)); left: 10px; }
  .eb-tl .eb-tool { width: 38px; height: 38px; }
  .eb-eb { margin-top: 30px; font-size: 11px; }
  .eb-h1 { font-size: clamp(28px, 9vw, 40px); }
  .eb-h1.sm { font-size: clamp(20px, 6.2vw, 28px); }
  .eb-sub { font-size: 14px; margin-top: 10px; }
  .eb-chips { gap: 6px; margin-top: 10px; } .eb-chips span { padding: 5px 10px; font-size: 12px; }
  .eb-cta, .eb-ghost { width: 100%; }
  .eb-cta { font-size: 17px; }
  /* tugmalar doim ekran pastida ko'rinadi */
  .eb-sticky { position: sticky; bottom: 0; z-index: 6; margin-top: 16px; padding: 14px 0 calc(6px + var(--sb)); background: linear-gradient(180deg, transparent, #07031a 30%); }

  /* lobby: jamoa bitta qatorda, dev kichikroq */
  .eb-split { grid-template-columns: 1fr; gap: 4px; margin-top: 14px; }
  .eb-team, .eb-foe { clip-path: none; padding: 10px 8px 12px; border-radius: 16px; }
  .eb-side-t { margin-bottom: 8px; font-size: 11px; }
  .eb-team-row { grid-template-columns: repeat(6, 1fr); gap: 4px; }
  .eb-tm .eb-hart { width: 44px; height: 44px; box-shadow: 0 0 0 2px var(--hc), 0 0 12px -2px var(--hc); }
  .eb-tm b { font-size: 10.5px; } .eb-tm small { display: none; }
  .eb-vs-badge { font-size: 26px; margin: -4px 0; }
  .eb-vil-lobby { width: 118px; }
  .eb-rays { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .eb-foe-n { font-size: 15px; }

  /* tanlash: tafsilot ixcham gorizontal karta, qahramonlar 3x2 */
  .eb-sel { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .eb-sel-det { padding: 12px; gap: 6px; text-align: left; align-items: stretch; }
  .eb-det-top { flex-direction: row; gap: 12px; }
  .eb-det-txt { align-items: flex-start; }
  .eb-sel-det .eb-hart.big { width: 68px; height: 68px; }
  .eb-det-n { font-size: 20px; }
  .eb-det-sk { font-size: 13px; } .eb-det-p { font-size: 12.5px; margin: 0; }
  .eb-sel-grid { gap: 8px; }
  .eb-card { padding: 10px 4px 8px; gap: 4px; border-radius: 14px; }
  .eb-card .eb-hart { width: 48px; height: 48px; }
  .eb-card b { font-size: 12.5px; } .eb-card small { font-size: 10.5px; }

  /* VS: yuqori-past bo'linish */
  .eb-vs-half { width: 100%; height: 56%; }
  .eb-vs-half.me { top: 0; bottom: auto; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); padding: 0 0 8%; }
  .eb-vs-half.foe { top: auto; bottom: 0; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); padding: 8% 0 0; transform: translateY(100%); }
  .eb-vs-half.foe.in { transform: none; }
  .eb-vs-big { top: 44%; font-size: 64px; }
  .eb-vs-st { bottom: auto; top: 51%; min-height: 0; }
  .eb-count { font-size: 44px; } .eb-count.go { font-size: 52px; }
  .eb-vs-half .eb-hart.huge { width: 130px; height: 130px; }

  /* arena: ekranga sig'adi */
  .eb-battle { padding: calc(6px + var(--st)) 8px calc(10px + var(--sb)); gap: 8px; }
  .eb-hud { padding: 6px 8px; gap: 6px; border-radius: 14px; }
  .eb-hs .eb-hart.mini { display: none; }
  .eb-hs-i b { font-size: 11.5px; }
  .eb-hpbar { height: 10px; }
  .eb-timer { width: 36px; height: 36px; }
  .eb-arena { height: clamp(176px, 31dvh, 250px); border-radius: 16px; }
  .eb-me { left: 6%; }
  .eb-me .eb-hart.fight { width: clamp(70px, 22vw, 96px); height: clamp(70px, 22vw, 96px); }
  .eb-vil-fight { right: 4%; width: clamp(112px, 34vw, 160px); }
  .eb-tools { top: 8px; right: 8px; gap: 4px; }
  .eb-tool { width: 34px; height: 34px; font-size: 14px; }
  .eb-ult { width: 64px; height: 64px; margin-left: -32px; bottom: 8px; }
  .eb-ult-i { font-size: 22px; }
  .eb-ult-l { bottom: 9px; }
  .eb-bubble { right: 45%; font-size: 11px; max-width: 60vw; white-space: normal; }
  .eb-dmg { font-size: 22px; } .eb-dmg.crit { font-size: 26px; }
  .eb-cutin { height: 90px; } .eb-cutin .eb-hart.cut { width: 70px; height: 70px; }
  .eb-panel { padding: 12px; border-radius: 16px; }
  .eb-q { font-size: 16.5px; margin-bottom: 10px; }
  .eb-opts { grid-template-columns: 1fr; gap: 8px; }
  .eb-opts.short { grid-template-columns: 1fr 1fr; }
  .eb-opt { min-height: 50px; padding: 8px 10px; font-size: 14.5px; gap: 8px; }
  .eb-k { width: 24px; height: 24px; font-size: 12px; }
  .eb-tile { font-size: 14.5px; padding: 8px 12px; }
  /* javob kartasi va "Davom" ekran pastiga yopishadi */
  .eb-fb { position: sticky; bottom: calc(4px + var(--sb)); z-index: 10; flex-direction: column; align-items: stretch; gap: 8px; box-shadow: 0 -8px 30px -6px rgba(0, 0, 0, .8); }
  .eb-next { width: 100%; }
  .eb-mvp { flex-direction: column; gap: 14px; padding: 14px; }
  .eb-hart.big { width: 84px; height: 84px; }
  .eb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
}
@media (max-width: 360px) {
  .eb-team-row .eb-tm b { display: none; }
  .eb-opts.short { grid-template-columns: 1fr; }
}
@media (max-height: 640px) and (max-width: 820px) {
  .eb-arena { height: 168px; }
}
@media (prefers-reduced-motion: reduce) {
  .eb *, .eb *::before, .eb *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ================= v3: jangovar tanalar va dev-titanlar ================= */
.eb-hbody { display: inline-block; flex: none; line-height: 0; }
.eb-hsvg { display: block; width: 100%; height: auto; overflow: visible; }
.eb-hsvg .h-all { transform-origin: 84px 220px; animation: eb-hbreathe 2.4s ease-in-out infinite; }
.eb-hsvg .h-tail { transform-box: fill-box; transform-origin: 100% 60%; animation: eb-sway 1.6s ease-in-out infinite; }
.eb-hsvg .h-scarf { transform-box: fill-box; transform-origin: 100% 30%; animation: eb-scarf .9s ease-in-out infinite; }
.eb-hsvg .h-wing { transform-box: fill-box; transform-origin: 100% 40%; animation: eb-flap 1s ease-in-out infinite; }
.eb-hsvg .h-flame { transform-box: fill-box; transform-origin: 50% 0; animation: eb-flick .18s ease-in-out infinite alternate; }
.eb-hsvg .h-orb { transform-box: fill-box; transform-origin: center; animation: eb-orbp 1.2s ease-in-out infinite; filter: drop-shadow(0 0 6px #fde047); }
.eb-hsvg .h-core { animation: eb-glow 1s ease-in-out infinite; filter: drop-shadow(0 0 5px #5eead4); }
.eb-hsvg .h-wpn { transform-box: fill-box; transform-origin: 0 100%; animation: eb-wpn 2.4s ease-in-out infinite; }
.eb-hsvg .h-armF { transform-box: fill-box; transform-origin: 0 0; }
.eb-hbody.sel { width: 128px; filter: drop-shadow(0 0 18px var(--hc)); }
.eb-hbody.huge { width: clamp(130px, 24vw, 200px); filter: drop-shadow(0 0 30px var(--hc, #38bdf8)); }
.eb-hbody.cut { width: 74px; filter: drop-shadow(0 0 12px #fff); }
.eb-hbody.mvp { width: 120px; filter: drop-shadow(0 0 20px var(--hc)); }
.eb-det-top { flex-direction: row; align-items: center; gap: 16px; text-align: left; width: 100%; }
.eb-det-txt { align-items: flex-start; flex: 1; gap: 6px; }

/* arena: jangchilar balandligi arenaga moslanadi */
.eb-me { left: 7%; bottom: 7%; height: 74%; }
.eb-me .eb-hbody.fight { height: 100%; position: relative; z-index: 2; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6)) drop-shadow(0 0 16px color-mix(in srgb, var(--hc) 60%, transparent)); }
.eb-me .eb-hbody.fight .eb-hsvg { height: 100%; width: auto; }
.eb-me .eb-plat { bottom: -8px; width: 120%; }
.eb-me .eb-rune { bottom: -30%; width: 120%; margin-left: -60%; }
.eb-me .eb-aura { inset: 0 -10%; }
.eb-me .eb-combo { top: -18px; }
.eb-me.armed .eb-hbody.fight { filter: drop-shadow(0 0 10px #facc15) drop-shadow(0 0 26px #facc15); }
.eb-me.atk .eb-hbody.fight { animation: eb-lunge .45s ease-out; }
.eb-me.atk .h-armF { animation: eb-swing .45s ease-out; }
.eb-me.dash .eb-hbody.fight { animation: eb-dash .52s cubic-bezier(.6, 0, .4, 1); }
.eb-me.hit .eb-hbody.fight { animation: eb-hit .5s ease-out; filter: drop-shadow(0 0 12px red) saturate(1.6) hue-rotate(-25deg); }
.eb-me.ko .eb-hbody.fight { animation: none; transform: translate(-10px, 18%) rotate(-82deg); transform-origin: 50% 100%; filter: grayscale(1) brightness(.55); transition: all .6s ease-in; }

.eb-vil-fight { right: 4%; bottom: 3%; height: 92%; width: auto; filter: drop-shadow(0 0 22px rgba(244, 63, 94, .45)); }
.eb-vil-fight .eb-vsvg { height: 100%; width: auto; }
.eb-vil-fight .eb-plat.red { width: 70%; left: 55%; bottom: 2%; }
.eb-vil-fight .eb-rage { inset: 10% 10% 6%; }
.eb-vil-lobby { width: clamp(150px, 24vw, 210px); }
.eb-vil-vs { width: clamp(150px, 30vw, 240px); }
.eb-hart.mini.vil svg { transform: none; }
.eb-vil .v-body { transform-origin: 120px 260px; animation: eb-breathe 2.6s ease-in-out infinite; }
.eb-vil .v-cape { transform-box: view-box; transform-origin: 120px 80px; animation: eb-cape 3s ease-in-out infinite; }
.eb-vil .v-weapon { transform-box: view-box; transform-origin: 58px 166px; animation: eb-vwpn 2.6s ease-in-out infinite; }
.eb-vil .v-head { transform-box: view-box; transform-origin: 120px 90px; animation: eb-nod 2.6s ease-in-out infinite; }
.eb-vil .v-eye { animation: eb-glow 1.4s ease-in-out infinite; transform: none; }
.eb-vil .v-core { transform-box: fill-box; transform-origin: center; animation: eb-orbp 1.1s ease-in-out infinite; }
.eb-vil .v-aura { transform-box: fill-box; transform-origin: center; animation: eb-orbp 2s ease-in-out infinite; }
.eb-vil .v-orb { transform-box: view-box; transform-origin: 120px 140px; }
.eb-vil .v-orb1 { animation: eb-orbit 6s linear infinite; }
.eb-vil .v-orb2 { animation: eb-orbit 8s linear infinite reverse; }
.eb-vil .v-orb3 { animation: eb-orbit 7s linear infinite; animation-delay: -3s; }
.eb-vil .v-ten { transform-box: fill-box; transform-origin: 50% 0; animation: eb-ten 1.4s ease-in-out infinite; }
.eb-vil-fight.atk .eb-vsvg { animation: eb-vlunge .6s ease-in-out; }
.eb-vil-fight.atk .v-weapon { animation: eb-vslam .6s ease-in-out; }
.eb-vil.laugh .v-head { animation: eb-laughh .22s ease-in-out infinite; }

@keyframes eb-hbreathe { 50% { transform: translateY(-3px) scale(1.01, .99); } }
@keyframes eb-sway { 50% { transform: rotate(-9deg); } }
@keyframes eb-scarf { 50% { transform: skewY(-8deg) scaleX(1.06); } }
@keyframes eb-flap { 50% { transform: rotate(-14deg) scaleX(.85); } }
@keyframes eb-flick { from { transform: scaleY(.85); opacity: .85; } to { transform: scaleY(1.15); opacity: 1; } }
@keyframes eb-orbp { 50% { transform: scale(1.12); opacity: .85; } }
@keyframes eb-wpn { 50% { transform: rotate(-4deg) translateY(-2px); } }
@keyframes eb-swing { 40% { transform: rotate(-18deg); } }
@keyframes eb-cape { 50% { transform: skewX(3deg) scaleX(1.03); } }
@keyframes eb-vwpn { 50% { transform: rotate(4deg); } }
@keyframes eb-nod { 50% { transform: translateY(2px) rotate(-1.5deg); } }
@keyframes eb-orbit { from { transform: rotate(0deg) translateX(6px) rotate(0deg); } to { transform: rotate(360deg) translateX(6px) rotate(-360deg); } }
@keyframes eb-vslam { 40% { transform: rotate(-32deg); } 70% { transform: rotate(8deg); } }
@keyframes eb-laughh { 50% { transform: translateY(-3px) rotate(3deg); } }

@media (max-width: 820px) {
  .eb-hbody.sel { width: 92px; }
  .eb-det-top { gap: 12px; }
  .eb-hbody.huge { width: 118px; }
  .eb-me { left: 4%; height: 72%; }
  .eb-vil-fight { right: 2%; height: 88%; }
  .eb-hbody.mvp { width: 96px; }
  .eb-vil-lobby { width: 140px; }
}
@media (max-width: 820px) { .eb-vil-fight .eb-bubble { top: 22%; right: 62%; } }


/* ==== /css/es-magic.css ==== */
/* EasyStudy — "Qahramonlar qal'asi" sehrli ertak dizayni (SkinsView) + listening pleyeri */


.fx-realm {
  --g1: #fff6d5; --g2: #f6cf5a; --g3: #b7791f; --ink: #f8f1ff; --lav: #d8ccff;
  --fx-title: "Cinzel Decorative", "Cinzel", Georgia, serif; --fx-serif: "Cinzel", Georgia, serif;
  position: relative; isolation: isolate; overflow: hidden; margin: 0 0 24px; border-radius: 28px; min-height: 86vh;
  color: var(--ink); text-align: left;
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(129, 92, 246, .55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 12%, rgba(253, 230, 138, .14), transparent 70%),
    linear-gradient(180deg, #0d0730 0%, #1e0f52 38%, #34156b 66%, #4a1a5f 100%);
  box-shadow: 0 30px 60px -30px rgba(30, 10, 80, .9), inset 0 0 0 1px rgba(253, 230, 138, .18);
}
.fx-realm *, .fx-realm *::before, .fx-realm *::after, .fx-ov, .fx-ov *, .fx-ov *::before, .fx-ov *::after { box-sizing: border-box; }
.fx-inner { position: relative; z-index: 3; padding: 34px 26px 48px; }

/* ---------- osmon, oy, yulduzlar ---------- */
.fx-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fx-star { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff; opacity: .3; animation: fx-twinkle 3.4s ease-in-out infinite; }
.fx-moon { position: absolute; top: 34px; right: 7%; width: 92px; height: 92px; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #fffdf1 0%, #fdf0b8 45%, #f6d77a 70%, #e8b94e 100%);
  box-shadow: 0 0 40px 10px rgba(253, 230, 138, .45), 0 0 120px 50px rgba(196, 167, 255, .25); animation: fx-moon 9s ease-in-out infinite; }
.fx-moon::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 62% 58%, rgba(214, 174, 86, .55) 0 8%, transparent 9%), radial-gradient(circle at 42% 70%, rgba(214, 174, 86, .4) 0 6%, transparent 7%), radial-gradient(circle at 68% 30%, rgba(214, 174, 86, .35) 0 5%, transparent 6%); }
.fx-aurora { position: absolute; top: -10%; left: -25%; right: -25%; height: 60%; filter: blur(46px); opacity: .5;
  background: linear-gradient(100deg, transparent 10%, rgba(45, 212, 191, .55) 30%, transparent 45%, rgba(244, 114, 182, .45) 62%, transparent 75%, rgba(167, 139, 250, .5) 88%, transparent); animation: fx-aurora 16s ease-in-out infinite alternate; }
.fx-land { position: absolute; left: 0; right: 0; bottom: 0; height: 280px; z-index: 1; pointer-events: none; }
.fx-land svg { width: 100%; height: 100%; display: block; }
.fx-land .fx-win rect { animation: fx-flicker 2.6s ease-in-out infinite; filter: drop-shadow(0 0 4px #fde68a); }
.fx-land .fx-win rect:nth-child(2n) { animation-delay: -1.3s; }
.fx-flies { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.fx-flies i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fef9c3; box-shadow: 0 0 8px 3px rgba(254, 240, 138, .8), 0 0 20px 6px rgba(250, 204, 21, .35); animation: fx-fly 10s ease-in-out infinite; }
.fx-mist { position: absolute; left: -10%; right: -10%; bottom: 0; height: 160px; z-index: 2; pointer-events: none; background: radial-gradient(ellipse 50% 60% at 30% 100%, rgba(216, 204, 255, .22), transparent 70%), radial-gradient(ellipse 50% 60% at 75% 100%, rgba(244, 114, 182, .16), transparent 70%); animation: fx-mist 14s ease-in-out infinite alternate; }

/* ---------- sarlavha ---------- */
.fx-head { text-align: center; max-width: 760px; margin: 0 auto; }
.fx-eb { margin: 0 0 8px; font-family: var(--fx-serif); font-size: 12px; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: #f9d97a; text-shadow: 0 0 12px rgba(249, 217, 122, .6); }
.fx-title { position: relative; display: inline-block; margin: 0; padding: 0 54px; font-family: var(--fx-title); font-weight: 900; font-size: clamp(30px, 5.6vw, 58px); line-height: 1.08; letter-spacing: .01em;
  background: linear-gradient(100deg, #b7791f 0%, #fff6d5 22%, #f6cf5a 40%, #fff6d5 55%, #d69e2e 75%, #fff6d5 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(60, 20, 0, .55)) drop-shadow(0 0 22px rgba(246, 207, 90, .45)); animation: fx-gold 6s linear infinite; }
.fx-title::before, .fx-title::after { content: "✦"; position: absolute; top: 50%; transform: translateY(-50%); font-size: .45em; color: #f9d97a; -webkit-text-fill-color: #f9d97a; animation: fx-twinkle 2.2s ease-in-out infinite; }
.fx-title::before { left: 0; } .fx-title::after { right: 0; animation-delay: -1.1s; }
.fx-sub { margin: 14px auto 0; max-width: 40em; font-size: 15.5px; line-height: 1.6; color: var(--lav); }

/* ---------- xazina ---------- */
.fx-treasury { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 18px 26px; margin: 28px auto 22px; max-width: 860px; padding: 16px 24px; border-radius: 24px;
  background: linear-gradient(rgba(22, 10, 58, .72), rgba(22, 10, 58, .72)) padding-box, linear-gradient(135deg, #fff6d5, #b7791f 30%, #f6cf5a 55%, #7c4a12 80%, #fff6d5) border-box;
  border: 2px solid transparent; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8), 0 0 40px -12px rgba(246, 207, 90, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fx-rise .7s .1s both; }
.fx-chest { width: 96px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .55)); }
.fx-chest svg { display: block; width: 100%; height: auto; overflow: visible; }
.fx-chest-lid { transform-box: fill-box; transform-origin: 50% 100%; animation: fx-lid 3.2s ease-in-out infinite; }
.fx-chest-coins { animation: fx-coins 3.2s ease-in-out infinite; }
.fx-chest-glow { animation: fx-pulse 3.2s ease-in-out infinite; }
.fx-purse { display: flex; flex-direction: column; line-height: 1.05; }
.fx-purse small, .fx-coll small { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #c9b8ff; }
.fx-coins { font-family: var(--fx-serif); font-size: 44px; font-weight: 800; color: #fde68a; text-shadow: 0 0 18px rgba(253, 230, 138, .7), 0 3px 0 #7c4a12; }
.fx-purse span { font-size: 13px; color: #f9d97a; font-weight: 700; }
.fx-coll { display: flex; flex-direction: column; gap: 8px; justify-self: end; text-align: right; }
.fx-coll span { font-size: 13px; color: var(--lav); }
.fx-gems { display: flex; gap: 8px; justify-content: flex-end; }
.fx-gems i { width: 20px; height: 26px; clip-path: polygon(50% 0, 100% 35%, 50% 100%, 0 35%); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .15); }
.fx-gems i.on { background: linear-gradient(160deg, #fff, var(--hc) 45%, color-mix(in srgb, var(--hc) 60%, #000)); filter: drop-shadow(0 0 6px var(--hc)); animation: fx-gem 2.4s ease-in-out infinite; }
.fx-gems i.on:nth-child(2n) { animation-delay: -1.2s; }
.fx-skel { grid-template-columns: auto 1fr; } .fx-skel p { margin: 0; color: var(--lav); font-family: var(--fx-serif); letter-spacing: .06em; animation: fx-pulse 1.6s ease-in-out infinite; }

.fx-msg { max-width: 760px; margin: 0 auto 20px; padding: 12px 18px; border-radius: 16px; text-align: center; font-weight: 700; color: #fff; background: rgba(124, 58, 237, .35); border: 1px solid rgba(216, 204, 255, .35); animation: fx-pop .45s cubic-bezier(.2, 1.5, .4, 1) both; }
.fx-msg.ok { background: rgba(22, 101, 52, .45); border-color: rgba(134, 239, 172, .5); }
.fx-msg.bad { background: rgba(127, 29, 29, .45); border-color: rgba(252, 165, 165, .5); }

/* ---------- kartalar ---------- */
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); gap: 26px; perspective: 1200px; }
.fx-card { --rc: #4ade80; --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .25s ease-out; animation: fx-rise .8s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: var(--d); }
.fx-card.r-rare { --rc: #38bdf8; } .fx-card.r-epic { --rc: #c084fc; } .fx-card.r-legendary { --rc: #fbbf24; }
.fx-card.shake .fx-frame { animation: fx-shake .45s; }
.fx-frame { position: relative; height: 100%; display: flex; flex-direction: column; padding: 16px 16px 18px; border-radius: 24px; overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--rc) 16%, #170b40) 0%, #140937 46%, #0e0628 100%) padding-box,
    linear-gradient(145deg, #fff6d5 0%, #c08a2a 18%, #f6cf5a 34%, #7c4a12 52%, #f6cf5a 70%, #b7791f 86%, #fff6d5 100%) border-box;
  border: 2.5px solid transparent;
  box-shadow: 0 26px 46px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 0 36px -14px var(--rc); transition: box-shadow .3s; }
.fx-card:hover .fx-frame { box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 50px -8px var(--rc); }
.fx-card.active .fx-frame { animation: fx-aura 2.6s ease-in-out infinite; }
.fx-shine { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .22), transparent 42%); mix-blend-mode: screen; }
.fx-card:hover .fx-shine { opacity: 1; }
.fx-orn { position: absolute; z-index: 5; width: 34px; height: 34px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23f6cf5a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 22 C3 10 10 3 22 3'/%3E%3Cpath d='M8 26 C8 16 16 8 26 8'/%3E%3Cpath d='M14 4 C10 8 10 12 14 14 C17 15 18 12 16 10'/%3E%3C/g%3E%3Ccircle cx='4' cy='4' r='3' fill='%23fff6d5'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 0 4px rgba(246, 207, 90, .6)); }
.fx-orn.tl { top: 6px; left: 6px; } .fx-orn.tr { top: 6px; right: 6px; transform: scaleX(-1); } .fx-orn.bl { bottom: 6px; left: 6px; transform: scaleY(-1); } .fx-orn.br { bottom: 6px; right: 6px; transform: scale(-1); }
.fx-rar { position: absolute; z-index: 6; top: 12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 99px; white-space: nowrap; font-family: var(--fx-serif); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #1a0e00;
  background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--rc) 70%, #fff) 40%, var(--rc)); box-shadow: 0 4px 12px -4px var(--rc), 0 0 0 1.5px rgba(255, 255, 255, .6) inset; }
.r-legendary .fx-rar { overflow: hidden; } .r-legendary .fx-rar::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); transform: skewX(-20deg); animation: fx-sweep 2.6s ease-in-out infinite; }
.fx-crown { position: absolute; z-index: 7; top: 4px; right: 18px; font-size: 26px; filter: drop-shadow(0 0 8px #fbbf24); animation: fx-float 2.4s ease-in-out infinite; }

.fx-scene { position: relative; height: 222px; margin: 18px 0 12px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 82%, color-mix(in srgb, var(--hc) 45%, transparent), transparent 70%), radial-gradient(ellipse 90% 70% at 50% 0%, color-mix(in srgb, var(--rc) 25%, transparent), transparent 70%), linear-gradient(180deg, #1b0d4a, #0b0524);
  box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .18), inset 0 -20px 40px -20px rgba(0, 0, 0, .8); }
.fx-halo { position: absolute; left: 50%; bottom: 20px; width: 190px; height: 190px; margin-left: -95px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hc) 55%, transparent), transparent 68%); animation: fx-pulse 3s ease-in-out infinite; }
.fx-rune { position: absolute; left: 50%; bottom: -54px; width: 210px; height: 210px; margin-left: -105px; transform: rotateX(74deg); opacity: .8; filter: drop-shadow(0 0 6px #fde68a); }
.fx-rune svg { width: 100%; height: 100%; display: block; animation: fx-spin 16s linear infinite; }
.fx-hero { position: absolute; left: 50%; bottom: 10px; height: 194px; transform: translateX(-50%); animation: fx-float 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px color-mix(in srgb, var(--hc) 60%, transparent)); transition: filter .4s; }
.fx-hero svg { height: 100%; width: auto; display: block; overflow: visible; }
.fx-card.talk .fx-hero { animation: fx-talk .35s ease-in-out infinite; }
.fx-spark { position: absolute; bottom: 30px; width: 10px; height: 10px; background: #fff6d5; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 4px #fde68a); opacity: 0; animation: fx-spark 3.6s ease-in infinite; }
.fx-spark.s0 { left: 18%; animation-delay: 0s; } .fx-spark.s1 { left: 32%; animation-delay: 1.2s; width: 7px; height: 7px; } .fx-spark.s2 { left: 70%; animation-delay: .6s; } .fx-spark.s3 { left: 82%; animation-delay: 2s; width: 7px; height: 7px; } .fx-spark.s4 { left: 50%; animation-delay: 2.7s; } .fx-spark.s5 { left: 60%; animation-delay: 1.7s; width: 6px; height: 6px; }
/* ochilmagan: sirli siluet, zanjir va qulf */
.fx-card.locked .fx-hero { filter: brightness(0) drop-shadow(0 0 2px rgba(216, 204, 255, .9)) drop-shadow(0 0 14px rgba(167, 139, 250, .8)); animation-duration: 4.5s; }
.fx-card.locked:hover .fx-hero { filter: brightness(.45) saturate(.5) drop-shadow(0 0 16px rgba(167, 139, 250, .9)); }
.fx-card.locked .fx-halo { background: radial-gradient(circle, rgba(167, 139, 250, .45), transparent 68%); }
.fx-lock { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fx-chain { position: absolute; left: -10%; right: -10%; top: 50%; height: 9px; border-radius: 6px; background: repeating-linear-gradient(90deg, #cbd5e1 0 10px, #64748b 10px 12px, #e2e8f0 12px 20px, transparent 20px 23px); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); opacity: .85; }
.fx-chain.a { transform: rotate(-24deg); } .fx-chain.b { transform: rotate(24deg); }
.fx-pad { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 36px; filter: drop-shadow(0 0 10px rgba(253, 230, 138, .8)); animation: fx-padlock 2.6s ease-in-out infinite; }
.fx-card.locked:hover .fx-pad { animation: fx-padshake .5s ease-in-out infinite; }

.fx-name { margin: 2px 0 0; text-align: center; font-family: var(--fx-title); font-size: 24px; font-weight: 900; letter-spacing: .02em; background: linear-gradient(180deg, #fff6d5, #f6cf5a 60%, #c08a2a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .5)); }
.fx-kind { margin: 2px 0 12px; text-align: center; font-style: italic; font-size: 13.5px; color: #c9b8ff; }
.fx-power { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(246, 207, 90, .4); font-size: 13px; line-height: 1.45; color: #e9e1ff; }
.fx-power b { color: #fde68a; font-size: 13.5px; } .fx-power small { color: #b9a8ee; font-size: 12px; }
.fx-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.fx-tags span { padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.fx-tags span.ok { background: rgba(34, 197, 94, .18); border-color: rgba(134, 239, 172, .45); color: #bbf7d0; } .fx-tags span.gray { color: #a8a2c4; }
/* topshiriq — qadimiy o'ram */
.fx-quest { position: relative; margin-top: 12px; padding: 12px 14px 10px; border-radius: 10px; color: #4a2c0a;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .5), transparent 40%), linear-gradient(180deg, #f8ecd0, #ead6a6); box-shadow: inset 0 0 18px rgba(120, 72, 20, .35), 0 6px 14px -8px rgba(0, 0, 0, .7); }
.fx-quest::before, .fx-quest::after { content: ""; position: absolute; left: -4px; right: -4px; height: 8px; border-radius: 6px; background: linear-gradient(180deg, #c99a5a, #8a5a22); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); }
.fx-quest::before { top: -4px; } .fx-quest::after { bottom: -4px; }
.fx-q-t { display: flex; flex-direction: column; gap: 2px; font-size: 13px; } .fx-q-t b { font-family: var(--fx-serif); font-size: 12.5px; letter-spacing: .08em; color: #7c3a0a; }
.fx-vial { position: relative; height: 14px; margin: 8px 0 4px; border-radius: 99px; overflow: hidden; background: rgba(74, 44, 10, .18); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), inset 0 0 0 1.5px rgba(124, 58, 10, .45); }
.fx-vial i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: radial-gradient(circle at 20% 60%, rgba(255, 255, 255, .7) 0 2px, transparent 3px) 0 0 / 18px 14px, linear-gradient(90deg, #8b5cf6, #ec4899); animation: fx-bubble 1.6s linear infinite; box-shadow: 0 0 10px rgba(236, 72, 153, .7); }
.fx-vial::after { content: ""; position: absolute; left: 6px; right: 6px; top: 2px; height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .55); }
.fx-quest small { font-size: 12px; font-weight: 700; color: #7c4a12; }
.fx-quest.done { background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .6), transparent 40%), linear-gradient(180deg, #fbf3c8, #f0dc8c); }
.fx-quest.done small { color: #166534; }

/* ---------- tugmalar ---------- */
.fx-acts { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 14px; }
.fx-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 18px; border: 0; border-radius: 14px; cursor: pointer;
  font-family: var(--fx-serif); font-size: 14.5px; font-weight: 800; letter-spacing: .03em; color: #2a1600 !important; text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  background: linear-gradient(180deg, #fff6d5 0%, #f6cf5a 42%, #d69e2e 78%, #b7791f 100%);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .65) inset, 0 5px 0 #7c4a12, 0 12px 24px -8px rgba(246, 207, 90, .65); transition: transform .12s, box-shadow .2s, filter .2s; -webkit-tap-highlight-color: transparent; }
.fx-btn::before { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-22deg); animation: fx-sweep 3.2s ease-in-out infinite; }
.fx-btn::after { content: "✦"; position: absolute; right: 10px; top: 4px; font-size: 11px; color: #fff; opacity: 0; transition: opacity .2s; text-shadow: 0 0 6px #fff; }
.fx-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .75) inset, 0 7px 0 #7c4a12, 0 18px 34px -8px rgba(246, 207, 90, .85); }
.fx-btn:hover:not(:disabled)::after { opacity: 1; animation: fx-twinkle 1s ease-in-out infinite; }
.fx-btn:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5) inset, 0 1px 0 #7c4a12; }
.fx-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fx-btn:disabled { cursor: default; filter: grayscale(.4) brightness(.8); opacity: .6; }
.fx-btn.big { width: 100%; justify-content: space-between; min-height: 52px; font-size: 15.5px; }
.fx-price { padding: 4px 10px; border-radius: 99px; background: #2a1600; color: #fde68a; text-shadow: none; font-size: 13.5px; box-shadow: inset 0 0 0 1px rgba(253, 230, 138, .45); }
.fx-btn.poor { filter: saturate(.35) brightness(.85); }
.fx-btn.poor::before { display: none; }
.fx-btn.free { background: linear-gradient(180deg, #f0fdf4, #86efac 45%, #22c55e 85%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .7) inset, 0 5px 0 #166534, 0 12px 26px -8px rgba(74, 222, 128, .7); color: #052e16 !important; }
.fx-btn.ghost { color: #fde68a !important; text-shadow: 0 0 8px rgba(253, 230, 138, .5); background: rgba(246, 207, 90, .08); box-shadow: inset 0 0 0 1.5px rgba(246, 207, 90, .7), 0 0 16px -6px rgba(246, 207, 90, .6); }
.fx-btn.ghost:hover:not(:disabled) { background: rgba(246, 207, 90, .18); box-shadow: inset 0 0 0 1.5px #fde68a, 0 0 22px -4px rgba(246, 207, 90, .8); }
.fx-btn.ghost::before { opacity: .35; }
.fx-btn.sm { min-height: 40px; font-size: 13px; padding: 8px 14px; background: linear-gradient(180deg, #ede9fe, #a78bfa 55%, #7c3aed); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .6) inset, 0 4px 0 #4c1d95, 0 10px 20px -8px rgba(167, 139, 250, .7); color: #1e0b4b !important; }
.fx-badge { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; font-family: var(--fx-serif); font-weight: 800; color: #fde68a; background: linear-gradient(90deg, transparent, rgba(246, 207, 90, .22), transparent); box-shadow: inset 0 0 0 1.5px rgba(246, 207, 90, .55); text-shadow: 0 0 10px rgba(253, 230, 138, .8); }
.fx-short { text-align: center; font-size: 12.5px; font-weight: 700; color: #fca5a5; }
.fx-voice { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 6px; border: 0; background: none; color: #c9b8ff !important; font-weight: 700; font-size: 13px; cursor: pointer; border-radius: 10px; }
.fx-voice:hover, .fx-voice:focus-visible { color: #fff !important; background: rgba(255, 255, 255, .06); outline: none; }
.fx-wave { display: inline-flex; gap: 2px; align-items: flex-end; height: 14px; }
.fx-wave i { width: 3px; height: 5px; border-radius: 2px; background: currentColor; }
.fx-card.talk .fx-wave i { animation: fx-eq .5s ease-in-out infinite alternate; } .fx-card.talk .fx-wave i:nth-child(2) { animation-delay: .15s; } .fx-card.talk .fx-wave i:nth-child(3) { animation-delay: .3s; }

/* ---------- oynalar: tasdiq o'rami va ochilish marosimi ---------- */
html.fx-noscroll { overflow: hidden; }
.fx-ov { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; overflow-y: auto; font-family: "Plus Jakarta Sans", "Nunito", system-ui, sans-serif; animation: fx-fade .3s ease-out both; }
.fx-ov.out { animation: fx-fade .3s ease-in reverse both; }
.fx-ask { background: radial-gradient(circle at 50% 40%, rgba(76, 29, 149, .55), rgba(5, 2, 18, .85)); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.fx-scroll { position: relative; width: min(420px, 100%); animation: fx-unroll .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.fx-roll { display: block; height: 22px; border-radius: 12px; margin: 0 -10px; background: linear-gradient(180deg, #e0b878, #8a5a22 70%, #5b3a12); box-shadow: 0 4px 8px rgba(0, 0, 0, .55); position: relative; z-index: 2; }
.fx-paper { margin: -6px 0; padding: 22px 22px 20px; text-align: center; color: #4a2c0a;
  background: radial-gradient(circle at 15% 10%, rgba(255, 255, 255, .55), transparent 40%), radial-gradient(circle at 90% 90%, rgba(160, 110, 40, .25), transparent 45%), linear-gradient(180deg, #fbf1d6, #ecd8a8); box-shadow: inset 0 0 30px rgba(120, 72, 20, .4); }
.fx-ask-hero { height: 150px; display: flex; justify-content: center; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); animation: fx-float 3s ease-in-out infinite; }
.fx-ask-hero svg { height: 100%; width: auto; overflow: visible; }
.fx-ask-eb { margin: 8px 0 2px; font-family: "Cinzel", Georgia, serif; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8a5a22; }
.fx-paper h2 { margin: 0; font-family: "Cinzel Decorative", "Cinzel", Georgia, serif; font-size: 24px; font-weight: 900; color: #5b2a06; }
.fx-ask-p { margin: 10px 0 16px; font-size: 15px; line-height: 1.5; } .fx-ask-p b { color: #7c2d12; }
.fx-ask-acts { display: flex; flex-direction: column; gap: 8px; }
.fx-paper .fx-btn.ghost { color: #7c4a12 !important; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(124, 74, 18, .55); text-shadow: none; }

.fx-cer { background: radial-gradient(circle at 50% 45%, #2a1068 0%, #0b0424 55%, #030108 100%); overflow: hidden; }
.fx-cer-rays { position: absolute; left: 50%; top: 42%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; border-radius: 50%; background: repeating-conic-gradient(rgba(253, 230, 138, .16) 0 6deg, transparent 6deg 18deg); -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%); animation: fx-spin 30s linear infinite, fx-fade 1.2s .9s both; }
.fx-cer-circle { position: absolute; left: 50%; top: 58%; width: 340px; height: 340px; margin: -170px 0 0 -170px; transform: rotateX(70deg); filter: drop-shadow(0 0 10px #fde68a) drop-shadow(0 0 30px #a78bfa); animation: fx-cerc 1.1s cubic-bezier(.2, 1.3, .4, 1) both; }
.fx-cer-circle svg { width: 100%; height: 100%; animation: fx-spin 8s linear infinite; }
.fx-cer-pillar { position: absolute; left: 50%; top: 0; bottom: 42%; width: 180px; margin-left: -90px; background: linear-gradient(180deg, transparent, rgba(253, 230, 138, .55) 60%, rgba(255, 255, 255, .9)); filter: blur(10px); transform-origin: bottom; animation: fx-pillar 1.8s .5s ease-out both; }
.fx-cer-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.fx-cer-burst i { position: absolute; width: 10px; height: 10px; margin: -5px; background: var(--c); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); filter: drop-shadow(0 0 6px var(--c)); opacity: 0; animation: fx-burst 1.4s var(--dl) cubic-bezier(.1, .8, .3, 1) both; }
.fx-cer-hero { position: absolute; left: 50%; top: 50%; height: min(44vh, 330px); transform: translate(-50%, -78%); filter: drop-shadow(0 0 24px var(--hc)) drop-shadow(0 0 60px rgba(253, 230, 138, .5)); animation: fx-heroup 1.3s 1s cubic-bezier(.2, 1.3, .4, 1) both; }
.fx-cer-hero svg { height: 100%; width: auto; overflow: visible; animation: fx-float 3s 2.3s ease-in-out infinite; }
.fx-cer-txt { position: absolute; left: 50%; bottom: max(4vh, 18px); width: min(460px, calc(100% - 32px)); transform: translateX(-50%); text-align: center; color: #f8f1ff; animation: fx-rise .8s 1.6s both; }
.fx-cer-eb { margin: 0; font-family: "Cinzel", Georgia, serif; font-size: 12.5px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: #f9d97a; }
.fx-cer-txt h2 { margin: 4px 0 0; font-family: "Cinzel Decorative", "Cinzel", Georgia, serif; font-size: clamp(34px, 8vw, 56px); font-weight: 900; line-height: 1.05;
  background: linear-gradient(100deg, #b7791f, #fff6d5 25%, #f6cf5a 45%, #fff6d5 60%, #d69e2e); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 20px rgba(246, 207, 90, .6)); animation: fx-gold 5s linear infinite; }
.fx-cer-rar { margin: 4px 0 10px; color: #c9b8ff; font-style: italic; }
.fx-cer-ab { display: flex; flex-direction: column; gap: 3px; margin: 0 0 10px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(246, 207, 90, .45); font-size: 13.5px; } .fx-cer-ab b { color: #fde68a; }
.fx-cer-note { margin: 0 0 14px; font-weight: 700; color: #bbf7d0; font-size: 14px; }

/* ---------- listening pleyeri (QuizView) ---------- */
.card.player .lp-pause { display: inline-flex; gap: 4px; align-items: center; justify-content: center; width: 22px; height: 22px; }
.card.player .lp-pause i { width: 6px; height: 18px; border-radius: 2px; background: currentColor; }
.card.player .lp-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.card.player .lp-b { min-height: 38px; padding: 7px 12px; border-radius: 12px; border: 1.5px solid rgba(139, 92, 246, .45); background: rgba(139, 92, 246, .1); color: inherit; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; transition: background .15s, transform .1s; }
.card.player .lp-b:hover { background: rgba(139, 92, 246, .2); } .card.player .lp-b:active { transform: translateY(2px); }
.card.player .lp-st { font-size: 13px; font-weight: 700; opacity: .8; }
.card.player .lp-bar { height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(139, 92, 246, .15); overflow: hidden; }
.card.player .lp-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8b5cf6, #ec4899); transition: width .4s ease; }

/* ---------- animatsiyalar ---------- */
@keyframes fx-twinkle { 50% { opacity: 1; transform: scale(1.5); } }
@keyframes fx-moon { 50% { transform: translateY(-8px); } }
@keyframes fx-aurora { from { transform: translateX(-6%) skewY(-3deg); } to { transform: translateX(6%) skewY(3deg); } }
@keyframes fx-flicker { 0%, 100% { opacity: 1; } 45% { opacity: .55; } 50% { opacity: .9; } 70% { opacity: .6; } }
@keyframes fx-fly { 0% { transform: translate(0, 0); opacity: .2; } 20% { opacity: 1; } 25% { transform: translate(30px, -26px); } 50% { transform: translate(-18px, -54px); opacity: .4; } 75% { transform: translate(24px, -20px); opacity: 1; } 100% { transform: translate(0, 0); opacity: .2; } }
@keyframes fx-mist { to { transform: translateX(6%); } }
@keyframes fx-gold { to { background-position: -220% 0; } }
@keyframes fx-rise { from { opacity: 0; transform: translateY(34px) scale(.94); } }
@keyframes fx-pop { 0% { opacity: 0; transform: scale(.8); } 100% { opacity: 1; transform: none; } }
@keyframes fx-lid { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg) translateY(-6px); } 80% { transform: rotate(-4deg); } }
@keyframes fx-coins { 0%, 60%, 100% { transform: translateY(14px); opacity: 0; } 70% { transform: translateY(-10px); opacity: 1; } 85% { transform: translateY(-4px); opacity: 1; } }
@keyframes fx-pulse { 50% { opacity: .55; transform: scale(1.06); } }
@keyframes fx-gem { 50% { filter: drop-shadow(0 0 12px var(--hc)) brightness(1.3); transform: translateY(-2px); } }
@keyframes fx-aura { 50% { box-shadow: 0 26px 46px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 0 60px -4px #fbbf24; } }
@keyframes fx-sweep { 0%, 55% { left: -70%; } 100% { left: 140%; } }
@keyframes fx-float { 50% { transform: translateX(-50%) translateY(-9px); } }
.fx-crown, .fx-ask-hero, .fx-cer-hero svg { --fx-x: 0; }
.fx-crown { animation-name: fx-bob; } .fx-ask-hero { animation-name: fx-bob; } .fx-cer-hero svg { animation-name: fx-bob; }
@keyframes fx-bob { 50% { transform: translateY(-8px); } }
@keyframes fx-talk { 0%, 100% { transform: translateX(-50%) translateY(0) rotate(0); } 50% { transform: translateX(-50%) translateY(-6px) rotate(-2deg); } }
@keyframes fx-spark { 0% { transform: translateY(0) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-150px) scale(1.1) rotate(180deg); opacity: 0; } }
@keyframes fx-spin { to { transform: rotate(360deg); } }
@keyframes fx-padlock { 50% { transform: translate(-50%, -56%) scale(1.06); } }
@keyframes fx-padshake { 25% { transform: translate(-50%, -50%) rotate(-12deg); } 75% { transform: translate(-50%, -50%) rotate(12deg); } }
@keyframes fx-shake { 20% { transform: translateX(-8px) rotate(-1deg); } 40% { transform: translateX(7px) rotate(1deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes fx-bubble { to { background-position: 18px 0, 0 0; } }
@keyframes fx-eq { from { height: 4px; } to { height: 14px; } }
@keyframes fx-fade { from { opacity: 0; } }
@keyframes fx-unroll { from { opacity: 0; transform: scaleY(.2); } }
@keyframes fx-cerc { from { opacity: 0; transform: rotateX(70deg) scale(.1); } }
@keyframes fx-pillar { 0% { opacity: 0; transform: scaleY(0); } 40% { opacity: 1; transform: scaleY(1); } 100% { opacity: .35; transform: scaleY(1); } }
@keyframes fx-burst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(.4); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(1.2); } }
@keyframes fx-heroup { from { opacity: 0; transform: translate(-50%, -20%) scale(.3); filter: brightness(6); } }

/* ---------- telefon ---------- */
@media (max-width: 820px) {
  .fx-realm { border-radius: 20px; margin: 0 -4px 16px; }
  .fx-inner { padding: 24px 14px 36px; }
  .fx-moon { width: 44px; height: 44px; top: 8px; right: 4%; opacity: .9; }
  .fx-title { padding: 0 30px; }
  .fx-sub { font-size: 14px; }
  .fx-treasury { grid-template-columns: auto 1fr; gap: 12px 16px; padding: 14px 16px; margin: 20px 0 18px; }
  .fx-chest { width: 72px; }
  .fx-coins { font-size: 36px; }
  .fx-coll { grid-column: 1 / -1; justify-self: stretch; text-align: left; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .fx-gems { justify-content: flex-start; }
  .fx-grid { grid-template-columns: 1fr; gap: 20px; }
  .fx-card { max-width: 440px; width: 100%; justify-self: center; }
  .fx-scene { height: 206px; }
  .fx-hero { height: 180px; }
  .fx-land { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx-realm *, .fx-realm *::before, .fx-realm *::after, .fx-ov *, .fx-ov *::before, .fx-ov *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* ==== /css/fairy.css ==== */
/* =========================================================
   EasyStudy v8 "Sehrli ertak" — butun sayt uchun ertak dunyosi uslubi.
   Tungi ertak osmoni (oy, yog'du, qal'a siluetlari — js/fairy.js), pergament kartalar oltin naqsh bilan,
   oltin sehrli tugmalar, medalyonli menyu. galaxy.css ustidan yuklanadi.
   Qaytarish: assets() / app/index.html dan fairy.css va fairy.js qatorlarini olib tashlang.
   ========================================================= */

:root{
  --fy-title:"Cinzel Decorative","Cinzel",Georgia,serif; --fy-serif:"Cinzel",Georgia,serif;
  --fh:"Cinzel Decorative","Cinzel",Georgia,serif;
  --ink:#2b1a3d;--ink-2:#4b3760;--muted:#7a6788;
  --paper:#fdf6e3;--soft:#f5e9cc;--line:#ecdcb4;--line-2:#e2cb94;
  --brand:#9d4edd;--brand-ink:#6b21a8;--brand-soft:#f3e8ff;
  --g1:rgba(244,114,182,.38);--g2:rgba(45,212,191,.18);--g3:rgba(129,92,246,.42);
  --sky-a:#090626;--sky-b:#1d1050;--sky-c:#3a1a63;
  --fy-gold:linear-gradient(180deg,#fff6d5 0%,#f6cf5a 42%,#d69e2e 80%,#b7791f 100%);
  --fy-goldtext:linear-gradient(100deg,#b7791f 0%,#fff6d5 22%,#f6cf5a 40%,#fff6d5 55%,#d69e2e 75%,#fff6d5 100%);
  --fy-magic:linear-gradient(90deg,#a78bfa 0%,#f472b6 55%,#fbbf24 100%);
  --c-sh:0 1px 0 rgba(255,255,255,.75) inset,0 0 0 1px rgba(201,150,60,.38),0 22px 46px -22px rgba(6,3,24,.9),0 0 34px -18px rgba(246,207,90,.45);
  --c-sh-lg:0 1px 0 rgba(255,255,255,.8) inset,0 0 0 2px rgba(246,207,90,.7),0 30px 60px -24px rgba(6,3,24,.95),0 0 46px -10px rgba(246,207,90,.65);
  --st:var(--c-sh);--st-lg:var(--c-sh-lg);--au-sh:var(--c-sh);--au-sh-lg:var(--c-sh-lg);
  --fy-orn-tl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 24 C3 11 11 3 24 3'/%3E%3Cpath d='M9 28 C9 17 17 9 28 9'/%3E%3Cpath d='M15 4 C11 8 11 13 15 15 C18 16 19 13 17 11'/%3E%3C/g%3E%3Ccircle cx='4.5' cy='4.5' r='3' fill='%23e8c66b'/%3E%3C/svg%3E");
  --fy-orn-tr:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='translate(40 0) scale(-1 1)'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 24 C3 11 11 3 24 3'/%3E%3Cpath d='M9 28 C9 17 17 9 28 9'/%3E%3Cpath d='M15 4 C11 8 11 13 15 15 C18 16 19 13 17 11'/%3E%3C/g%3E%3Ccircle cx='4.5' cy='4.5' r='3' fill='%23e8c66b'/%3E%3C/g%3E%3C/svg%3E");
  --fy-orn-bl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='translate(0 40) scale(1 -1)'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 24 C3 11 11 3 24 3'/%3E%3Cpath d='M9 28 C9 17 17 9 28 9'/%3E%3Cpath d='M15 4 C11 8 11 13 15 15 C18 16 19 13 17 11'/%3E%3C/g%3E%3Ccircle cx='4.5' cy='4.5' r='3' fill='%23e8c66b'/%3E%3C/g%3E%3C/svg%3E");
  --fy-orn-br:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg transform='translate(40 40) scale(-1 -1)'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M3 24 C3 11 11 3 24 3'/%3E%3Cpath d='M9 28 C9 17 17 9 28 9'/%3E%3Cpath d='M15 4 C11 8 11 13 15 15 C18 16 19 13 17 11'/%3E%3C/g%3E%3Ccircle cx='4.5' cy='4.5' r='3' fill='%23e8c66b'/%3E%3C/g%3E%3C/svg%3E");
  --fy-flourish:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16'%3E%3Cg fill='none' stroke='%23f6cf5a' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M4 8 H96 M144 8 H236'/%3E%3Cpath d='M96 8 C104 2 110 2 114 8 C110 14 104 14 96 8Z M144 8 C136 2 130 2 126 8 C130 14 136 14 144 8Z'/%3E%3C/g%3E%3Cpath d='M120 1.5 L126.5 8 L120 14.5 L113.5 8Z' fill='%23fff6d5' stroke='%23d69e2e' stroke-width='1.2'/%3E%3C/svg%3E");
}
.theme-sky,.theme-mint,.theme-peach,.theme-rose,.theme-lavender,.theme-midnight,.theme-royal{--sky-a:#090626;--sky-b:#1d1050;--sky-c:#3a1a63}

/* ---------- Tungi ertak osmoni ---------- */
html{background:#090626}
html body,html body.login,html body[class*="theme-"]{
  background:
    radial-gradient(1.4px 1.4px at 22px 34px,rgba(255,255,255,.95) 50%,transparent 52%) 0 0/150px 150px,
    radial-gradient(1px 1px at 90px 80px,rgba(255,246,213,.75) 50%,transparent 52%) 0 0/190px 190px,
    radial-gradient(1.8px 1.8px at 60px 130px,rgba(253,230,138,.85) 50%,transparent 52%) 0 0/270px 270px,
    radial-gradient(1.1px 1.1px at 150px 20px,rgba(216,204,255,.8) 50%,transparent 52%) 0 0/320px 320px,
    radial-gradient(70rem 30rem at 50% 118%,rgba(244,114,182,.42),transparent 62%),
    radial-gradient(56rem 40rem at 104% -6%,rgba(129,92,246,.5),transparent 60%),
    radial-gradient(44rem 34rem at -6% 34%,rgba(45,212,191,.16),transparent 62%),
    linear-gradient(180deg,#090626 0%,#1a0f4a 38%,#2e1660 70%,#4a1d63 100%) !important;
  background-attachment:fixed !important}
/* oy */
html body::before,html body.login::before{width:118px !important;height:118px !important;top:46px !important;right:5% !important;left:auto !important;bottom:auto !important;border-radius:50% !important;
  background:radial-gradient(circle at 36% 34%,#fffdf1 0%,#fdf0b8 45%,#f6d77a 70%,#e8b94e 100%) !important;filter:none !important;opacity:.95 !important;
  box-shadow:0 0 50px 14px rgba(253,230,138,.42),0 0 140px 60px rgba(196,167,255,.24) !important;animation:fyMoon 9s ease-in-out infinite !important}
/* shimol yog'dusi */
html body::after,html body.login::after{width:120vw !important;height:46vh !important;top:-12vh !important;left:-10vw !important;right:auto !important;bottom:auto !important;border-radius:0 !important;
  background:linear-gradient(100deg,transparent 10%,rgba(45,212,191,.5) 30%,transparent 46%,rgba(244,114,182,.42) 62%,transparent 76%,rgba(167,139,250,.48) 88%,transparent) !important;
  filter:blur(60px) !important;opacity:.42 !important;animation:fyAurora 18s ease-in-out infinite alternate !important}
@keyframes fyMoon{50%{transform:translateY(-10px)}}
@keyframes fyAurora{from{transform:translateX(-5%) skewY(-3deg)}to{transform:translateX(5%) skewY(3deg)}}
::selection{background:#f6cf5a;color:#2a1600}
:focus-visible{outline:3px solid #f6cf5a;outline-offset:3px}

/* sahna (js/fairy.js qo'shadi): qal'a va o'rmon siluetlari, tuman, yaltiroq qo'ng'izlar */
.fy-scene{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.fy-land{position:absolute;left:0;right:0;bottom:0;height:min(30vh,250px)}
.fy-land svg{width:100%;height:100%;display:block}
.fy-land .fy-win rect{animation:fyFlicker 2.6s ease-in-out infinite;filter:drop-shadow(0 0 4px #fde68a)}
.fy-land .fy-win rect:nth-child(2n){animation-delay:-1.3s}
.fy-mist{position:absolute;left:-10%;right:-10%;bottom:0;height:170px;background:radial-gradient(ellipse 50% 60% at 30% 100%,rgba(216,204,255,.2),transparent 70%),radial-gradient(ellipse 50% 60% at 75% 100%,rgba(244,114,182,.16),transparent 70%);animation:fyMist 16s ease-in-out infinite alternate}
.fy-flies i{position:absolute;width:5px;height:5px;border-radius:50%;background:#fef9c3;box-shadow:0 0 8px 3px rgba(254,240,138,.8),0 0 18px 6px rgba(250,204,21,.3);animation:fyFly 11s ease-in-out infinite}
.fy-spark{position:fixed;z-index:100000;width:9px;height:9px;margin:-4.5px;pointer-events:none;background:var(--c,#fde68a);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);filter:drop-shadow(0 0 4px var(--c,#fde68a));animation:fyBurst .7s cubic-bezier(.1,.8,.3,1) forwards}
.fy-trail{position:fixed;z-index:100000;width:7px;height:7px;margin:-3.5px;pointer-events:none;border-radius:50%;background:radial-gradient(circle,#fff,var(--c,#fde68a) 45%,transparent 70%);animation:fyTrail .8s ease-out forwards}
@keyframes fyFlicker{0%,100%{opacity:1}45%{opacity:.5}50%{opacity:.9}70%{opacity:.6}}
@keyframes fyMist{to{transform:translateX(6%)}}
@keyframes fyFly{0%{transform:translate(0,0);opacity:.15}20%{opacity:1}25%{transform:translate(30px,-26px)}50%{transform:translate(-18px,-56px);opacity:.35}75%{transform:translate(24px,-20px);opacity:1}100%{transform:translate(0,0);opacity:.15}}
@keyframes fyBurst{0%{opacity:1;transform:translate(0,0) scale(.5) rotate(0)}100%{opacity:0;transform:translate(var(--dx),var(--dy)) scale(1.2) rotate(160deg)}}
@keyframes fyTrail{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:translateY(14px) scale(.2)}}
@keyframes fyGold{to{background-position:-220% 0}}
@keyframes fySweep{0%,55%{left:-70%}100%{left:140%}}
@keyframes fyPulse{0%,100%{box-shadow:0 0 0 3px rgba(246,207,90,.75),0 6px 0 rgba(0,0,0,.35),0 0 26px 2px var(--t)}50%{box-shadow:0 0 0 5px rgba(246,207,90,.95),0 6px 0 rgba(0,0,0,.35),0 0 46px 10px var(--t)}}
@keyframes fyTwinkle{50%{opacity:.35;transform:scale(.7)}}

/* ---------- Tipografiya ---------- */
html body h1,html body h2{font-family:var(--fy-title)}
html body h2{font-family:var(--fy-serif);font-weight:800;letter-spacing:.01em}
html body h3{font-family:var(--fy-serif);font-weight:800;letter-spacing:.01em}
html body .main>h1,html body .main h1:not(.fx-title):not(.sr-only){font-family:var(--fy-title) !important;font-weight:900;letter-spacing:.01em;line-height:1.15;text-shadow:none}
html body .main>h1::after{content:"";display:block;width:min(240px,64%);height:16px;margin-top:8px;background:var(--fy-flourish) left center/contain no-repeat;filter:drop-shadow(0 0 6px rgba(246,207,90,.5))}
html body .main>h1.sr-only::after{display:none}
html body .hl,html body h1 .hl{background:var(--fy-goldtext);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 2px 0 rgba(60,20,0,.5)) drop-shadow(0 0 16px rgba(246,207,90,.35));animation:fyGold 7s linear infinite}
html body :is(.card,.panel) .hl{background:linear-gradient(100deg,#6b21a8,#c026d3 45%,#b7791f);-webkit-background-clip:text;background-clip:text;filter:none;animation:none}
html body .main>p,html body .main>.lead,html body .main>.muted,html body .main>p.muted{color:rgba(240,232,255,.84)}
html body .main>p b,html body .main>.lead b{color:#fde68a}
html body .main>p a:not(.btn),html body .main>.lead a:not(.btn){color:#f9d97a}
/* yorliq — oltin lenta */
html body .eyebrow{background:linear-gradient(90deg,rgba(246,207,90,.18),rgba(246,207,90,.06));color:#fde68a;border:1px solid rgba(246,207,90,.5);font-family:var(--fy-serif);font-weight:800;letter-spacing:.18em;box-shadow:0 0 18px -4px rgba(246,207,90,.45)}
html body .eyebrow::before{content:"✦";width:auto;height:auto;background:none;box-shadow:none;color:#f6cf5a;font-size:.8rem;line-height:1;text-shadow:0 0 8px #f6cf5a;border-radius:0}
html body .main>.eyebrow,html body .main>header .eyebrow,html body .main>div:not(.card):not(.panel)>.eyebrow{background:linear-gradient(90deg,rgba(246,207,90,.18),rgba(246,207,90,.06)) !important;color:#fde68a !important;border:1px solid rgba(246,207,90,.5) !important}
html body :is(.card,.panel,.units,.unit,fieldset.q,.lv-card,dialog,.modal) .eyebrow{background:linear-gradient(90deg,#f3e2b8,#efd8a2) !important;color:#7c4a12 !important;border:1px solid #d9b56a !important}
html body :is(.card,.panel,.units,.unit,fieldset.q,dialog,.modal) .eyebrow::before{background:none;color:#b7791f;text-shadow:none}

/* ---------- Yon panel: tungi sehrli panel + medalyonlar ---------- */
html body .app .side.side{background:linear-gradient(180deg,rgba(22,12,56,.93) 0%,rgba(12,7,34,.96) 100%) !important;border-right:0 !important;
  box-shadow:inset -1px 0 0 rgba(246,207,90,.4),18px 0 50px -30px rgba(246,207,90,.35) !important;backdrop-filter:blur(18px) saturate(1.2)}
html body .app .side .brand{font-family:var(--fy-title) !important;font-weight:900 !important;letter-spacing:0 !important;color:#fff6d5 !important}
html body .side .brand b,html body .brand b{background:var(--fy-goldtext);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:fyGold 7s linear infinite}
html body .side .logo,html body .l-art .logo{color:#d69e2e !important;filter:drop-shadow(0 0 10px rgba(246,207,90,.75)) !important}
html body .app .side nav a{color:rgba(232,224,255,.8) !important;font-weight:700 !important;border-radius:14px !important}
html body .app .side nav a .i{box-shadow:0 0 0 2px rgba(246,207,90,.55),0 6px 16px -6px var(--igc,#7c3aed),inset 0 1px 0 rgba(255,255,255,.4) !important;border-radius:50% !important}
html body .app .side nav a:hover{background:linear-gradient(90deg,rgba(246,207,90,.14),rgba(246,207,90,.02)) !important;color:#fff6d5 !important}
html body .app .side nav a:hover .i{box-shadow:0 0 0 2px #f6cf5a,0 0 18px 2px rgba(246,207,90,.55) !important}
html body .app .side nav a[aria-current]{background:var(--fy-gold) !important;color:#2a1600 !important;text-shadow:0 1px 0 rgba(255,255,255,.5);
  box-shadow:0 0 0 1.5px rgba(255,255,255,.6) inset,0 4px 0 #7c4a12,0 12px 28px -10px rgba(246,207,90,.85) !important}
html body .app .side nav a[aria-current] .i{background:#2a1600 !important;color:#fde68a !important;box-shadow:0 0 0 2px rgba(255,255,255,.55) !important}
html body .app .side nav a[aria-current] span{color:#2a1600 !important}
html body .app .side .sep{background:linear-gradient(90deg,transparent,rgba(246,207,90,.5),transparent) !important;height:1px}
html body .app .side .me-chips>span,html body .app .side .me-chips>a{background:linear-gradient(180deg,rgba(246,207,90,.14),rgba(246,207,90,.04)) !important;color:#fff6d5 !important;border:1px solid rgba(246,207,90,.45) !important}
html body .app .side .me-chips>a:hover{background:rgba(246,207,90,.22) !important}
html body .app .side .who{background:linear-gradient(180deg,rgba(255,246,213,.07),rgba(255,246,213,.02)) !important;border:1px solid rgba(246,207,90,.35) !important}
html body .app .side .who b{color:#fff6d5 !important;font-family:var(--fy-serif)}
html body .av{border:2px solid #f6cf5a !important;box-shadow:0 0 0 3px rgba(246,207,90,.3),0 0 16px -2px rgba(246,207,90,.6),0 6px 16px -6px rgba(0,0,0,.5) !important}
html body .nbadge{background:var(--fy-gold) !important;color:#2a1600 !important;box-shadow:0 0 12px rgba(246,207,90,.8) !important}

/* ---------- Kartalar: ertak kitobi sahifasi (pergament + oltin naqsh) ---------- */
html body :is(.card:not(.prompt):not(.unit-head):not(.tipline):not(.rc-hero):not(.ln-hero):not(.ai-hero):not(.result):not(.fx-card),.panel,.grid,.lb,.sv-step,.srow,table,.badge,.skcard,.tcard,.stat,.mode.slim,.ln-plan,.ln-path-w,.lv-card){
  background-color:#fdf6e3;
  background-image:var(--fy-orn-tl),var(--fy-orn-tr),var(--fy-orn-bl),var(--fy-orn-br),
    radial-gradient(120% 80% at 0% 0%,rgba(255,255,255,.8),transparent 50%),radial-gradient(100% 70% at 100% 100%,rgba(214,158,46,.14),transparent 55%),linear-gradient(180deg,#fffaf0,#f7ebcf);
  background-position:5px 5px,right 5px top 5px,left 5px bottom 5px,right 5px bottom 5px,0 0,0 0,0 0;
  background-size:20px 20px,20px 20px,20px 20px,20px 20px,auto,auto,auto;background-repeat:no-repeat;
  border:1px solid #e1c78c;color:var(--ink);box-shadow:var(--c-sh)}
html body .card.result,html body .card.ai-hero{background-color:#fdf6e3;border:1px solid #e1c78c;box-shadow:var(--c-sh)}
html body .card.result{background-image:radial-gradient(90% 60% at 50% 0%,rgba(246,207,90,.35),transparent 60%),linear-gradient(180deg,#fffaf0,#f7ebcf)}
html body .prompt{background-color:#fdf6e3;border-left-color:#d69e2e}
html body table{border-collapse:separate;overflow:hidden}
html body th{background:linear-gradient(90deg,#f1dfb2,#e8d09a) !important;color:#5b2a06 !important;font-family:var(--fy-serif)}
html body td{border-color:#ecdcb4}
@media (hover:hover){
  html body :is(a.card,.tcard,.stat,.mode,a.sec,a.statlink,.tilt,.skcard):hover{background-color:#fdf6e3;box-shadow:var(--c-sh-lg)}
}
html body :is(.card,.panel,.tcard,.stat,.grid,.lb) :is(h2,h3){color:#3b1d4f}
html body .muted{color:var(--muted)}
html body .chip{box-shadow:inset 0 0 0 1px rgba(183,121,31,.25)}
html body .si{box-shadow:0 0 0 2px rgba(246,207,90,.6),0 8px 18px -8px var(--t)}
html body .stats strong{font-family:var(--fy-serif) !important;font-weight:800}

/* ---------- Tugmalar: oltin sehrli ---------- */
html body .btn{font-family:var(--fy-serif);font-weight:800;letter-spacing:.03em}
html body .btn:where(:not(.ghost,.light,.danger)){color:#2a1600;text-shadow:0 1px 0 rgba(255,255,255,.55);background:var(--fy-gold);
  box-shadow:0 0 0 1.5px rgba(255,255,255,.6) inset,0 5px 0 #7c4a12,0 14px 28px -10px rgba(246,207,90,.75)}
html body .btn:where(:not(.ghost,.light,.danger)) .i{color:#2a1600}
html body .btn:where(:not(.ghost,.light,.danger))::after{background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.75) 50%,transparent 70%)}
html body .btn:where(:not(.ghost,.light,.danger)):hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 0 0 1.5px rgba(255,255,255,.75) inset,0 7px 0 #7c4a12,0 20px 36px -10px rgba(246,207,90,.9),0 0 26px -6px rgba(246,207,90,.8)}
html body .btn:where(:not(.ghost,.light,.danger)):active{transform:translateY(4px);box-shadow:0 0 0 1.5px rgba(255,255,255,.5) inset,0 1px 0 #7c4a12}
html body .btn.ghost,html body .btn.light{background:linear-gradient(180deg,#fffaf0,#f6e8c6);color:#4a2c0a;border:1.5px solid #d9b56a;box-shadow:0 4px 0 #c9a24a,0 10px 22px -12px rgba(0,0,0,.6)}
html body .btn.ghost .i,html body .btn.light .i{color:#9a5b12}
html body .btn.ghost:hover,html body .btn.light:hover{background:linear-gradient(180deg,#fffdf6,#f9edd0);color:#2a1600;border-color:#f6cf5a;box-shadow:0 0 0 3px rgba(246,207,90,.25),0 6px 0 #c9a24a,0 14px 28px -12px rgba(246,207,90,.8)}
html body .main>.btn.ghost,html body .main>.links .btn.ghost,html body .main>p .btn.ghost{background:rgba(246,207,90,.08);color:#fde68a;border-color:rgba(246,207,90,.6);box-shadow:0 0 16px -6px rgba(246,207,90,.6)}
html body .btn:disabled{background:linear-gradient(180deg,#efe6d0,#e2d5b8) !important;color:#9a8c74 !important;box-shadow:none !important;text-shadow:none !important}

/* ---------- Formalar ---------- */
html body input:where(:not([type=radio],[type=checkbox],[type=range],[type=file],[type=color],[type=hidden])),html body select,html body textarea{background:#fffaf0;border:2px solid #e2cb94;color:var(--ink)}
html body input:focus,html body select:focus,html body textarea:focus{border-color:#d69e2e;box-shadow:0 0 0 4px rgba(246,207,90,.28),0 0 22px -4px rgba(246,207,90,.7);outline:none}

/* ---------- Progress, xabar, yorliqlar ---------- */
html body .bar{background:#eadcb8;box-shadow:inset 0 1px 3px rgba(90,50,10,.3)}
html body .bar i{background-image:var(--fy-magic);background-size:200% 100%;box-shadow:0 0 12px -2px rgba(244,114,182,.8);animation:fyFlow 4s linear infinite}
html body .coinbar i{background-image:linear-gradient(90deg,#fde047,#f59e0b)}
@keyframes fyFlow{to{background-position:-200% 0}}
html body .msg{border:1px solid rgba(16,185,129,.4);box-shadow:0 12px 30px -14px rgba(16,185,129,.7),0 0 0 3px rgba(246,207,90,.18)}
html body .tabs a{background:rgba(246,207,90,.08);color:#fde68a;border:1px solid rgba(246,207,90,.45)}
html body .tabs a:hover{background:rgba(246,207,90,.18);color:#fff6d5}
html body .tabs a[aria-current]{background:var(--fy-gold);color:#2a1600;border-color:transparent;box-shadow:0 10px 24px -10px rgba(246,207,90,.9)}
html body :is(.card,.panel) .tabs a{background:#f6e8c6;color:#4a2c0a;border-color:#d9b56a}

/* ---------- Bosh sahifa ---------- */
html body .tipline{background:linear-gradient(180deg,#fdf3d7,#f1dba4) !important;border:1px solid #d9b56a !important;color:#5b3a12 !important;
  box-shadow:inset 0 0 20px rgba(160,110,40,.35),0 0 0 3px rgba(246,207,90,.18),0 16px 34px -16px rgba(0,0,0,.75) !important}
html body .tipline .i{color:#b7791f}
html body .unit-head{background:
    radial-gradient(1.6px 1.6px at 18% 28%,rgba(255,255,255,.95) 50%,transparent 55%) 0 0/130px 90px,
    radial-gradient(1.2px 1.2px at 62% 70%,rgba(255,246,213,.9) 50%,transparent 55%) 0 0/170px 110px,
    linear-gradient(120deg,color-mix(in srgb,var(--t) 70%,#fff6d5) 0%,var(--t) 42%,color-mix(in srgb,var(--t) 55%,#1a0b3d) 100%) !important;
  box-shadow:0 0 0 2px rgba(246,207,90,.6),0 0 0 6px rgba(246,207,90,.12),0 24px 50px -18px var(--t) !important}
html body .unit-head h2{font-family:var(--fy-title) !important;font-weight:900 !important;letter-spacing:.01em !important;text-shadow:0 2px 0 rgba(0,0,0,.25),0 0 18px rgba(255,255,255,.35)}
html body .node{box-shadow:0 0 0 3px rgba(246,207,90,.75),0 6px 0 color-mix(in srgb,var(--t) 55%,#000),0 0 28px -2px var(--t),inset 0 2px 0 rgba(255,255,255,.5) !important}
html body .node.todo{background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.22),rgba(167,139,250,.12) 60%,rgba(20,10,50,.5)) !important;color:rgba(232,224,255,.6) !important;
  box-shadow:0 0 0 2px rgba(216,204,255,.35),0 6px 0 rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.25) !important}
html body .node.perfect{box-shadow:0 0 0 3px #fff6d5,0 6px 0 #a16207,0 0 34px -2px #facc15 !important}
html body .node.cur,html body .node.todo.cur{animation:fyPulse 2.2s ease-in-out infinite !important}
html body .node-tip,html body .cast-tip{background:linear-gradient(180deg,#fffaf0,#f3e2b8);color:#4a2c0a;border:1px solid #d9b56a;font-family:var(--fy-serif);box-shadow:0 0 22px -4px rgba(246,207,90,.7)}
html body .greetbar .greet,html body>.app .greetbar:not(.card) .greet,html body>.app .greetbar:not(.card) .greet b{font-family:var(--fy-title) !important;font-weight:900 !important;letter-spacing:.01em;
  background:var(--fy-goldtext);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent !important;-webkit-text-fill-color:transparent !important;
  text-shadow:none !important;filter:drop-shadow(0 2px 0 rgba(60,20,0,.5)) drop-shadow(0 0 16px rgba(246,207,90,.3));animation:fyGold 7s linear infinite}
html body>.app .greetbar:not(.card) .greet b{filter:none}
/* Reyting podiumi fon ustida turadi — yozuvlar yorqin */
html body .podium .pod{color:#fff6d5}
html body .podium .pod :is(b,strong,span:not(.pod-step):not(.av):not(.i),small,a){color:#fff6d5 !important;text-shadow:0 2px 10px rgba(0,0,0,.6)}
html body .podium .pod-c{color:#fde68a !important;font-weight:800}
html body .podium .pod-step{background:var(--fy-gold) !important;color:#2a1600 !important;font-family:var(--fy-title);box-shadow:0 0 0 1.5px rgba(255,255,255,.6) inset,0 0 30px -6px rgba(246,207,90,.8) !important}
/* Qahramonlar qal'asi sarlavhasi — oltin (galaxy.css'dagi oq rangni bekor qiladi) */
html body .main h1.fx-title{color:transparent !important;-webkit-text-fill-color:transparent !important}
/* Brauzer avtoto'ldirgan maydonlar ham pergament rangida */
html body input:-webkit-autofill,html body input:-webkit-autofill:hover,html body input:-webkit-autofill:focus{-webkit-text-fill-color:#2b1a3d;-webkit-box-shadow:0 0 0 60px #fffaf0 inset !important;caret-color:#2b1a3d}
html body .rank-row .rk{background:linear-gradient(135deg,#f6cf5a,#d69e2e 50%,#c026d3);-webkit-background-clip:text;background-clip:text;color:transparent}

/* ---------- Test ---------- */
html body #quiz fieldset.q legend{color:#fff6e8;text-shadow:0 2px 18px rgba(0,0,0,.45),0 0 22px rgba(167,139,250,.35)}
html body .qn{background:var(--fy-gold) !important;color:#2a1600 !important;box-shadow:0 0 0 2px rgba(255,255,255,.5) inset,0 0 16px -2px rgba(246,207,90,.8) !important;font-family:var(--fy-serif)}
html body:has(#quiz) .quizbar,html body:has(#quiz) .qnav{background:rgba(12,7,34,.86) !important;border-color:rgba(246,207,90,.35) !important}
html body .opt{background:linear-gradient(180deg,#fffaf0,#f6ebcf);border:2px solid #e2cb94;color:var(--ink);box-shadow:0 4px 0 #d9bf85,0 10px 22px -14px rgba(0,0,0,.7)}
@media (hover:hover){html body .opt:hover{border-color:#f6cf5a;box-shadow:0 0 0 3px rgba(246,207,90,.25),0 4px 0 #d9bf85,0 14px 26px -12px rgba(246,207,90,.7)}}
html body .opt:has(input:checked){border-color:#a855f7;background:linear-gradient(180deg,#f7efff,#efe2ff);box-shadow:0 0 0 4px rgba(168,85,247,.22),0 0 26px -4px rgba(168,85,247,.8),0 4px 0 #c4a6ea}
html body .opt .ol{background:linear-gradient(180deg,#fff6d5,#f3dfa8);color:#5b3a12;border:1px solid #d9b56a;font-family:var(--fy-serif)}
html body .opt:has(input:checked) .ol{background:var(--fy-gold);color:#2a1600;border-color:transparent}
html body .timer{background:linear-gradient(180deg,#fffaf0,#f3e2b8) !important;color:#5b2a06 !important;border:1px solid #d9b56a}
html body .timer.warn{background:linear-gradient(180deg,#ffe4e6,#fecdd3) !important;color:#9f1239 !important}
html body .helpbtn{background:linear-gradient(180deg,#fffaf0,#f3e2b8) !important;color:#4a2c0a !important;border:1px solid #d9b56a !important}
html body .card.player .play{background:radial-gradient(circle at 35% 30%,#fff6d5,#f6cf5a 50%,#b7791f) !important;color:#2a1600 !important;box-shadow:0 0 0 3px rgba(255,255,255,.6) inset,0 6px 0 #7c4a12,0 0 26px -4px rgba(246,207,90,.9) !important}
html body .card.player .play.on{background:radial-gradient(circle at 35% 30%,#f5d0fe,#c084fc 50%,#7e22ce) !important;color:#fff !important;box-shadow:0 0 0 3px rgba(255,255,255,.5) inset,0 6px 0 #4c1d95,0 0 30px 0 rgba(192,132,252,.9) !important}
html body .card.player .speeds button{background:#f6e8c6;color:#4a2c0a;border:1px solid #d9b56a}
html body .card.player .speeds button.on{background:var(--fy-gold);color:#2a1600;border-color:transparent}
html body .card.player .lp-b{background:linear-gradient(180deg,#fffaf0,#f3e2b8);border-color:#d9b56a;color:#4a2c0a}
html body .card.player .lp-bar{background:#eadcb8}
html body .card.player .lp-bar i{background:var(--fy-magic)}
html body .result .rbig{background:var(--fy-goldtext);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;font-family:var(--fy-title);animation:fyGold 6s linear infinite}

/* ---------- Kirish / ro'yxatdan o'tish ---------- */
html body .l-art::before{background:conic-gradient(from 0deg,#f6cf5a,#f472b6,#a78bfa,#2dd4bf,#f6cf5a) !important;opacity:.38 !important}
html body .l-art h2{font-family:var(--fy-title) !important;font-weight:900 !important;color:#fff6d5 !important;text-shadow:0 0 30px rgba(246,207,90,.35) !important}
html body .l-art h2 .hl{background:var(--fy-goldtext) !important;background-size:220% 100% !important;-webkit-background-clip:text !important;background-clip:text !important;animation:fyGold 7s linear infinite}
html body .l-art p{color:rgba(240,232,255,.88) !important}
html body .l-form form{background-color:#fdf6e3 !important;
  background-image:var(--fy-orn-tl),var(--fy-orn-tr),var(--fy-orn-bl),var(--fy-orn-br),radial-gradient(120% 80% at 0% 0%,rgba(255,255,255,.85),transparent 50%),linear-gradient(180deg,#fffaf0,#f5e7c8) !important;
  background-position:8px 8px,right 8px top 8px,left 8px bottom 8px,right 8px bottom 8px,0 0,0 0 !important;background-size:26px 26px,26px 26px,26px 26px,26px 26px,auto,auto !important;background-repeat:no-repeat !important;
  border:1.5px solid #d9b56a !important;box-shadow:0 0 0 6px rgba(246,207,90,.15),0 40px 90px -30px rgba(0,0,0,.95),0 0 60px -20px rgba(246,207,90,.6) !important}
html body .l-form h1{font-family:var(--fy-title) !important;color:#3b1d4f !important}
html body .l-form form .btn:where(:not(.ghost,.light,.danger)){background:var(--fy-gold) !important;box-shadow:0 0 0 1.5px rgba(255,255,255,.6) inset,0 5px 0 #7c4a12,0 14px 30px -12px rgba(246,207,90,.9) !important}
html body .l-pills span{box-shadow:0 0 0 1.5px rgba(246,207,90,.6),0 0 22px -4px currentColor}

/* ---------- Vue sahifalari (Learning English, So'z poygasi) ---------- */
html body :is(.ln-hero,.rc-hero){box-shadow:0 0 0 2px rgba(246,207,90,.6),0 0 0 6px rgba(246,207,90,.12),0 24px 60px -18px rgba(0,0,0,.8) !important}
html body :is(.ln-hero,.rc-hero) h1{font-family:var(--fy-title) !important}
html body .rc-go{background:var(--fy-gold) !important;color:#2a1600 !important;box-shadow:0 0 0 1.5px rgba(255,255,255,.6) inset,0 6px 0 #7c4a12,0 18px 40px -14px rgba(246,207,90,.9) !important}
html body .rc-rules span{background:rgba(246,207,90,.08);color:#fde68a;border-color:rgba(246,207,90,.4)}
html body .rc-hud>div{background-color:#fdf6e3}

/* ---------- Skroll ---------- */
*{scrollbar-color:#d69e2e transparent}
::-webkit-scrollbar-thumb{background:linear-gradient(#fde68a,#b7791f);border-radius:99px;border:3px solid transparent;background-clip:padding-box}

/* ---------- Mobil ---------- */
@media (max-width:820px){
  html body .app .side.side{box-shadow:inset 0 -1px 0 rgba(246,207,90,.4),0 14px 40px -24px rgba(246,207,90,.4) !important}
  html body .app .side nav{background:rgba(14,8,40,.94) !important;border-top:1px solid rgba(246,207,90,.35) !important;box-shadow:0 -14px 40px -16px rgba(246,207,90,.35) !important}
  html body .fmenu-btn,html body .mnav-btn{background:rgba(246,207,90,.12) !important;color:#fde68a !important;border:1px solid rgba(246,207,90,.5) !important;box-shadow:0 0 20px -6px rgba(246,207,90,.7) !important}
  html body::before,html body.login::before{width:46px !important;height:46px !important;top:70px !important;bottom:auto !important;right:4% !important;opacity:.75 !important;box-shadow:0 0 26px 8px rgba(253,230,138,.38) !important}
  html body .main>h1::after{width:180px}
}
@media (prefers-reduced-motion:reduce){
  html body *,html body *::before,html body *::after{animation:none !important}
  .fy-flies,.fy-spark,.fy-trail{display:none !important}
}

/* =========================================================
   Telefon va sensorli qurilmalar uchun YENGIL REJIM (tezlik).
   Ko'rinish saqlanadi; har kadrda qayta chizdiradigan og'ir effektlar o'chiriladi:
   fixed fon, katta blur qatlamlar, backdrop-filter, to'xtovsiz gradient/soya animatsiyalari, animatsiyali filterlar.
   ========================================================= */
@media (max-width:820px){
  /* Osmon — body'da emas, qotirilgan alohida qatlamda (bir marta chiziladi) */
  html body,html body.login,html body[class*="theme-"]{background:#120a3a !important;background-attachment:scroll !important}
  html body::after,html body.login::after{display:none !important;animation:none !important}
  html body::before,html body.login::before{animation:none !important;box-shadow:0 0 18px 6px rgba(253,230,138,.35) !important;z-index:0 !important}
  .fy-scene{transform:translateZ(0);contain:strict;
    background:
      radial-gradient(1.4px 1.4px at 22px 34px,rgba(255,255,255,.9) 50%,transparent 52%) 0 0/150px 150px,
      radial-gradient(1.8px 1.8px at 60px 130px,rgba(253,230,138,.8) 50%,transparent 52%) 0 0/270px 270px,
      radial-gradient(50rem 24rem at 50% 118%,rgba(244,114,182,.38),transparent 62%),
      radial-gradient(40rem 30rem at 104% -6%,rgba(129,92,246,.45),transparent 60%),
      linear-gradient(180deg,#090626 0%,#1a0f4a 38%,#2e1660 70%,#4a1d63 100%)}
  .fy-mist{animation:none}
  .fy-flies i{animation-duration:16s !important;box-shadow:0 0 6px 2px rgba(254,240,138,.7)}
  .fy-flies i:nth-child(n+6){display:none}
  .fy-land .fy-win rect{animation:none;filter:none}
  /* blur'lar o'chiriladi */
  html body *,html body *::before,html body *::after{-webkit-backdrop-filter:none !important;backdrop-filter:none !important}
  html body .app .side.side{background:#140b36 !important}
  html body .app .side nav{background:#120a32 !important}
  html body:has(#quiz) .quizbar,html body:has(#quiz) .qnav{background:#0f0830 !important}
  /* to'xtovsiz animatsiyalar va animatsiyali filterlar */
  html body .hl,html body h1 .hl,html body .side .brand b,html body .brand b,html body .greetbar .greet,
  html body>.app .greetbar:not(.card) .greet,html body>.app .greetbar:not(.card) .greet b,html body .result .rbig,html body .l-art h2 .hl{animation:none !important;filter:none !important}
  html body .bar i{animation:none !important}
  html body .node.cur,html body .node.todo.cur{animation:none !important}
  html body .main>h1::after{filter:none}
  html body .btn::after,html body .btn.big:where(:not(.ghost,.light,.danger))::after{animation:none !important}
  html body .l-art::before{animation:none !important;filter:blur(30px) !important}
  html body .side .logo,html body .l-art .logo{filter:none !important}
  html body .cast-i .skin{filter:none !important}

  /* Dashboard: progress chiziqlaridagi yaltirash, ikonka yulduzchalari, mushukcha SVG ichki animatsiyalari */
  html body i::after,html body span.bi::after{animation:none !important}
  html body svg.i{animation:none !important;filter:none !important}
  html body svg.skin g,html body svg.skin *{animation:none !important}

  /* Qahramonlar qal'asi (skins.php) — es-magic.css sahifa tanasida yuklanadi, shuning uchun aniqroq selektor + !important */
  html body .fx-aurora{display:none !important}
  html body .fx-moon{animation:none !important;box-shadow:0 0 22px 6px rgba(253,230,138,.4) !important}
  html body .fx-star{animation:none !important;box-shadow:none !important;opacity:.55}
  html body .fx-flies i{animation-duration:16s !important;box-shadow:0 0 6px 2px rgba(254,240,138,.7) !important}
  html body .fx-flies i:nth-child(n+6){display:none !important}
  html body .fx-mist,html body .fx-land .fx-win rect,html body .fx-title::before,html body .fx-title::after{animation:none !important;filter:none !important}
  html body .fx-title,html body .fx-name,html body .fx-coins{animation:none !important;filter:none !important}
  html body .fx-hero{filter:none !important}
  html body .fx-card.locked .fx-hero{filter:brightness(0) !important}
  html body :is(.fx-halo,.fx-gems i.on,.fx-chest-glow,.fx-chest-coins,.fx-chest-lid,.fx-pad,.fx-crown,.fx-vial i,.fx-wave i){animation:none !important}
  html body .fx-rune{filter:none !important}
  html body .fx-rune svg{animation:none !important}
  html body .fx-spark{display:none !important}
  html body .fx-btn::before,html body .r-legendary .fx-rar::after{animation:none !important;display:none !important}
  html body .fx-card.active .fx-frame{animation:none !important}
}

/* ---------- Qahramon yordami (test sahifasi: PHP va Vue) ---------- */
html body .opt.gone{opacity:.35;pointer-events:none;filter:grayscale(1)}
html body .opt.gone span:last-child{text-decoration:line-through}
html body .helpbtn{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem .75rem .4rem .4rem;border-radius:16px;font-weight:800;cursor:pointer;color:#4a2c0a}
html body .helpbtn .hb-av,html body .helpbtn>svg{width:38px;height:38px;flex:none;border-radius:50%}
html body .helpbtn .hb-av svg{width:100%;height:100%;display:block}
html body .helpbtn b{min-width:1.7em;padding:.1rem .45rem;border-radius:99px;background:var(--fy-gold);color:#2a1600;text-align:center}
html body .helpbtn:disabled{opacity:.55;cursor:default}
html body .helpbtn.off{color:#7a6788}
html body .hintnote{margin:.8rem 0 0;padding:.7rem .9rem;border-radius:14px;background:linear-gradient(180deg,#fdf3d7,#f1dba4);border:1px solid #d9b56a;color:#5b3a12;font-weight:700;line-height:1.45}
html body .hintnote.err{background:#ffe4e6;border-color:#fda4af;color:#9f1239}
@media (max-width:820px){html body .qnav .helpbtn .hb-n{display:none !important}html body .qnav .helpbtn>.hb-av,html body .qnav .helpbtn>.hb-lk{display:inline-flex !important;align-items:center;justify-content:center}html body .qnav .helpbtn .hb-lk{font-size:1.2rem;padding:0 .2rem}html body .qnav .helpbtn{padding:.35rem .55rem .35rem .35rem}}

/* ---------- Barcha brauzerlarda bir xil ko'rinish ---------- */
/* :has() ni bilmaydigan brauzerlar uchun test paneli (forma ichida) */
html body #quiz .quizbar,html body #quiz .qnav{background:rgba(12,7,34,.86);border-color:rgba(246,207,90,.35);color:#fff}
@media (max-width:820px){html body #quiz .quizbar{background:#0f0830}html body #quiz .qnav{background:#0f0830}}
/* color-mix() ni bilmaydigan eski brauzerlar (eski Android Chrome / Samsung Internet) uchun zaxira ranglar */
@supports not (color:color-mix(in srgb,red,blue)){
  html body .unit-head{background:radial-gradient(1.6px 1.6px at 18% 28%,rgba(255,255,255,.95) 50%,transparent 55%) 0 0/130px 90px,linear-gradient(120deg,rgba(255,255,255,.25),rgba(0,0,0,.18)),var(--t,#7c3aed) !important}
  html body .node{background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.55),var(--t,#7c3aed) 60%,rgba(0,0,0,.35)) !important}
  html body .node.cur,html body .node.todo.cur{background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.55),var(--t,#7c3aed) 60%,rgba(0,0,0,.35)) !important}
  html body .si{box-shadow:0 0 0 2px rgba(246,207,90,.6)}
  html body .fx-scene{background:radial-gradient(ellipse 70% 55% at 50% 82%,rgba(246,207,90,.35),transparent 70%),linear-gradient(180deg,#1b0d4a,#0b0524)}
  html body .fx-rune{border-color:#f6cf5a}
  html body .eb-card.on{background:rgba(246,207,90,.25)}
  html body .eb-vs-half.me{background:linear-gradient(135deg,#1e3a8a,#07102e 80%)}
}

/* ---------- Telefonda yuqori panel (logotip + coinlar) har doim, test sahifasida ham ---------- */
@media (max-width:820px){html body:has(#quiz) .app>.side{display:flex !important}html body:has(#quiz) .app>.side>nav:not(.mnav-open){display:none}}

/* ---------- Telefon: logotip, coin, seriya va menyu bitta qatorda, har qanday ekran kengligida ---------- */
@media (max-width:820px){
  html body .app>.side>.brand{flex:0 1 auto !important;min-width:0 !important}
  html body .app>.side>.brand span{white-space:nowrap;font-size:clamp(.9rem,4.1vw,1.35rem) !important}
  html body .app>.side>.me-chips{display:flex !important;flex:0 0 auto !important;flex-wrap:nowrap !important;gap:.3rem !important;margin:0 0 0 auto !important;width:auto !important;order:0}
  html body .app>.side>.me-chips>*{display:inline-flex !important;align-items:center;gap:.25rem !important;padding:.22rem .55rem .22rem .3rem !important;font-size:.85rem !important;line-height:1.2;white-space:nowrap;min-height:2rem}
  html body .app>.side>.me-chips>* svg,html body .app>.side>.me-chips>* .i{width:1.05rem !important;height:1.05rem !important}
  html body .app>.side>.mnav-btn{flex:none !important;width:2.5rem !important;height:2.5rem !important}
  html body .app>.side>.me-chips>[title="Tajriba (XP)"]{display:none !important}
}
@media (max-width:339px){
  html body .app>.side>.brand span{display:none !important}
}
/* ---------- Dashboard: "Kunlik vazifalar" tepasidagi ko'rsatkichlar kartasi — boshqa kartalar kabi pergament + oltin naqsh ---------- */
html body .rail .panel.r-statcard{
  background-color:#fdf6e3 !important;
  background-image:var(--fy-orn-tl),var(--fy-orn-tr),var(--fy-orn-bl),var(--fy-orn-br),
    radial-gradient(120% 80% at 0% 0%,rgba(255,255,255,.8),transparent 50%),radial-gradient(100% 70% at 100% 100%,rgba(214,158,46,.14),transparent 55%),linear-gradient(180deg,#fffaf0,#f7ebcf) !important;
  background-position:5px 5px,right 5px top 5px,left 5px bottom 5px,right 5px bottom 5px,0 0,0 0,0 0 !important;
  background-size:20px 20px,20px 20px,20px 20px,20px 20px,auto,auto,auto !important;background-repeat:no-repeat !important;
  border:1px solid #e1c78c !important;box-shadow:var(--c-sh) !important;padding:.85rem 1rem !important}
html body .rail .r-stats{align-items:center;padding:.1rem .1rem}
html body .rail .r-stat{font-family:var(--fy-serif);font-weight:800;color:#3b1d4f;border-radius:12px}
html body .rail a.r-stat:hover{background:rgba(214,158,46,.14)}
html body .rail .r-stat.trk{background:linear-gradient(180deg,#f6e8c6,#ecd39a) !important;color:#6b3a0a !important;border:1px solid #d9b56a !important;box-shadow:inset 0 1px 0 rgba(255,255,255,.7) !important;padding:.3rem .75rem;letter-spacing:.06em}
html body .rail .r-stat.fire{color:#c2410c}
html body .rail .r-stat.fire .i{color:#ea580c}
html body .rail .r-stat.gold .i{color:#d69e2e}
html body .rail .r-stat.xp .i{color:#b7791f}
html body .rail .r-stat:not(.trk)+.r-stat{position:relative}
html body .rail .r-stat:not(.trk)+.r-stat::before{content:"";position:absolute;left:-.25rem;top:22%;bottom:22%;width:1px;background:linear-gradient(180deg,transparent,rgba(183,121,31,.45),transparent)}


/* ==== /css/es-smooth.css ==== */
/* Sahifa almashganda yumshoq, ko'zni charchatmaydigan paydo bo'lish.
   Menyu doimiy turadi; faqat .main ichidagi mazmun qisqa va sokin paydo bo'ladi. */
@keyframes esSoftIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.app>.main>:not(.cheer):not(.unlock-fx){animation:esSoftIn .22s ease-out both!important;animation-delay:0s!important}
.fade-enter-active{transition:opacity .2s ease-out!important}
.fade-leave-active{transition:opacity .12s ease-in!important}
.fade-enter-from,.fade-leave-to{opacity:0!important;transform:none!important}
@media (prefers-reduced-motion:reduce){
  .app>.main>*{animation:none!important}
  .fade-enter-active,.fade-leave-active{transition:none!important}
}


/* ==== /css/es-premium.css ==== */
/* Premium sahifasi */
/* Tariflar — guruhlar bitta qatorda, har biri ustun */
.prem-groups{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:1.2rem;margin:1.2rem 0 1.6rem}
.prem-group{flex:var(--n,1) 1 calc(var(--n,1) * 230px);max-width:calc(var(--n,1) * 290px + (var(--n,1) - 1) * 1rem);min-width:0;display:flex;flex-direction:column}
.prem-group .prem-grid{flex:1}
.prem-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));align-items:stretch;gap:1rem;margin:0;padding-top:.75rem}
.prem-col{position:relative;display:flex;flex-direction:column;margin:0;border-radius:20px;background:var(--paper,#fff);color:var(--ink,inherit);border:1.5px solid var(--line,rgba(127,127,127,.25));box-shadow:var(--shadow,0 12px 32px -18px rgba(0,0,0,.25));overflow:visible;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.prem-col:hover{transform:translateY(-6px);border-color:var(--t,#6246ea);box-shadow:0 2px 4px rgba(28,25,64,.05),0 26px 50px -24px rgba(28,25,64,.45)}
.prem-col.top{border:2px solid var(--t,#6246ea);box-shadow:0 2px 4px rgba(28,25,64,.05),0 24px 48px -22px var(--t,#6246ea)}
.prem-ribbon{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);z-index:2;white-space:nowrap;font-size:.74rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:.32rem .85rem;border-radius:999px;background:var(--hl,#ffe36e);color:#1c1940;box-shadow:0 4px 12px -4px rgba(0,0,0,.3)}
.prem-ribbon.cur{background:var(--ok,#12a06e);color:#fff}
.prem-head{position:relative;display:flex;align-items:center;gap:.7rem;text-align:left;padding:.95rem 1rem;border-radius:18px 18px 0 0;color:#fff;background:linear-gradient(135deg,var(--t,#6246ea),var(--t-ink,#4330c9));overflow:hidden}
.prem-head::after{content:"";position:absolute;width:120px;height:120px;right:-40px;top:-60px;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none}
.prem-g-other .prem-head{background:linear-gradient(135deg,#2b2f4a,#4a4f72)}
.prem-ico{flex:none;display:grid;place-items:center;width:38px;height:38px;font-size:1.15rem;border-radius:12px;background:rgba(255,255,255,.18);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
.prem-head>div,.prem-head .prem-name{min-width:0}
.prem-name{margin:0;font-size:1.05rem;line-height:1.2;color:#fff;word-break:break-word}
.prem-per{margin:0;margin-left:auto;flex:none;font-size:.72rem;font-weight:800;padding:.2rem .55rem;border-radius:999px;background:rgba(255,255,255,.18);white-space:nowrap}
.prem-price{margin:0;padding:.95rem 1rem 0;display:flex;align-items:baseline;gap:.3rem;flex-wrap:wrap}
.prem-price b{font-family:var(--fh,inherit);font-size:1.85rem;line-height:1;letter-spacing:-.02em;color:var(--ink,inherit)}
.prem-price span{color:var(--muted,inherit);font-weight:700;font-size:.9rem}
.prem-price em{font-style:normal;font-weight:800;color:var(--ink-2,inherit)}
.prem-daily{margin:.2rem 1rem 0;font-size:.78rem;color:var(--muted,inherit)}
.prem-tracks{display:flex;flex-wrap:wrap;gap:.3rem;margin:.7rem 1rem 0}
.prem-tracks span{font-size:.72rem;font-weight:800;padding:.18rem .55rem;border-radius:999px;background:var(--t-soft,rgba(124,92,255,.12));color:var(--t-ink,inherit)}
.prem-tracks span.cur{background:var(--hl,#ffe36e);color:#1c1940}
.prem-desc{margin:.6rem 1rem 0;font-size:.9rem;color:var(--ink-2,inherit);line-height:1.45}
.prem-feats{list-style:none;margin:.8rem 1rem 0;padding:.75rem 0 0;border-top:1px dashed var(--line-2,rgba(127,127,127,.3));display:grid;gap:.4rem}
.prem-feats li{position:relative;padding-left:1.5rem;font-size:.88rem;font-weight:600;line-height:1.3;color:var(--ink-2,inherit)}
.prem-feats li::before{content:"✓";position:absolute;left:0;top:0;display:grid;place-items:center;width:1.1rem;height:1.1rem;border-radius:50%;font-size:.65rem;font-weight:900;background:var(--ok-soft,#e1f6ed);color:var(--ok-ink,#0a7350)}
.prem-btns{display:flex;flex-direction:column;align-items:stretch;gap:.45rem;margin-top:auto;padding:.95rem 1rem 1rem}
.prem-btns .btn,.prem-buy{width:100%;margin-top:0;justify-content:center;padding:.65rem 1rem;font-size:.95rem}
.prem-until{margin:0;text-align:center;font-size:.8rem;font-weight:800;color:var(--ok-ink,#0a7350)}
.prem-note{font-size:.78rem;line-height:1.35;text-align:center}
/* Guruh sarlavhasi: o'z foniga ega yorliq — har qanday (och/to'q) fonda o'qiladi */
.prem-h{display:flex;align-items:center;gap:.5rem;align-self:center;width:fit-content;max-width:100%;margin:0;padding:.42rem 1rem .42rem .5rem;border-radius:999px;font-size:.92rem;font-weight:800;line-height:1.2;color:#fff!important;background:linear-gradient(135deg,var(--t,#6246ea),var(--t-ink,#4330c9));box-shadow:0 6px 16px -8px rgba(0,0,0,.45);text-shadow:0 1px 1px rgba(0,0,0,.18)}
.prem-g-other .prem-h{background:linear-gradient(135deg,#2b2f4a,#4a4f72)}
.prem-h-dot{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.22)}
.prem-h-dot::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--hl,#ffe36e)}
/* Oylik / Yillik almashtirgich */
.prem-period{display:flex;width:fit-content;margin:1.1rem auto 0;padding:4px;gap:4px;border-radius:999px;background:var(--soft,rgba(127,127,127,.12));border:1px solid var(--line,rgba(127,127,127,.25))}
.prem-period button{display:inline-flex;align-items:center;gap:.4rem;border:0;cursor:pointer;font:800 .9rem var(--fb,inherit);padding:.5rem 1.15rem;border-radius:999px;background:transparent;color:var(--ink-2,inherit);transition:background .18s,color .18s,box-shadow .18s}
.prem-period button:hover{color:var(--ink,inherit)}
.prem-period button.on{background:var(--t,#6246ea);color:#fff;box-shadow:0 4px 12px -4px var(--t,#6246ea)}
.prem-period button:focus-visible{outline:2px solid var(--t,#6246ea);outline-offset:2px}
.prem-period small{font-size:.7rem;font-weight:900;padding:.08rem .4rem;border-radius:999px;background:var(--hl,#ffe36e);color:#1c1940}
.prem-save{display:inline-block;margin-left:.4rem;font-size:.7rem;font-weight:900;padding:.08rem .45rem;border-radius:999px;background:var(--ok-soft,#e1f6ed);color:var(--ok-ink,#0a7350)}
.prem-col.is-year .prem-per{background:var(--hl,#ffe36e);color:#1c1940}
@media (max-width:540px){.prem-group{flex-basis:100%;max-width:none}.prem-col:hover{transform:none}}
@media (prefers-reduced-motion:reduce){.prem-col{transition:none}.prem-col:hover{transform:none}}
.prem-status{margin:0 0 1rem}
.prem-status h2{margin:0 0 .3rem;font-size:1.15rem}
.prem-status p{margin:0 0 .6rem}
.prem-ok{border-left:4px solid #16a34a}
.prem-fail{border-left:4px solid #dc2626}
.prem-wait,.prem-slow{border-left:4px solid #f59e0b}
.prem-lock{margin:0 0 1rem;background:#fff4c7!important;color:#4a3600!important;border:1px solid #f2c94c!important;font-weight:700}
.prem-subs{margin:0 0 1rem}
.prem-subs h2{margin:0 0 .6rem;font-size:1.1rem}
.prem-sub{display:flex;justify-content:space-between;align-items:center;gap:.8rem;flex-wrap:wrap;padding:.5rem 0;border-top:1px solid rgba(127,127,127,.2)}
.prem-foot{margin-top:.4rem}
.prem-cur{margin:0;align-self:flex-start;font-size:.8rem;font-weight:800;padding:.2rem .6rem;border-radius:999px;background:#dcfce7;color:#14532d}
.prem-act{display:flex;flex-wrap:wrap;gap:.2rem .8rem;align-items:baseline;padding:.35rem 0;border-top:1px solid rgba(127,127,127,.2)}
.prem-act:first-of-type{border-top:0}
/* To'lov sahifasi */
.pc-sum{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem 1rem;margin:0 0 1rem}
.pc-sum h2{margin:0 0 .2rem;font-size:1.2rem}
.pc-sum p{margin:0}
.pc-price{font-size:1.6rem;font-weight:800}
.pc-wide{flex-basis:100%}
.pc-box{margin:0 0 1rem}
.pc-box h2{margin:0 0 .7rem;font-size:1.1rem}
.pc-opts{display:grid;gap:.55rem}
.pc-opt{display:flex;gap:.7rem;align-items:flex-start;padding:.75rem .9rem;border:2px solid rgba(127,127,127,.25);border-radius:14px;cursor:pointer}
.pc-opt.on{border-color:#7c5cff;background:rgba(124,92,255,.08)}
.pc-opt input{width:20px;height:20px;margin-top:.1rem;flex:none}
.pc-opt span,.pc-auto span{display:flex;flex-direction:column;gap:.15rem}
.pc-opt small,.pc-auto small{opacity:.75;line-height:1.4}
.pc-form{display:grid;gap:.85rem;max-width:460px}
.pc-form label{display:grid;gap:.3rem;font-weight:700}
.pc-form input[inputmode]{font-size:1.15rem;letter-spacing:.06em;width:100%}
.pc-exp{max-width:180px}
.pc-auto{display:flex!important;gap:.6rem;align-items:flex-start;font-weight:400!important;padding:.6rem .7rem;border-radius:12px;background:rgba(124,92,255,.07)}
.pc-auto input{width:20px;height:20px;margin-top:.15rem;flex:none}
.pc-links{display:flex;flex-wrap:wrap;gap:.5rem}
.pc-form p{margin:0}


/* ==== /css/es-brand.css ==== */
/* Schooling logosi */
.brand-img{display:block;height:46px;width:auto;max-width:100%;object-fit:contain}
.side .brand{padding:.15rem .25rem .35rem}
.brand-img-lg{height:84px}
@media (max-width:820px){.side .brand-img{height:36px}.brand-img-lg{height:36px;transform:translateY(-6px)}}


/* ==== /css/es-rating.css ==== */
/* Reyting — "Chempionlar zali" */
.rk-lead{max-width:44rem}
.rk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin:0 0 1.1rem}
.rk-seg{display:inline-flex;padding:4px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.rk-seg button{border:0;background:transparent;color:#e9e6ff;font:800 .92rem var(--fb,inherit);padding:.55rem 1.1rem;border-radius:999px;cursor:pointer;transition:background .2s,color .2s}
.rk-seg button.on{background:linear-gradient(180deg,#ffe27a,#f2b632);color:#2b1d00;box-shadow:0 4px 14px -6px rgba(242,182,50,.8)}
.rk-left{font-weight:700;font-size:.88rem;color:#ffe9a8;padding:.4rem .8rem;border-radius:999px;background:rgba(255,226,122,.1);border:1px solid rgba(255,226,122,.28)}
/* Avatarlar */
.rk-av{display:inline-grid;place-items:center;flex:none;border-radius:50%;overflow:hidden;background:#efeaff;color:#fff;font-weight:900;box-shadow:0 0 0 3px #fff,0 6px 16px -8px rgba(0,0,0,.6)}
.rk-av img{width:100%;height:100%;object-fit:cover;display:block}
.rk-av.sk{background:radial-gradient(circle at 50% 35%,#fff,#e9e3ff)}
.rk-av .rk-sk{width:100%;height:100%;display:block}
.rk-av.md{width:44px;height:44px;font-size:1.1rem}
.rk-av.lg{width:64px;height:64px;font-size:1.6rem}
.rk-av.xl{width:68px;height:68px;font-size:1.7rem}
/* Mening o'rnim */
.rk-me{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:0 0 1.4rem}
.rk-me-pos{display:grid;place-items:center;min-width:76px;padding:.5rem .7rem;border-radius:18px;background:linear-gradient(160deg,#2a2370,#4b2fc9);color:#fff;text-align:center}
.rk-me.top .rk-me-pos{background:linear-gradient(160deg,#ffe27a,#e09a12);color:#3a2600}
.rk-me-pos small{font-size:.72rem;font-weight:800;opacity:.8;text-transform:uppercase;letter-spacing:.06em}
.rk-me-pos b{font:900 1.7rem var(--fh,inherit);line-height:1.1}
.rk-me-body{display:flex;flex-direction:column;gap:.3rem;flex:1;min-width:200px}
.rk-me-body>b{font-size:1.05rem}
.rk-me-c{display:flex;align-items:center;gap:.35rem;font-weight:700}
.rk-goal{font-weight:800;color:#5b3fd6}
.rk-prog{height:10px;border-radius:999px;background:rgba(91,63,214,.14);overflow:hidden;max-width:26rem}
.rk-prog i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c5cff,#ffb347);transition:width .6s cubic-bezier(.2,.8,.2,1)}
.rk-coin{display:inline-flex;align-items:center;gap:.3rem;font-weight:900;white-space:nowrap}
.rk-coin i{font-style:normal;font-size:.95em}
/* Pyedestal */
.rk-podium{display:grid;grid-template-columns:1fr 1.12fr 1fr;align-items:end;gap:.7rem;max-width:580px;margin:1.6rem auto 1.3rem}
.rk-pod{position:relative;display:flex;flex-direction:column;align-items:center;gap:.35rem;text-align:center;color:#fff;min-width:0;animation:rkUp .55s cubic-bezier(.2,.8,.2,1) both}
.rk-pod.p1{animation-delay:.08s}.rk-pod.p3{animation-delay:.16s}
@keyframes rkUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.rk-crown{font-size:1.5rem;line-height:1;filter:drop-shadow(0 4px 8px rgba(255,200,40,.6));animation:rkFloat 3s ease-in-out infinite}
@keyframes rkFloat{50%{transform:translateY(-4px)}}
.rk-pod-av{position:relative}
.rk-pod.p1 .rk-av{box-shadow:0 0 0 4px #ffd54a,0 0 26px 2px rgba(255,213,74,.55)}
.rk-pod.p2 .rk-av{box-shadow:0 0 0 4px #d7dbe6,0 0 18px rgba(215,219,230,.35)}
.rk-pod.p3 .rk-av{box-shadow:0 0 0 4px #e09b62,0 0 18px rgba(224,155,98,.35)}
.rk-pod.p1 .rk-av.xl{width:82px;height:82px}
.rk-medal{position:absolute;right:-4px;bottom:-4px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:900 .95rem var(--fh,inherit);border:2px solid #fff;box-shadow:0 3px 8px rgba(0,0,0,.35)}
.rk-medal.m1{background:linear-gradient(155deg,#ffe28a,#f0a500);color:#5a3900}
.rk-medal.m2{background:linear-gradient(155deg,#f4f6fa,#b9bfcb);color:#3d434d}
.rk-medal.m3{background:linear-gradient(155deg,#f6cfa4,#c97b3f);color:#4d2a0e}
.rk-pod-name{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem}
.rk-pod .rk-coin{color:#ffe27a}
.rk-step{width:100%;margin-top:.3rem;border-radius:14px 14px 6px 6px;display:grid;place-items:center;font:900 1.4rem var(--fh,inherit);color:rgba(255,255,255,.9)}
.rk-pod.p1 .rk-step{height:78px;background:linear-gradient(180deg,#ffd54a,#c98a0a);color:#5a3900}
.rk-pod.p2 .rk-step{height:56px;background:linear-gradient(180deg,#e9ecf3,#9aa2b2);color:#3d434d}
.rk-pod.p3 .rk-step{height:40px;background:linear-gradient(180deg,#f0b886,#a85f2b);color:#4d2a0e}
.rk-pod.me .rk-pod-name::after{content:' (siz)';color:#ffe27a}
/* Yo'nalish belgisi */
.rk-tr{font-size:.72rem;font-weight:800;padding:.15rem .55rem;border-radius:999px;background:#ece8ff;color:#4b2fc9;white-space:nowrap}
.rk-tr.tr-sat{background:#e0ecff;color:#1d4ed8}.rk-tr.tr-ielts{background:#ffe4e8;color:#be123c}
.rk-tr.tr-cefr{background:#dcfce7;color:#15803d}.rk-tr.tr-english{background:#fff1d6;color:#b45309}
/* 4–15 ro'yxat */
.rk-list{list-style:none;margin:0 auto;padding:0;display:grid;gap:.55rem;max-width:760px}
.rk-row{display:flex;align-items:center;gap:.8rem;padding:.65rem .9rem;border-radius:18px;background:#fffaf0;color:#24204a;box-shadow:0 8px 22px -16px rgba(0,0,0,.7);animation:rkUp .4s both}
.rk-row.me{background:linear-gradient(90deg,#fff3c4,#fffaf0);box-shadow:0 0 0 2px #f2b632,0 8px 22px -14px rgba(242,182,50,.8)}
.rk-n{width:2rem;text-align:center;font:900 1.15rem var(--fh,inherit);color:#7a74a8}
.rk-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:.3rem}
.rk-who b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rk-mini{height:6px;border-radius:999px;background:#ece8ff;overflow:hidden;max-width:220px}
.rk-mini i{display:block;height:100%;background:linear-gradient(90deg,#7c5cff,#c084fc);border-radius:inherit}
.rk-row .rk-coin{color:#a16207}
/* Bo'sh holat va yuklanish */
.rk-empty{text-align:center;display:grid;gap:.4rem;justify-items:center;padding:2rem 1rem}
.rk-empty-ic{font-size:2.6rem}
.rk-empty p{margin:0}
.rk-skel{display:grid;gap:.7rem;max-width:760px}
.rk-skel i{display:block;height:64px;border-radius:18px;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.13),rgba(255,255,255,.06));background-size:200% 100%;animation:rkSh 1.2s linear infinite}
@keyframes rkSh{to{background-position:-200% 0}}
@media (max-width:560px){
  .rk-podium{gap:.4rem;margin-top:1.6rem}
  .rk-av.xl{width:54px;height:54px;font-size:1.4rem}.rk-pod.p1 .rk-av.xl{width:66px;height:66px}
  .rk-pod-name{font-size:.85rem}
  .rk-pod.p1 .rk-step{height:64px}.rk-pod.p2 .rk-step{height:46px}.rk-pod.p3 .rk-step{height:34px}
  .rk-row{gap:.55rem;padding:.55rem .7rem}.rk-row .rk-tr{display:none}
  .rk-me-pos{min-width:64px}
}
@media (prefers-reduced-motion:reduce){.rk-pod,.rk-row,.rk-crown{animation:none}}
/* Bo'sh o'rin */
.rk-pod.ghost{color:rgba(255,255,255,.55)}
.rk-pod.ghost .rk-step{background:rgba(255,255,255,.06)!important;border:2px dashed rgba(255,255,255,.18);border-bottom:0;color:rgba(255,255,255,.35)!important}
.rk-pod.ghost .rk-medal{opacity:.5}
.rk-av.ghost-av{background:rgba(255,255,255,.06);color:rgba(255,255,255,.45);box-shadow:none!important;border:2px dashed rgba(255,255,255,.3)}
.rk-ghost-t{font-size:.75rem;font-weight:700;color:#ffe9a8;opacity:.8}


/* ==== /css/es-lang.css ==== */
/* Til tanlash — to'q "shisha" uslubi (sayt dizayniga mos). Tanlov mantig'i o'zgarmagan. */
html .lang-switch .lang-btn{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18);color:#f3f0ff;border-radius:14px;min-height:2.6rem;padding:.4rem .55rem .4rem .45rem;gap:.55rem;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);transition:border-color .2s,background .2s,box-shadow .2s}
html .lang-switch .lang-btn:hover{border-color:rgba(255,213,74,.65);background:rgba(255,255,255,.11);box-shadow:0 0 0 3px rgba(255,213,74,.12)}
html .lang-switch .lang-btn[aria-expanded=true]{border-color:#ffd54a;background:rgba(255,255,255,.12)}
html .lang-switch .lang-btn .tag{background:linear-gradient(160deg,#ffe27a,#f0a500);color:#3a2600;border-radius:9px;min-width:1.9rem;height:1.75rem;font:900 .7rem var(--fb,inherit);box-shadow:0 2px 6px -2px rgba(240,165,0,.7)}
html .lang-switch .lang-btn small{font:800 .86rem var(--fb,inherit);color:#f3f0ff}
html .lang-switch .lang-btn .chev{color:#ffe27a}
html .lang-switch .lang-btn::before{content:'';width:18px;height:18px;flex:none;order:-1;display:none}
/* Ochiladigan ro'yxat */
html .lang-menu{background:rgba(26,22,64,.97);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:.5rem;gap:.15rem;width:min(16rem,100vw - 1rem);box-shadow:0 24px 50px -18px rgba(0,0,0,.75),0 0 0 1px rgba(255,213,74,.08);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
html .lang-menu::before{content:'🌐  Tilni tanlang';display:block;padding:.35rem .6rem .55rem;margin-bottom:.15rem;border-bottom:1px solid rgba(255,255,255,.1);font:800 .74rem var(--fb,inherit);letter-spacing:.06em;text-transform:uppercase;color:rgba(255,226,122,.85)}
html .lang-menu .lang-item{color:#e9e6ff;border-radius:12px;min-height:2.5rem;padding:.5rem .55rem;font-weight:700}
html .lang-menu .lang-item:hover,html .lang-menu .lang-item:focus-visible{background:rgba(255,255,255,.08)}
html .lang-menu .lang-item .tag{background:rgba(255,255,255,.1);color:#f3f0ff;border-radius:9px;min-width:1.9rem;height:1.75rem}
html .lang-menu .lang-item.on{background:rgba(255,213,74,.13);color:#ffe27a}
html .lang-menu .lang-item.on .tag{background:linear-gradient(160deg,#ffe27a,#f0a500);color:#3a2600}
html .lang-menu .lang-item .check{color:#ffd54a}
html .lang-menu::-webkit-scrollbar{width:6px}html .lang-menu::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:9px}
html .lang-fab .lang-switch .lang-btn{background:rgba(26,22,64,.82);border-color:rgba(255,226,122,.35)}
/* Davlat bayroqlari: til belgisi o'rnida */
html .lang-switch .lang-btn .tag,html .lang-menu .lang-item .tag{width:28px;min-width:28px;height:21px;padding:0;border-radius:5px;font-size:0;color:transparent;background-size:cover;background-position:center;box-shadow:0 0 0 1px rgba(255,255,255,.25),0 2px 6px -2px rgba(0,0,0,.6)}
html .lang-menu .lang-item.on .tag{box-shadow:0 0 0 2px #ffd54a,0 2px 8px -2px rgba(255,213,74,.7)}
html[lang=uz] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=uz] .tag{background-image:url(/app/flags/uz.svg)}
html[lang=uzk] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=uzk] .tag{background-image:url(/app/flags/uz.svg)}
html[lang=ru] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=ru] .tag{background-image:url(/app/flags/ru.svg)}
html[lang=en] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=en] .tag{background-image:url(/app/flags/gb.svg)}
html[lang=kk] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=kk] .tag{background-image:url(/app/flags/kz.svg)}
html[lang=tg] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=tg] .tag{background-image:url(/app/flags/tj.svg)}
html[lang=tr] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=tr] .tag{background-image:url(/app/flags/tr.svg)}
html[lang=ar] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=ar] .tag{background-image:url(/app/flags/sa.svg)}
html[lang=zh] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=zh] .tag{background-image:url(/app/flags/cn.svg)}
html[lang=ko] .lang-switch .lang-btn .tag,html .lang-menu .lang-item[data-lang=ko] .tag{background-image:url(/app/flags/kr.svg)}


/* ==== /css/es-talk.css ==== */
/* AI bilan suhbat — Robi */
.tk-hero{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap;margin:0 0 1rem}
.tk-robot{flex:none;width:112px;height:112px;display:grid;place-items:center;border-radius:28px;background:radial-gradient(circle at 50% 40%,#ede9fe,#c4b5fd 70%);box-shadow:inset 0 -6px 14px rgba(109,40,217,.25),0 10px 24px -14px rgba(76,29,149,.8)}
.tk-hero-t{flex:1;min-width:220px}
.tk-hero-t .eyebrow{margin:0 0 .2rem}
.tk-hero-t h1{margin:0;font-size:2rem}
.tk-sub{margin:.25rem 0 .55rem;opacity:.85}
.tk-meta{display:flex;flex-wrap:wrap;gap:.45rem;align-items:center}
.tk-status,.tk-left,.tk-sound{font-size:.78rem;font-weight:800;padding:.28rem .65rem;border-radius:999px;background:rgba(124,92,255,.12);color:#4c1d95;border:0}
.tk-status{display:inline-flex;align-items:center;gap:.4rem}
.tk-status i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.2)}
.tk-status.st-thinking i,.tk-status.st-sending i{background:#f59e0b;animation:tkPulse 1s infinite}
.tk-status.st-speaking i{background:#8b5cf6;animation:tkPulse .6s infinite}
.tk-status.st-listening i{background:#ef4444;animation:tkPulse .8s infinite}
.tk-sound{cursor:pointer}
@keyframes tkPulse{50%{transform:scale(1.5);opacity:.6}}
/* Robot animatsiyalari */
.robi .rb-eye{fill:none;stroke-width:4;stroke-linecap:round}
.robi .rb-mouth{stroke-width:3.5;stroke-linecap:round;transform-origin:60px 61px}
.robi .rb-ant{filter:drop-shadow(0 0 4px currentColor);animation:rbGlow 2.4s ease-in-out infinite}
.robi .blink{transform-box:fill-box;transform-origin:center;animation:rbBlink 4.5s infinite}
.robi.st-speaking .rb-mouth{animation:rbTalk .28s ease-in-out infinite alternate}
.robi.st-thinking .rb-ant,.robi.st-sending .rb-ant{animation:rbGlow .6s ease-in-out infinite}
.robi.st-listening .rb-heart{animation:rbBeat .9s infinite;transform-box:fill-box;transform-origin:center}
.robi.rb-cheer .rb-arm-r,.robi.rb-wow .rb-arm-r{transform-box:fill-box;transform-origin:50% 0;animation:rbWave .7s ease-in-out 3}
.tk-robot .robi{animation:rbFloat 3.2s ease-in-out infinite}
@keyframes rbBlink{0%,92%,100%{transform:scaleY(1)}95%{transform:scaleY(.1)}}
@keyframes rbTalk{from{transform:scaleY(.6)}to{transform:scaleY(1.5)}}
@keyframes rbGlow{50%{opacity:.45}}
@keyframes rbBeat{50%{transform:scale(1.25)}}
@keyframes rbWave{50%{transform:rotate(-35deg)}}
@keyframes rbFloat{50%{transform:translateY(-4px)}}
/* Rejimlar va mavzular */
.tk-modes{display:flex;flex-wrap:wrap;gap:.4rem;padding:4px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);width:fit-content;max-width:100%}
.tk-modes button{border:0;background:transparent;color:#ece9ff;font:800 .9rem var(--fb,inherit);padding:.55rem .95rem;border-radius:14px;cursor:pointer}
.tk-modes button.on{background:linear-gradient(180deg,#ffe27a,#f2b632);color:#2b1d00;box-shadow:0 4px 14px -6px rgba(242,182,50,.8)}
.tk-hint{margin:.5rem 0 .6rem;color:#d9d4ff;font-size:.9rem}
.tk-topics{display:flex;gap:.4rem;overflow-x:auto;padding:.1rem 0 .5rem;scrollbar-width:thin}
.tk-topic{flex:none;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.07);color:#f3f0ff;font:700 .84rem var(--fb,inherit);padding:.4rem .8rem;border-radius:999px;cursor:pointer}
.tk-topic.on{background:#fff;color:#4c1d95;border-color:#fff}
.tk-score{display:inline-block;margin:0 0 .5rem;padding:.35rem .8rem;border-radius:999px;background:rgba(255,226,122,.14);color:#ffe9a8;font-weight:800;border:1px solid rgba(255,226,122,.3)}
/* Suhbat oynasi */
.tk-chat{background:#fffaf0;border-radius:24px;box-shadow:0 18px 40px -26px rgba(0,0,0,.8);overflow:hidden;color:#24204a;display:flex;flex-direction:column}
.tk-list{height:min(56vh,560px);overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.75rem;scroll-behavior:smooth;background:radial-gradient(circle at 10% 0%,rgba(167,139,250,.12),transparent 40%),#fffaf0}
.tk-empty{margin:auto;color:#7a74a8;font-weight:700}
.tk-row{display:flex;gap:.55rem;align-items:flex-end;animation:tkIn .3s ease-out both}
.tk-row.me{justify-content:flex-end}
@keyframes tkIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.tk-mini{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#ede9fe}
.tk-col{display:flex;flex-direction:column;gap:.35rem;max-width:min(78%,560px)}
.tk-row.me .tk-col{align-items:flex-end}
.tk-b{padding:.7rem .9rem;border-radius:18px;line-height:1.5;word-wrap:break-word}
.tk-b p{margin:0}
.tk-b.bot{background:#fff;border:1px solid #ece8ff;border-bottom-left-radius:6px;box-shadow:0 6px 16px -12px rgba(76,29,149,.5)}
.tk-b.me{background:linear-gradient(160deg,#7c5cff,#5b3fd6);color:#fff;border-bottom-right-radius:6px;white-space:pre-wrap}
.tk-b.me.pending{opacity:.7}
.tk-en{font-weight:600}
.tk-uz-main{font-weight:600}
.tk-uz,.tk-en-sub{margin-top:.4rem!important;padding-top:.4rem;border-top:1px dashed #e4defc;color:#5b5689;font-size:.92rem}
.tk-acts{display:flex;gap:.35rem;margin-top:.45rem;flex-wrap:wrap}
.tk-act{border:0;background:#f3f0ff;color:#5b3fd6;font:800 .76rem var(--fb,inherit);padding:.25rem .55rem;border-radius:999px;cursor:pointer}
.tk-act:hover{background:#e9e3ff}
.tk-q{display:inline-block;margin-bottom:.35rem;font-size:.78rem;font-weight:900;padding:.15rem .55rem;border-radius:999px}
.tk-q.ok{background:#dcfce7;color:#15803d}.tk-q.no{background:#ffe4e6;color:#be123c}
.tk-tip{font-size:.85rem;background:#fff7d6;color:#6b4e00;border-radius:12px;padding:.45rem .65rem;border:1px solid #fde68a}
.tk-fix{background:#fff;border:1px solid #fde2e2;border-radius:14px;padding:.5rem .7rem;font-size:.86rem;max-width:100%}
.tk-fix b{display:block;font-size:.76rem;color:#b45309;margin-bottom:.2rem}
.tk-fix p{margin:.15rem 0}
.tk-fix s{color:#be123c}.tk-fix ins{color:#15803d;text-decoration:none;font-weight:800}
.tk-fix small{display:block;color:#6b6790}
.tk-typing{display:flex;gap:5px;align-items:center;padding:.85rem 1rem}
.tk-typing i{width:7px;height:7px;border-radius:50%;background:#a78bfa;animation:tkDot 1s infinite}
.tk-typing i:nth-child(2){animation-delay:.15s}.tk-typing i:nth-child(3){animation-delay:.3s}
@keyframes tkDot{50%{transform:translateY(-5px);opacity:.5}}
.tk-memnew{margin:0 1rem .4rem;font-size:.8rem;font-weight:700;color:#6d28d9;background:#f3f0ff;border-radius:10px;padding:.35rem .6rem}
.tk-sugs{display:flex;gap:.4rem;flex-wrap:wrap;padding:.1rem 1rem .6rem}
.tk-sug{border:1px dashed #c4b5fd;background:#faf8ff;color:#4c1d95;font:700 .84rem var(--fb,inherit);padding:.4rem .75rem;border-radius:999px;cursor:pointer;text-align:left}
.tk-sug:hover{background:#f3f0ff;border-style:solid}
.tk-err{margin:0 1rem .5rem;color:#be123c;font-weight:700;font-size:.88rem}
.tk-input{display:flex;align-items:flex-end;gap:.5rem;padding:.7rem;border-top:1px solid #efe9da;background:#fff}
.tk-input textarea{flex:1;resize:none;border:1px solid #e4defc;border-radius:16px;padding:.65rem .85rem;font:600 .98rem var(--fb,inherit);min-height:46px;max-height:140px;background:#fbfaff;color:#24204a}
.tk-input textarea:focus{outline:2px solid #a78bfa;outline-offset:1px}
.tk-mic,.tk-send{flex:none;width:46px;height:46px;border-radius:50%;border:0;cursor:pointer;font-size:1.2rem;display:grid;place-items:center}
.tk-mic{background:#f3f0ff}
.tk-mic.rec{background:#ef4444;color:#fff;animation:tkRec 1.2s infinite}
@keyframes tkRec{0%{box-shadow:0 0 0 0 rgba(239,68,68,.55)}100%{box-shadow:0 0 0 14px rgba(239,68,68,0)}}
.tk-send{background:linear-gradient(160deg,#7c5cff,#5b3fd6);color:#fff}
.tk-send:disabled,.tk-mic:disabled{opacity:.45;cursor:default}
.tk-foot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.6rem;margin-top:.8rem}
.tk-mem{color:#e9e6ff;max-width:560px}
.tk-mem summary{cursor:pointer;font-weight:800;font-size:.9rem}
.tk-mem ul{margin:.4rem 0 .5rem;padding-left:1.2rem;line-height:1.6}
.tk-mem p{margin:.4rem 0}
@media (max-width:640px){
  .tk-hero{gap:.8rem}.tk-robot{width:84px;height:84px;border-radius:22px}.tk-robot .robi{width:84px;height:84px}
  .tk-hero-t h1{font-size:1.6rem}
  .tk-list{height:58vh;padding:.7rem}
  .tk-col{max-width:86%}
  .tk-modes button{padding:.5rem .7rem;font-size:.82rem}
}
@media (prefers-reduced-motion:reduce){.robi *,.tk-robot .robi,.tk-row{animation:none!important}}
/* ===== Ovozli suhbat (qo'ng'iroq ekrani) ===== */
.tk-h1{margin:0 0 .8rem}
.vc-stage{position:relative;margin:.4rem 0 .8rem;padding:1rem 1rem 1.2rem;border-radius:28px;text-align:center;color:#f3f0ff;
  background:radial-gradient(120% 80% at 50% 0%,rgba(167,139,250,.35),transparent 60%),linear-gradient(180deg,#221c58,#140f36);
  border:1px solid rgba(255,255,255,.12);box-shadow:0 24px 50px -28px rgba(0,0,0,.9);overflow:hidden}
.vc-top{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;margin-bottom:.4rem}
.vc-pill{font-size:.78rem;font-weight:800;padding:.28rem .7rem;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14)}
.vc-pill.gold{background:rgba(255,226,122,.16);color:#ffe9a8;border-color:rgba(255,226,122,.35)}
.st-listening .vc-top .vc-pill:first-child,.st-recording .vc-top .vc-pill:first-child{color:#fca5a5}
.vc-robot{position:relative;display:grid;place-items:center;width:220px;height:220px;margin:.4rem auto .2rem;border:0;border-radius:50%;cursor:pointer;
  background:radial-gradient(circle at 50% 42%,#f5f3ff 0,#ddd6fe 45%,#a78bfa 100%);box-shadow:0 0 0 6px rgba(255,255,255,.08),0 18px 40px -18px rgba(124,58,237,.9);transition:transform .2s}
.vc-robot:active{transform:scale(.98)}
.vc-robot .robi{position:relative;z-index:2;animation:rbFloat 3.2s ease-in-out infinite}
.vc-ring{position:absolute;inset:-6px;border-radius:50%;border:3px solid rgba(167,139,250,.55);opacity:0;pointer-events:none}
.st-listening .vc-ring,.st-recording .vc-ring{opacity:1;transform:scale(calc(1 + var(--lvl,0) * .22));transition:transform .08s linear;border-color:rgba(248,113,113,.7)}
.st-listening .vc-ring.r2,.st-recording .vc-ring.r2{inset:-18px;opacity:.45;transform:scale(calc(1 + var(--lvl,0) * .35))}
.st-sending .vc-ring.r1{opacity:1;border-color:transparent;border-top-color:#ffd54a;animation:vcSpin 1s linear infinite}
.st-speaking .vc-ring{opacity:1;border-color:rgba(134,239,172,.6);animation:vcPulse 1.1s ease-out infinite}
.st-speaking .vc-ring.r2{animation-delay:.45s}
@keyframes vcSpin{to{transform:rotate(360deg)}}
@keyframes vcPulse{from{transform:scale(1);opacity:.8}to{transform:scale(1.18);opacity:0}}
.vc-state{margin:.5rem 0 .6rem;font-weight:800;font-size:1.02rem;min-height:1.4em}
.st-recording .vc-state{color:#fca5a5}.st-speaking .vc-state{color:#86efac}.st-sending .vc-state{color:#ffe27a}
.vc-subs{max-width:620px;margin:0 auto;display:grid;gap:.45rem;text-align:left}
.vc-subs p{margin:0;line-height:1.5}
.vc-you{background:rgba(124,92,255,.28);border-radius:14px;padding:.5rem .75rem;justify-self:end;max-width:92%}
.vc-robi{background:#fffaf0;color:#24204a;border-radius:16px;padding:.65rem .85rem;box-shadow:0 8px 20px -14px rgba(0,0,0,.8)}
.vc-robi b,.vc-you b{font-weight:900}
.vc-uz{margin-top:.35rem!important;padding-top:.35rem;border-top:1px dashed #e4defc;color:#5b5689}
.vc-tip{margin-top:.4rem!important;font-size:.86rem;background:#fff7d6;color:#6b4e00;border-radius:10px;padding:.35rem .55rem}
.vc-tr{margin-top:.35rem;border:0;background:#f3f0ff;color:#5b3fd6;font:800 .76rem var(--fb,inherit);padding:.22rem .55rem;border-radius:999px;cursor:pointer}
.vc-fix{background:#fff;color:#24204a;border-radius:12px;padding:.4rem .65rem;font-size:.86rem}
.vc-fix s{color:#be123c}.vc-fix ins{color:#15803d;text-decoration:none;font-weight:800}.vc-fix small{color:#6b6790}
.vc-empty{text-align:center;opacity:.8}
.vc-mem{font-size:.8rem;font-weight:700;color:#ddd6fe;text-align:center}
.vc-sugs{margin:.7rem auto 0;max-width:620px;display:flex;flex-wrap:wrap;gap:.35rem;justify-content:center;align-items:center}
.vc-sugs small{opacity:.7;font-weight:700}
.vc-sug{font-size:.84rem;font-weight:700;padding:.25rem .6rem;border-radius:999px;background:rgba(255,255,255,.08);border:1px dashed rgba(255,255,255,.25)}
.vc-ctrl{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-top:.9rem}
.vc-btn{border:0;cursor:pointer;font:900 .95rem var(--fb,inherit);padding:.7rem 1.2rem;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.2)}
.vc-btn.main{background:linear-gradient(180deg,#ffe27a,#f2b632);color:#2b1d00;border:0;box-shadow:0 8px 20px -8px rgba(242,182,50,.8)}
.vc-btn.big{font-size:1.1rem;padding:.9rem 1.8rem}
.vc-btn.end{background:#ef4444;border:0}
.vc-btn:disabled{opacity:.5;cursor:default}
.vc-alt{margin:0 0 .6rem}
.vc-link{border:0;background:transparent;color:#d9d4ff;font:800 .88rem var(--fb,inherit);cursor:pointer;padding:.3rem 0;text-decoration:underline}
.vc-alt .tk-input{border-radius:18px;border:1px solid #efe9da;margin-top:.4rem}
.vc-log{max-height:260px;overflow-y:auto;margin:.4rem 0;padding:.5rem .7rem;border-radius:12px;background:rgba(255,255,255,.06)}
.vc-log p{margin:.25rem 0;font-size:.9rem}.vc-log p.me{color:#c4b5fd}
@media (max-width:640px){.vc-robot{width:180px;height:180px}.vc-robot .robi{width:140px;height:140px}.vc-stage{padding:.8rem .7rem 1rem;border-radius:22px}}
.vc-note{flex-basis:100%;margin:.55rem auto 0;max-width:420px;font-size:.85rem;opacity:.8}

