/* LEVEL ARENA 24.11 — the XP / streak / combo layer and the campaign home. Colours come from game.css tokens. */
body { font-weight: 400; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .big { font-weight: 800; letter-spacing: -.01em; }
:root[data-theme="dark"] body { background: radial-gradient(1200px 520px at 50% -180px, rgba(136,84,247,.16), transparent 70%) var(--bg) no-repeat; }
.bar { backdrop-filter: blur(10px); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.brand { color: var(--ink); }
.ghost { border-radius: var(--r-btn); border-color: var(--line); background: var(--panel2); color: var(--ink); min-height: 34px; }
.ghost.snd { display: inline-grid; place-items: center; padding: 4px 8px; }
.ghost.snd svg { width: 18px; height: 18px; }
.hud { display: inline-flex; align-items: center; gap: 8px; }
.hud-t { white-space: nowrap; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header chips: rank, flame, combo */
.xrb { display: inline-flex; background: none; border: 0; padding: 2px; border-radius: var(--r-btn); }
.xr { display: inline-flex; align-items: center; gap: 6px; }
.xr-t { display: grid; gap: 3px; text-align: start; }
.xr-t b { font-size: 12px; color: var(--ink); line-height: 1; }
.xr-bar, .xp-bar { display: block; height: 5px; min-width: 64px; border-radius: 99px; background: var(--panel2); overflow: hidden; border: 1px solid var(--line); }
.xr-bar i, .xp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #8854F7, #B89AFF); transition: width .9s cubic-bezier(.2,.8,.2,1); }
[dir="rtl"] .xr-bar i, [dir="rtl"] .xp-bar i { margin-inline-start: 0; background: linear-gradient(270deg, #8854F7, #B89AFF); }
.flm { display: inline-flex; align-items: center; gap: 3px; color: var(--mute); font-size: 13px; padding: 3px 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); position: relative; }
.flm b { color: var(--ink); }
.flm .flame { color: var(--mute); }
.flm.on .flame { color: var(--stop); filter: drop-shadow(0 0 4px rgba(245,181,68,.55)); }
.flm.hot .flame { animation: flick 1.6s ease-in-out infinite; }
.flm .frz { display: inline-grid; color: var(--target); font-style: normal; }
.flm .frz svg { width: 13px; height: 13px; }
@keyframes flick { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.12) rotate(-4deg); } }
.cmb { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: 13px; font-weight: 800;
  background: rgba(136,84,247,.16); color: var(--accent); border: 1px solid rgba(184,154,255,.4); }
.cmb .flame { width: 14px; height: 14px; }
.cmb-n { font-size: 11px; opacity: .75; }
.cmb.c2 { background: rgba(136,84,247,.26); }
.cmb.c3 { background: linear-gradient(90deg, rgba(136,84,247,.45), rgba(34,211,238,.3)); color: #F4F3F8; }
.cmb.c4 { background: linear-gradient(90deg, #8854F7, #22D3EE); color: #08090D; border-color: transparent; }
.cmb.pop { animation: pop .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* home */
.home2 { gap: 18px; max-width: 880px; }
.hero2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 6px 0 2px; }
.wm { font-size: clamp(34px, 7vw, 58px); line-height: .95; margin: 0 0 8px; letter-spacing: .03em; direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .wm { text-align: right; }
.wm .kw, .kw { color: var(--kw); }
.h2-txt p { margin: 0; color: var(--mute); max-width: 46ch; }
.pcard { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 12px; align-items: center; text-align: start;
  background: linear-gradient(160deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 14px; min-width: 290px;
  box-shadow: 0 10px 40px -18px var(--glow); }
.pcard:hover { border-color: rgba(184,154,255,.5); }
.pcard .pe-emb { grid-row: span 2; }
.pc-t { display: grid; gap: 4px; min-width: 0; }
.pc-k { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
.pc-n { font-size: 18px; }
.pc-s { font-size: 12px; color: var(--mute); }
.pc-r { grid-column: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--mute); }
.pcard .xp-bar { height: 7px; }

.daily2 { position: relative; overflow: hidden; padding: 20px; gap: 14px; border-color: rgba(136,84,247,.45);
  background: radial-gradient(520px 220px at 100% 0, rgba(136,84,247,.22), transparent 70%), var(--panel); }
[dir="rtl"] .daily2 { background: radial-gradient(520px 220px at 0 0, rgba(136,84,247,.22), transparent 70%), var(--panel); }
.dl-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kick { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.dl-date { font-size: 13px; color: var(--mute); }
.dl-mid { display: flex; gap: 16px; align-items: center; }
.dl-flame { width: 72px; height: 72px; flex: none; border-radius: 18px; display: grid; place-items: center; align-content: center; gap: 0; background: var(--panel2); border: 1px solid var(--line); color: var(--mute); }
.dl-flame .flame { width: 30px; height: 30px; }
.dl-flame b { font-size: 22px; line-height: 1; color: var(--ink); }
.dl-flame.on { color: var(--stop); background: radial-gradient(circle at 50% 40%, rgba(245,181,68,.25), rgba(245,181,68,.04)); border-color: rgba(245,181,68,.45); }
.dl-flame.on .flame { filter: drop-shadow(0 0 8px rgba(245,181,68,.6)); animation: flick 2.2s ease-in-out infinite; }
.dl-txt { display: grid; gap: 4px; justify-items: start; }
.dl-txt h2 { font-size: 22px; }
.dl-txt p { font-size: 14px; }
.frzc { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; padding: 2px 9px; border-radius: 99px; border: 1px dashed var(--line); color: var(--mute); }
.frzc.on { border: 1px solid rgba(34,211,238,.5); color: var(--target-ink); background: rgba(34,211,238,.08); }
.dl-prog { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--mute); }
.dl-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.dl-dots i { width: 22px; height: 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); }
.dl-dots i.pl { background: rgba(184,154,255,.35); border-color: transparent; }
.dl-dots i.ok { background: linear-gradient(90deg, #8854F7, #B89AFF); border-color: transparent; box-shadow: 0 0 10px rgba(136,84,247,.5); }
.dl-dots i.pr { background: var(--line); }
.dl-dots.big { justify-content: center; }
.dl-dots.big { width: 100%; max-width: 394px; flex-wrap: nowrap; }
.dl-dots.big i { flex: 1 1 0; min-width: 0; max-width: 34px; height: 12px; }   /* bigQA 24.11: 10 dots shrink on a phone, never widen the page */
.dl-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.big { font-size: 17px; padding: 15px 26px; flex: 1 1 220px; }
.sec-h { margin: 8px 0 -4px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.cards2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.cards2 .card { transition: border-color .2s, transform .2s; }
.cards2 .card:hover { border-color: var(--frame); }
.cards2 h3 { margin: 4px 0 0; font-size: 14px; color: var(--mute); }
.filt summary { cursor: pointer; color: var(--accent); font-weight: 700; font-size: 14px; padding: 4px 0; }
.filt[open] summary { margin-bottom: 8px; }
.btn.lesson { display: grid; gap: 2px; text-align: start; font-weight: 700; }
.btn.lesson small { font-weight: 400; color: var(--mute); }
.btn.lesson .ck { color: var(--accent); }
.set-r { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.sw { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px 4px 4px; font-size: 13px; color: var(--mute); }
[dir="rtl"] .sw { padding: 4px 4px 4px 12px; }
.sw i { width: 34px; height: 20px; border-radius: 99px; background: var(--panel2); position: relative; border: 1px solid var(--frame); }
.sw i::after { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--mute); transition: inset-inline-start .18s, background .18s; }
.sw[aria-pressed="true"] { color: var(--ink); }
.sw[aria-pressed="true"] i { background: #8854F7; border-color: #8854F7; }
.sw[aria-pressed="true"] i::after { inset-inline-start: 16px; background: #fff; }

/* the reward box (reveal + daily result) */
.xpbox { display: grid; gap: 8px; margin: 10px 0 4px; padding: 12px 14px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--panel2); }
.xpbox.good { border-color: rgba(184,154,255,.55); background: radial-gradient(300px 120px at 50% 0, rgba(136,84,247,.22), transparent 75%), var(--panel2); }
.xpbox.jhold { visibility: hidden; }
.xpbox.go { animation: rise .45s cubic-bezier(.2,.9,.3,1.2); }
@keyframes rise { from { transform: translateY(8px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.xp-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.xp-big { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; direction: ltr; unicode-bidi: isolate; }
.xp-mult { font-weight: 800; padding: 2px 8px; border-radius: 99px; background: #8854F7; color: #fff; font-size: 13px; }
.xp-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 13px; color: var(--mute); }
.xp-items li { display: flex; justify-content: space-between; gap: 8px; }
.xp-items li .num { color: var(--ink); }
.xp-cmb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); }
.xp-cmb.brk { color: var(--mute); font-style: italic; }
.xp-rank { display: grid; grid-template-columns: auto auto minmax(60px, 1fr); gap: 4px 8px; align-items: center; font-size: 13px; font-weight: 700; }
.xp-rank .mute { grid-column: 1 / -1; font-weight: 400; font-size: 12px; }
.xp-badge { font-size: 13px; font-weight: 700; color: var(--stop-ink); }

/* daily result */
.done2 .dres { text-align: center; justify-items: center; padding: 22px 18px; gap: 12px; border-color: rgba(136,84,247,.45);
  background: radial-gradient(420px 200px at 50% 0, rgba(136,84,247,.25), transparent 75%), var(--panel); }
.dres .dl-top { width: 100%; }
.dres-t { margin: 0; font-size: 26px; }
.dres-big { display: grid; gap: 2px; }
.dres-big .num { font-size: 64px; font-weight: 800; line-height: 1; background: linear-gradient(180deg, #F4F3F8, #B89AFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root:not([data-theme="dark"]) .dres-big .num { background: none; color: var(--accent); }
.dres-big .lbl { color: var(--mute); font-size: 14px; }
.dres-k { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; }
.dres-k > div { display: grid; gap: 4px; justify-items: center; padding: 8px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); }
.dres-k span { font-size: 12px; color: var(--mute); }
.dres-k b { font-size: 20px; }
.dres-k .flm { background: none; border: 0; padding: 0; font-size: 20px; }
.dres .xpbox { width: 100%; max-width: 420px; text-align: start; }
.dres .row2b { justify-content: center; }

/* modals: rank-up, share */
.rku { text-align: center; justify-items: center; gap: 10px; }
.rku-glow { width: 150px; height: 150px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(136,84,247,.45), rgba(136,84,247,0) 70%); animation: glow 2s ease-in-out infinite; }
.rku-glow .pe-emb { animation: pop .7s cubic-bezier(.2,1.6,.4,1); }
@keyframes glow { 50% { transform: scale(1.06); } }
.rku-k { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rku-n { font-size: 30px; font-weight: 800; }
.shr { gap: 12px; max-width: 440px; width: 100%; }
.shr-img { width: 100%; aspect-ratio: 1; border-radius: var(--r-card); overflow: hidden; background: #08090D; border: 1px solid var(--line); }
.shr-cv { width: 100%; height: 100%; display: block; }
.shr-b { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shr-b .btn { padding: 11px 6px; }
.shr-b .btn.primary { grid-column: 1 / -1; }
.shr-b a.btn { text-align: center; text-decoration: none; color: inherit; }

/* profile (stats screen) */
.prof { gap: 14px; }
.prof-h { display: flex; gap: 14px; align-items: center; }
.prof-h > div { display: grid; gap: 4px; flex: 1; }
.prof-h h2 { font-size: 24px; }
.xp-bar.big { height: 10px; }
.prof-k { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.prof-k > div { display: grid; gap: 2px; padding: 10px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); }
.prof-k b { font-size: 22px; }
.prof h3 { margin: 4px 0 0; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.ladder { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 6px; }
.ladder li { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line); font-size: 12px; text-align: center; opacity: .55; }
.ladder li.past { opacity: .85; }
.ladder li.now { opacity: 1; border-color: #8854F7; background: rgba(136,84,247,.14); font-weight: 700; }
.bdgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bdg { display: grid; gap: 2px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; opacity: .5; }
.bdg b { font-size: 13px; }
.bdg .mute { font-size: 12px; }
.bdg-i { font-size: 18px; color: var(--mute); }
.bdg.on { opacity: 1; border-color: rgba(184,154,255,.5); background: linear-gradient(160deg, rgba(136,84,247,.16), transparent); }
.bdg.on .bdg-i { color: var(--stop); }

/* footer */
.foot { max-width: 1180px; margin: 0 auto; padding: 4px 16px 28px; text-align: center; font-size: 12px; color: var(--mute); }

@media (max-width: 640px) {
  .hero2 { grid-template-columns: minmax(0, 1fr); }
  .pcard { min-width: 0; }
  .hud-t { display: none; }
  .xr-t { display: none; }
  .dl-flame { width: 60px; height: 60px; }
  .dres-big .num { font-size: 54px; }
  .bar { padding: 8px 12px; }
  .brand { white-space: nowrap; font-size: 13px; letter-spacing: .08em; }
  .bar-r { gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .ghost { padding: 5px 8px; font-size: 12px; }
  .dl-prog .num { white-space: nowrap; }
  .dl-dots { gap: 4px; flex-wrap: nowrap; }
  .dl-dots i { width: 16px; }
  .dl-txt h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 24.11 gate on the brand system: dark surfaces, 14 px cards, one filled purple button in view, dark demo shots */
.g-im-d { display: none !important; }
:root[data-theme="dark"] .g-im-l { display: none !important; }
:root[data-theme="dark"] .g-im-d { display: block !important; }
.g-hero h1 { font-weight: 800; letter-spacing: .03em; }
.g-hero2 .g-lead { color: var(--mute); }
.g-fstep { border-radius: 14px; }
.g-fshot { border-radius: 14px; }
.g-fshot img { border-radius: 10px; }
.g-form, .g-signin2 .g-form { border-radius: 14px; }
.vxv-box { border-radius: 14px; }
:root[data-theme="dark"] .g-fstep { background: var(--panel); border-color: var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
:root[data-theme="dark"] .g-fshot { background: #0B0C11; border: 1px solid var(--line); padding: 10px; }
:root[data-theme="dark"] .g-fshot img { box-shadow: none; }
:root[data-theme="dark"] .g-floop { background: radial-gradient(120% 90% at 50% 0%, rgba(136,84,247,.26), rgba(136,84,247,.06) 60%, var(--panel)); border-color: rgba(136,84,247,.55); color: var(--ink); }
:root[data-theme="dark"] .g-floop .g-n2 { background: var(--fill); color: var(--fill-ink); }
:root[data-theme="dark"] .g-floop .g-fsub { color: var(--mute); opacity: 1; }
:root[data-theme="dark"] .g-back { color: var(--accent); border-color: rgba(184,154,255,.5); }
:root[data-theme="dark"] .g-back:hover { background: rgba(136,84,247,.14); }
:root[data-theme="dark"] .g-tag { background: rgba(136,84,247,.18); color: var(--accent); }
:root[data-theme="dark"] .g-fstep:not(:last-child)::after { color: var(--accent); }
:root[data-theme="dark"] .g-signin2 .g-form { background: var(--panel); border-color: var(--line); box-shadow: 0 20px 60px -30px rgba(136,84,247,.45); }
:root[data-theme="dark"] .g-form input { background: var(--bg); border-color: var(--frame); }
:root[data-theme="dark"] .g-form input:focus-visible { outline: 2px solid var(--fill); outline-offset: 1px; border-color: var(--fill); }
:root[data-theme="dark"] .vxv-box { border-color: var(--line); box-shadow: 0 24px 60px -34px rgba(136,84,247,.55); }
.g-res b { font-family: var(--mono); }

/* 24.11 the trader's character (pe_avatar.js): header chip, reward box, own leaderboard row, settings entry, profile picker */
.xrb { align-items: center; gap: 4px; }
.xrb-av { margin-inline-end: 2px; }
.xp-top { align-items: center; }
.xp-top .xp-av { margin-inline-end: 2px; }
.xp-top .xp-big { margin-inline-end: auto; }
.me-av { margin-inline-end: 6px; vertical-align: -6px; }
.av-set { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; }
.avpick .peav-pick-t { font-size: 12px; }

/* ==== design pass 24.11 (unslop polish + make-interfaces-feel-better). Overrides only; light keeps its tokens. ==== */
:root { --ease: cubic-bezier(.22,1,.36,1); --ica: #6B3AE0; --icb: #D3C4F6; }
:root[data-theme="dark"] {
  --bg: #050505; --panel: #0E0E12; --panel2: #15151B; --ink: #F5F5F7; --mute: #9A9AA6; --line: #23232B; --frame: #34343F;
  --accent: #A78BFA; --level: #A78BFA; --kw: #A78BFA; --fill: #7C3AED; --fill-ink: #FFFFFF;
  --glow: transparent; --ica: #8B5CF6; --icb: #D1BEFB;
}
:root[data-theme="dark"] body { background: var(--bg); }
:root[data-theme="dark"] .bar { background: rgba(5,5,5,.88); }

/* type: two weights (400 / 700), sentence case, numbers in tabular figures */
h1, h2, h3, .big, .wm, .dres-big .num, .xp-big, .rku-n, .q, .ans, .verdict .v, .scen-head .t1, .scen-head .sym, .askline .q2,
.tfbig, .bigR, .mark, .pts .tot, .cmb, .xp-mult, .medal, .jr, .jverdict, .jstamp .num, .jcd b, .jstreak .st-n, .pod7 .blk, .g-n, .g-n2, .board .me span { font-weight: 700; }
h1, h2, .dres-t, .rku-n { text-wrap: balance; }
.card p, .h2-txt p, .dl-txt p, .hint, .disc, .bdg .mute { text-wrap: pretty; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
.brand { font-weight: 700; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 8px; }
.brand::before { content: ''; width: 18px; height: 18px; flex: none; background: url(../icons/mark.svg) center / contain no-repeat; }
.wm { letter-spacing: .01em; line-height: 1; }
.pc-k, .kick, .sec-h, .prof h3, .rku-k { text-transform: none; letter-spacing: 0; font-size: 13px; }
.kick, .rku-k { font-weight: 700; }
.sec-h { font-weight: 700; margin: 12px 0 -4px; }
.pc-s, .pc-rt, .dl-prog, .dl-date, .prof-k b, .dres-k b, .xp-items .num, .flm b, .cmb b, .ladder li { font-variant-numeric: tabular-nums; }

/* buttons: no coloured glow, explicit transitions, quiet press */
.btn { transition-property: transform, border-color, background-color; transition-duration: .15s; transition-timing-function: var(--ease); }
.btn.primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.btn.primary:not(:disabled):hover { background: #6D28D9; border-color: #6D28D9; }
:root:not([data-theme="dark"]) .btn.primary:not(:disabled):hover { background: #7440E8; border-color: #7440E8; }
.ghost { transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.ghost:hover { border-color: var(--frame); }
#theme, #lang { display: inline-flex; align-items: center; gap: 6px; }
.pe-ic { display: block; flex: none; width: 18px; height: 18px; }
.ghost.snd .pe-ic { width: 18px; height: 18px; }

/* rank card + daily card: flat surfaces, one brand hairline */
.pcard { background: var(--panel); box-shadow: none; transition: border-color .15s var(--ease); }
.pcard:hover { border-color: var(--frame); }
.xr-bar i, .xp-bar i, [dir="rtl"] .xr-bar i, [dir="rtl"] .xp-bar i { background: #8B5CF6; }
.daily2, [dir="rtl"] .daily2 { background: var(--panel); border-color: rgba(139,92,246,.45); }
.dl-flame { border-radius: 12px; }
.dl-flame.on { background: rgba(245,181,68,.10); border-color: rgba(245,181,68,.40); }
.dl-flame .pe-ic { width: 28px; height: 28px; }
.dl-flame.on .flame, .flm.on .flame, .flm.hot .flame { filter: none; animation: none; }
.dl-flame:not(.on) .pe-ic, .flm:not(.on) .pe-ic { --ica: var(--mute); --icb: color-mix(in srgb, var(--mute) 35%, transparent); }
.flm .pe-ic { width: 15px; height: 15px; }
.dl-dots i.ok { background: #8B5CF6; box-shadow: none; }
.frzc { border-radius: 8px; }
.cards2 .card { transition-property: border-color; transition-duration: .15s; transition-timing-function: var(--ease); }

/* combo chip: solid steps instead of hue gradients */
.cmb { border-radius: 8px; }
.cmb .pe-ic { width: 14px; height: 14px; }
.cmb.c3 { background: rgba(139,92,246,.40); color: var(--ink); }
.cmb.c4 { background: #7C3AED; color: #FFFFFF; border-color: transparent; }
.cmb.c4 .pe-ic { --ica: #FFFFFF; --icb: rgba(255,255,255,.55); }

/* reward box, daily result, rank-up, profile: no radial washes, no gradient text, no looping glow */
.xpbox.good { background: var(--panel2); border-color: rgba(139,92,246,.45); }
.xp-mult { background: #7C3AED; border-radius: 8px; }
.done2 .dres { background: var(--panel); border-color: rgba(139,92,246,.45); }
.dres-big .num { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); }
:root:not([data-theme="dark"]) .dres-big .num { color: var(--accent); }
.rku-glow { background: rgba(139,92,246,.12); box-shadow: inset 0 0 0 1px rgba(139,92,246,.35); animation: none; }
.jstreak .st-n { background: rgba(167,139,250,.12); }
.bdg.on { background: rgba(139,92,246,.10); border-color: rgba(139,92,246,.45); }
.ladder li.now { background: rgba(139,92,246,.12); }
.pod7 .s1 .blk { background: rgba(139,92,246,.45); }
.prof-k > div, .dres-k > div { border-radius: 10px; }
.btn.lesson .ck { display: inline-block; }
.btn.lesson .ck .pe-ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; }
@media (max-width: 560px) { #theme .pe-ic, #lang .pe-ic { display: none; } }   /* the phone header keeps one row: words only */
/* reward moments 24.11 (coordinator): celebration kept in brand purple / cyan; one pulse on the rank-up, not a loop; the streak flame is amber */
.rku-glow { background: radial-gradient(circle, rgba(139,92,246,.45), rgba(6,182,212,.12) 55%, rgba(139,92,246,0) 72%); box-shadow: none; animation: rkuPulse .9s var(--ease) 1 both; }
@keyframes rkuPulse { 0% { transform: scale(.82); opacity: 0; } 55% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
.dres-big .num, .xp-big { background: linear-gradient(180deg, #FFFFFF 10%, #A78BFA 60%, #06B6D4); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root:not([data-theme="dark"]) .dres-big .num, :root:not([data-theme="dark"]) .xp-big { background-image: linear-gradient(180deg, #6B3AE0 30%, #0891B2); color: transparent; }
.dl-flame.on .pe-ic, .flm.on .pe-ic { --ica: #F5B544; --icb: rgba(245,181,68,.38); }
:root:not([data-theme="dark"]) .dl-flame.on .pe-ic, :root:not([data-theme="dark"]) .flm.on .pe-ic { --ica: #D97706; --icb: #FBD38D; }
@media (prefers-reduced-motion: reduce) { .rku-glow { animation: none; } }
