/* DeenDuell – Design: Nachtblau, Smaragd, Gold; geometrisches Sternmuster (Ornament, kein Symbol) */
:root {
  --bg: #0B1622;
  --bg2: #10243A;
  --card: #142A42;
  --card2: #1B3654;
  --ink: #EEF4FA;
  --muted: #93A9BF;
  --line: rgba(255,255,255,.08);
  --em: #16C784;
  --em-d: #0E9A64;
  --gold: #F5C04A;
  --gold-d: #C9952A;
  --red: #FF6B6B;
  --r-m: 18px; --r-l: 26px;
  --sh: 0 18px 40px -18px rgba(0,0,0,.6);
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.3,1.5,.5,1);
  --safe-b: max(14px, env(safe-area-inset-bottom));
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior: none; background: var(--bg); }
body {
  font-family: 'Nunito', system-ui, sans-serif; color: var(--ink); min-height: 100dvh;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.4'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(700px 500px at 10% -10%, rgba(22,199,132,.18), transparent 60%),
    radial-gradient(600px 500px at 110% 15%, rgba(245,192,74,.12), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg) 60%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  touch-action: manipulation;
}
input { -webkit-user-select: text; user-select: text; }
#app { max-width: 560px; margin: 0 auto; min-height: 100dvh; padding: env(safe-area-inset-top) 16px 0; }
#app.enter > * { animation: enter .32s var(--ease) both; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Bausteine ---------- */
.page { padding-bottom: calc(28px + var(--safe-b)); }
.sub-top { display: flex; align-items: center; gap: 12px; padding: 14px 0 12px; }
.sub-top h1 { font-size: 25px; font-weight: 900; letter-spacing: -.02em; }
.back { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--card); display: grid; place-items: center; font-weight: 900; font-size: 19px; box-shadow: inset 0 0 0 1px var(--line); }
.pill { background: var(--card); border-radius: 999px; padding: 7px 12px; font-weight: 900; font-size: 15px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.sound-toggle { cursor: pointer; }
.card { background: var(--card); border-radius: var(--r-l); padding: 22px; box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.lead { color: var(--muted); font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.stars { font-size: 15px; letter-spacing: 2px; color: #33506E; }
.stars .on { color: var(--gold); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: linear-gradient(180deg, #22D893, var(--em)); color: #062A1C; font-weight: 900; font-size: 18px;
  border-radius: var(--r-m); padding: 15px 22px; box-shadow: 0 5px 0 var(--em-d), 0 14px 26px -12px rgba(22,199,132,.6);
  transition: transform .1s, box-shadow .1s;
}
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--em-d); }
.btn.ghost { background: var(--card2); color: var(--ink); box-shadow: 0 5px 0 #0D1E31, inset 0 0 0 1px var(--line); }
.btn.wa { background: linear-gradient(180deg, #34D96B, #22B455); color: #fff; box-shadow: 0 5px 0 #178A3F; }

/* ---------- Startseite ---------- */
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 0 14px; }
.logo { display: block; font-size: 30px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.logo b { background: linear-gradient(90deg, var(--gold), #FFE29A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag { display: block; font-size: 12.5px; color: var(--muted); font-weight: 800; margin-top: 4px; }
.stats { display: flex; gap: 6px; flex: none; }

.mode { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; transition: transform .15s var(--ease); }
.mode:active { transform: scale(.98); }
.mode b { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.mode small { font-size: 14px; font-weight: 800; opacity: .85; line-height: 1.35; }
.mode-duel {
  padding: 22px 20px 20px; gap: 4px; margin-bottom: 12px;
  background: radial-gradient(400px 200px at 85% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(140deg, #19D18D, #0E9A64 70%, #0B7A52);
  color: #fff; box-shadow: 0 8px 0 #08603F, 0 26px 40px -18px rgba(22,199,132,.7);
}
.mode-duel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 45%, transparent 60%); transform: translateX(-100%); animation: shine 5s ease-in-out 1s infinite; }
.mode-cta { margin-top: 12px; align-self: flex-start; background: #fff; color: #0B7A52; font-weight: 900; border-radius: 999px; padding: 9px 16px; font-size: 15px; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.vs { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vs span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; background: rgba(255,255,255,.95); color: #0B7A52; }
.vs span:last-child { background: var(--gold); color: #3A2A00; }
.vs i { font-style: normal; font-weight: 900; font-size: 22px; color: var(--gold); text-shadow: 0 2px 0 rgba(0,0,0,.25); animation: pulse 1.6s infinite; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modes .mode { padding: 18px 16px; gap: 4px; background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.mode-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 8px; background: var(--card2); }
.mode-solo .mode-ico { background: linear-gradient(150deg, #5B9BFF, #3B6FE0); }
.mode-ram .mode-ico { background: linear-gradient(150deg, #FF7AB8, #C2408A); }
.modes .mode b { font-size: 21px; }
.note { margin: 18px 4px 0; text-align: center; font-size: 13px; font-weight: 800; color: var(--muted); line-height: 1.5; }
.legal-links { text-align: center; font-size: 12.5px; font-weight: 800; color: var(--muted); padding: 18px 0 calc(16px + var(--safe-b)); }
.legal-links a { text-decoration: underline; text-underline-offset: 2px; }
.legal-links .credit { text-decoration: none; white-space: nowrap; }

/* ---------- Solo ---------- */
.cats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.catcard { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px var(--line); overflow: hidden; }
.catcard::before { content: ''; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--c); opacity: .18; }
.cat-ico { font-size: 30px; margin-bottom: 6px; }
.catcard b { font-size: 19px; font-weight: 900; }
.catcard small { color: var(--muted); font-weight: 800; font-size: 13px; }
.cat-prog { height: 6px; border-radius: 99px; background: var(--card2); margin-top: 8px; overflow: hidden; }
.cat-prog i { display: block; height: 100%; background: var(--c); border-radius: 99px; }
.levels { display: grid; gap: 12px; }
.lvl { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.lvl b { flex: 1; font-size: 19px; font-weight: 900; }
.lvl-n { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 20px; background: var(--c); color: #0B1622; }
.lvl.done { box-shadow: inset 0 0 0 2px var(--c); }
.lvl.locked { opacity: .5; }
.lvl.locked .lvl-n { background: var(--card2); }

/* ---------- Quiz ---------- */
.qz { height: 100dvh; display: flex; flex-direction: column; padding-bottom: var(--safe-b); }
.qz-top { display: flex; align-items: center; gap: 12px; padding: 10px 0 8px; }
.qz-title { flex: 1; min-width: 0; display: grid; }
.qz-title b { font-size: 17px; font-weight: 900; }
.qz-title small { color: var(--muted); font-weight: 800; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qz-count { font-weight: 900; font-size: 16px; color: var(--gold); background: var(--card); padding: 7px 12px; border-radius: 999px; }
.qz-prog, .qz-timer { flex: none; height: 8px; border-radius: 99px; background: var(--card); overflow: hidden; }
.qz-prog i { display: block; height: 100%; width: 0; background: var(--c); border-radius: 99px; transition: width .4s var(--ease); }
.qz-timer { margin-top: 6px; height: 6px; }
.qz-timer i { display: block; height: 100%; width: 100%; background: var(--gold); border-radius: 99px; transition: width .1s linear; }
.qz-timer.low i { background: var(--red); }
.qz-main { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 16px 0 8px; }
.q-card { background: var(--card); border-radius: var(--r-l); padding: 22px 20px; box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.q-cat { display: inline-block; font-size: 12.5px; font-weight: 900; padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--cc) 22%, transparent); background: rgba(255,255,255,.08); color: var(--ink); margin-bottom: 12px; }
.q-text { font-size: clamp(21px, 6vw, 27px); font-weight: 900; line-height: 1.28; letter-spacing: -.01em; }
.answers { display: grid; gap: 10px; }
.ans {
  display: flex; align-items: center; gap: 12px; text-align: left; min-height: 58px; padding: 10px 14px; border-radius: var(--r-m);
  background: var(--card2); box-shadow: 0 4px 0 #0D1E31, inset 0 0 0 1px var(--line); font-weight: 800; font-size: 17px; line-height: 1.25;
  animation: enter .3s var(--ease) both; animation-delay: var(--d); transition: transform .1s, background .2s;
}
.ans:active { transform: translateY(3px); }
.ans-l { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: rgba(255,255,255,.08); color: var(--muted); }
.ans:disabled { cursor: default; }
.ans.ok { background: linear-gradient(180deg, #1FD08F, #12A56E); color: #062A1C; box-shadow: 0 4px 0 var(--em-d); animation: pop .35s; }
.ans.ok .ans-l { background: rgba(255,255,255,.35); color: #062A1C; }
.ans.no { background: linear-gradient(180deg, #FF7B7B, #E04B4B); color: #fff; box-shadow: 0 4px 0 #A82F2F; animation: shake .4s; }
.ans.no .ans-l { background: rgba(255,255,255,.25); color: #fff; }
.feedback { background: var(--card); border-radius: var(--r-l); padding: 16px 18px; box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
/* nach dem Antworten: nur gewählte + richtige Antwort bleiben stehen, Erklärung rückt darunter */
.qz-main.answered .ans:not(.ok):not(.no) { display: none; }
.feedback.slide-up { animation: slideup .35s var(--ease) both; }
.fb-head { font-weight: 900; font-size: 19px; margin-bottom: 6px; }
.fb-head.good { color: var(--em); }
.fb-head.bad { color: var(--red); }
.fb-info { font-weight: 700; line-height: 1.45; font-size: 15.5px; }
.fb-src { margin: 8px 0 14px; font-size: 13px; font-weight: 900; color: var(--gold); }

/* ---------- Ergebnis ---------- */
.result { padding-top: 18px; }
.res-card { text-align: center; background: var(--card); border-radius: 30px; padding: 26px 20px 20px; box-shadow: var(--sh), inset 0 0 0 1px var(--line); display: grid; gap: 10px; justify-items: center; }
.res-score { display: flex; align-items: baseline; gap: 6px; }
.res-score b { font-size: 72px; font-weight: 900; line-height: 1; background: linear-gradient(180deg, #FFE29A, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.res-score span { font-size: 26px; font-weight: 900; color: var(--muted); }
.res-card h2 { font-size: 24px; font-weight: 900; }
.res-time { font-weight: 900; color: var(--gold); }
.share-hint { color: var(--muted); font-weight: 700; font-size: 14px; line-height: 1.45; }
.bigstars span { font-size: 48px; line-height: 1; color: #2A4560; display: inline-block; }
.bigstars span.on { color: var(--gold); text-shadow: 0 3px 0 var(--gold-d); animation: starpop .55s var(--spring) backwards; animation-delay: var(--d); }
.res-btns { display: grid; gap: 10px; width: 100%; margin-top: 6px; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; width: 100%; margin: 4px 0; }
.versus > div { background: var(--card2); border-radius: 18px; padding: 12px 8px; display: grid; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); }
.versus > div.win { box-shadow: inset 0 0 0 2px var(--gold), 0 0 30px -8px var(--gold); }
.versus small { font-weight: 900; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.versus b { font-size: 38px; font-weight: 900; }
.versus span { font-size: 13px; font-weight: 800; color: var(--muted); }
.versus > i { font-style: normal; font-weight: 900; color: var(--gold); }
.rev-h { margin: 22px 4px 10px; font-size: 16px; font-weight: 900; color: var(--muted); }
.review { list-style: none; padding: 0; display: grid; gap: 8px; }
.review li { background: var(--card); border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; box-shadow: inset 3px 0 0 var(--em); }
.review li.bad { box-shadow: inset 3px 0 0 var(--red); }
.review b { font-size: 14.5px; font-weight: 800; line-height: 1.35; }
.review span { font-size: 13px; color: var(--muted); font-weight: 700; }
.review i { color: var(--gold); font-style: normal; }

/* ---------- Duell-Start ---------- */
.duel-card { text-align: center; display: grid; gap: 12px; justify-items: center; }
.duel-card h2 { font-size: 24px; font-weight: 900; }
.duel-card p { color: var(--muted); font-weight: 700; line-height: 1.5; }
.vs.big span { width: 58px; height: 58px; font-size: 17px; }
.vs.big i { font-size: 28px; }
.name-form { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.name-form input { font: inherit; font-size: 20px; font-weight: 900; text-align: center; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 14px; outline: none; }
.name-form input:focus { border-color: var(--em); }

/* ---------- Ramadan ---------- */
.ram-hero { border-radius: var(--r-l); padding: 18px; margin-bottom: 16px; display: grid; gap: 4px;
  background: radial-gradient(300px 160px at 90% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(140deg, #3B1E5C, #7A2E6E 70%, #B1407E); box-shadow: var(--sh); }
.ram-hero b { font-size: 23px; font-weight: 900; }
.ram-hero span { font-weight: 700; opacity: .9; line-height: 1.45; font-size: 14.5px; }
.doors { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.door { aspect-ratio: 1; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: linear-gradient(160deg, #2A4466, #1B3654); box-shadow: 0 4px 0 #0D1E31, inset 0 0 0 1px rgba(245,192,74,.25); }
.door b { font-size: 20px; font-weight: 900; color: var(--gold); }
.door span { font-size: 10px; font-weight: 900; color: var(--muted); letter-spacing: 0; }
.door .stars { font-size: 9px; letter-spacing: 0; }
.door.done { background: linear-gradient(160deg, #1E5A47, #144434); box-shadow: 0 4px 0 #0A2A20, inset 0 0 0 1px rgba(22,199,132,.4); }
.door.today { box-shadow: 0 4px 0 #0D1E31, 0 0 0 3px var(--gold), 0 0 24px -4px var(--gold); animation: glow 1.8s infinite; }
.door.locked { opacity: .45; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.door.locked b { color: var(--muted); }

/* ---------- Rückmeldungen ---------- */
.toast { position: fixed; left: 50%; bottom: 12%; transform: translateX(-50%); z-index: 50; background: var(--em); color: #062A1C; font-weight: 900; padding: 12px 20px; border-radius: 999px; box-shadow: var(--sh); animation: toast 1.4s forwards; pointer-events: none; white-space: nowrap; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -14px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
.pop { animation: pop .35s var(--ease); }
.nope { animation: shake .4s; }

/* ---------- Animationen ---------- */
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
@keyframes slideup { from { transform: translateY(40px); opacity: 0; } }
@keyframes pop { 0% { transform: scale(.94); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes shake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-7px); } 75% { transform: translateX(7px); } }
@keyframes starpop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.2) rotate(8deg); } 100% { transform: scale(1); } }
@keyframes pulse { 50% { transform: scale(1.15); } }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes glow { 50% { box-shadow: 0 4px 0 #0D1E31, 0 0 0 3px var(--gold), 0 0 34px 0 var(--gold); } }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px); } 12% { opacity: 1; transform: translate(-50%, 0); } 85% { opacity: 1; } 100% { opacity: 0; } }

@media (max-height: 700px) {
  .qz-main { gap: 12px; padding-top: 10px; }
  .q-card { padding: 16px; }
  .ans { min-height: 52px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Rechtliches ---------- */
.legal { padding-bottom: calc(24px + var(--safe-b)); }
.legal .card { margin-bottom: 12px; -webkit-user-select: text; user-select: text; }
.legal .card h2 { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.legal .card p, .legal .card li { font-size: 15px; line-height: 1.6; font-weight: 600; color: #D5E1EC; }
.legal .card p + p { margin-top: 8px; }
.legal .card a { color: var(--gold); text-decoration: underline; word-break: break-word; }
.legal-intro { background: linear-gradient(135deg, #17463A, var(--card)); }
.legal-intro ul { padding-left: 20px; display: grid; gap: 6px; }

/* ---------- Koran hören ---------- */
.mode-listen { flex-direction: row; align-items: center; gap: 14px; margin-top: 12px; padding: 16px; background: var(--card); box-shadow: var(--sh), inset 0 0 0 1px rgba(245,192,74,.25); }
.mode-listen .mode-ico { margin: 0; background: linear-gradient(150deg, #FFE29A, var(--gold)); flex: none; }
.mode-listen > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.mode-listen b { font-size: 20px; }
.mode-listen .go { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #3A2A00; font-size: 15px; flex: none; }

.pl-card { position: sticky; top: 0; z-index: 5; display: grid; gap: 8px; padding: 18px; margin-bottom: 14px; border-radius: var(--r-l);
  background: radial-gradient(300px 160px at 90% 0%, rgba(245,192,74,.18), transparent 60%), linear-gradient(160deg, #1B3654, #142A42); box-shadow: var(--sh), inset 0 0 0 1px var(--line); }
.pl-rec { color: var(--gold); font-weight: 900; font-size: 13px; }
.pl-recsel { font: inherit; font-weight: 900; color: var(--gold); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; }
.pl-name { font-size: 24px; font-weight: 900; letter-spacing: -.01em; }
.pl-seek { width: 100%; accent-color: var(--gold); height: 24px; }
.pl-time { font-size: 13px; font-weight: 800; color: var(--muted); }
.pl-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 4px; }
.pl-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 900; background: var(--card2); box-shadow: inset 0 0 0 1px var(--line); }
.pl-btn.big { width: 72px; height: 72px; font-size: 28px; background: linear-gradient(180deg, #FFE29A, var(--gold)); color: #3A2A00; box-shadow: 0 5px 0 var(--gold-d), 0 14px 30px -10px rgba(245,192,74,.6); }
.pl-btn:active { transform: scale(.93); }
.pl-btn.loop { opacity: .5; }
.pl-btn.loop.on { opacity: 1; box-shadow: inset 0 0 0 2px var(--gold); }
.pl-hint { font-size: 12.5px; font-weight: 700; color: var(--muted); line-height: 1.45; text-align: center; }
.pl-search { width: 100%; font: inherit; font-size: 16px; font-weight: 800; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 10px; outline: none; }
.pl-search:focus { border-color: var(--gold); }
.suras { list-style: none; padding: 0; display: grid; gap: 6px; }
.suras li[hidden] { display: none; }
.sura { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.sura-n { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; font-weight: 900; font-size: 14px; background: var(--card2); color: var(--gold); }
.sura-t { flex: 1; font-weight: 800; font-size: 16px; }
.sura.on { box-shadow: inset 0 0 0 2px var(--gold); }
.sura.on .sura-n { background: var(--gold); color: #3A2A00; }
.eq { display: none; gap: 3px; align-items: flex-end; height: 18px; }
.sura.playing .eq { display: flex; }
.eq i { width: 4px; border-radius: 2px; background: var(--gold); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }

/* Mini-Player: unten fest, auf allen Seiten außer im Quiz */
#mini { position: fixed; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30;
  width: min(528px, calc(100% - 24px)); display: flex; align-items: center; gap: 6px; padding: 8px 8px 10px 10px; border-radius: 20px; overflow: hidden;
  background: rgba(20,42,66,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.7), inset 0 0 0 1px rgba(245,192,74,.25); }
#mini[hidden], .in-quiz #mini { display: none; }
.mini-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }
.mini-info > span:last-child { min-width: 0; display: grid; }
.mini-info b { font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-info small { font-size: 12px; font-weight: 800; color: var(--muted); }
.mini-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(150deg, #FFE29A, var(--gold)); }
.mini-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; flex: none; }
.mini-btn.main { width: 46px; height: 46px; background: var(--gold); color: #3A2A00; font-size: 17px; }
.mini-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.08); }
.mini-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.has-mini:not(.in-quiz) #app { padding-bottom: 86px; }
.pl-credit { font-size: 11.5px; font-weight: 800; color: #6F8AA6; text-align: center; }
