/* RANGO WORLD "Fünf am Tag" (module "daily"): the daily bar under the live stage, the animation panel, results and the
   sticker album. Colours and curves follow the approved RANGO WORLD design system (world-ui.css); everything is scoped to
   .rd / .rd-album, so with the module off the site looks exactly as before. The panel is part of the page flow – it never
   covers the video. */
.rd, .rd-album {
  --rd-night: #0E1211; --rd-stone: #1D2421; --rd-stone-hi: #283130; --rd-gold: #E2B84E; --rd-gold-deep: #C9962F; --rd-pale: #F3DFA0;
  --rd-cream: #F6F1E7; --rd-muted: #A9B6AC; --rd-turq: #5DB3A9; --rd-line: rgba(232, 217, 188, .12);
  --rd-display: "Outfit", "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif; --rd-ui: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --rd-spring: cubic-bezier(.3, 1.45, .45, 1);
  color: var(--rd-cream); font-family: var(--rd-ui); box-sizing: border-box;
}
.rd *, .rd-album * { box-sizing: border-box; }
/* The site styles every svg as a 24px outline icon; these drawings need plain SVG defaults. */
.rd svg, .rd-album svg { width: 100%; height: 100%; fill: #000; stroke: none; stroke-width: 1; stroke-linecap: butt; stroke-linejoin: miter; display: block; overflow: visible; flex: initial; }
.rd[hidden] { display: none !important; }
.rd { position: relative; z-index: 1; margin: 18px 0 6px; padding: 18px clamp(14px, 3vw, 24px) 16px; border-radius: 26px; border: 1px solid var(--rd-line);
  background: radial-gradient(120% 90% at 12% 0%, rgba(226, 184, 78, .10), transparent 55%), linear-gradient(180deg, var(--rd-stone), #141917); box-shadow: 0 18px 40px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04); }
.rd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rd-kicker { margin: 0 0 4px; font: 700 11px/1.2 var(--rd-ui); letter-spacing: .16em; color: var(--rd-gold); }
.rd h2 { margin: 0; font: 700 clamp(18px, 2.6vw, 24px)/1.2 var(--rd-display); color: var(--rd-cream); letter-spacing: 0; }
.rd-progress { margin: 8px 0 14px; font-size: 15px; color: var(--rd-muted); }
.rd-progress b { color: var(--rd-pale); font-family: var(--rd-display); font-size: 17px; }
.rd-albumbtn { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--rd-line); background: var(--rd-stone-hi); color: var(--rd-cream); font: 600 13px/1.1 var(--rd-ui); cursor: pointer; }
.rd-albumbtn .rd-ic { width: 30px; height: 30px; }
.rd-albumbtn b { color: var(--rd-pale); }
.rd-albumbtn:hover, .rd-albumbtn:focus-visible { border-color: var(--rd-gold); }

.rd-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, 1.6vw, 14px); }
.rd-step { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 6px 2px 8px; min-height: 64px; border: 0; background: none; color: var(--rd-muted); font: 700 clamp(10px, 2.5vw, 12px)/1.1 var(--rd-ui); letter-spacing: .08em; cursor: pointer; border-radius: 18px; -webkit-tap-highlight-color: transparent; }
.rd-step b { font-weight: 700; }
.rd-ring { position: relative; width: clamp(52px, 13vw, 76px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #34403B, var(--rd-stone-hi) 60%); border: 2px solid rgba(232, 217, 188, .16); box-shadow: 0 6px 14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .25s var(--rd-spring), border-color .25s, box-shadow .25s; }
.rd-ring .rd-ic { width: 62%; height: 62%; }
.rd-check, .rd-lock { position: absolute; right: -4px; bottom: -4px; width: 40%; height: 40%; transform: scale(0); transition: transform .35s var(--rd-spring); }
.rd-lock { width: 34%; height: 34%; }
.rd-step:hover .rd-ring, .rd-step:focus-visible .rd-ring { transform: translateY(-3px); border-color: var(--rd-gold); }
.rd-step:active .rd-ring { transform: scale(.94); }
.rd-step.is-done { color: var(--rd-pale); }
.rd-step.is-done .rd-ring { border-color: var(--rd-gold); box-shadow: 0 0 0 4px rgba(226, 184, 78, .16), 0 6px 14px rgba(0, 0, 0, .35); }
.rd-step.is-done .rd-check { transform: scale(1); }
.rd-step.is-locked .rd-ring .rd-ic { opacity: .38; filter: saturate(.3); }
.rd-step.is-locked .rd-lock { transform: scale(1); }
.rd-step.is-playing .rd-ring { border-color: var(--rd-turq); box-shadow: 0 0 0 4px rgba(93, 179, 169, .22); }
.rd :is(button, a):focus-visible, .rd-album :is(button, a):focus-visible { outline: 3px solid var(--rd-turq); outline-offset: 3px; }

.rd-finale { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 10px 16px; min-height: 64px; border-radius: 20px; border: 1px solid var(--rd-line); background: var(--rd-stone-hi); color: var(--rd-cream); text-align: left; cursor: pointer; transition: border-color .3s, background .3s, transform .2s; }
.rd-finale .rd-ic { flex: none; width: 44px; height: 44px; }
.rd-finale-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rd-finale b { font: 700 15px/1.2 var(--rd-display); letter-spacing: .04em; }
.rd-finale small { font-size: 13px; color: var(--rd-muted); }
.rd-finale.is-locked .rd-ic { opacity: .4; filter: saturate(.2); }
.rd-finale.is-open { border-color: var(--rd-gold); background: linear-gradient(100deg, rgba(226, 184, 78, .28), rgba(201, 150, 47, .12) 60%, var(--rd-stone-hi)); animation: rd-call 2.4s ease-in-out infinite; }
.rd-finale.is-open small { color: var(--rd-pale); font-weight: 700; }
.rd-finale.is-done { border-color: rgba(226, 184, 78, .5); }
.rd-finale:active { transform: scale(.985); }
@keyframes rd-call { 0%, 100% { box-shadow: 0 0 0 0 rgba(226, 184, 78, .0); } 50% { box-shadow: 0 0 0 6px rgba(226, 184, 78, .18); } }
.rd-hint { min-height: 1.3em; margin: 8px 0 0; font-size: 14px; color: var(--rd-pale); }
.rd-hint:empty { min-height: 0; margin: 0; }
.rd-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--rd-muted); }
.rd-note a { color: var(--rd-pale); }

/* ---------- animation panel ---------- */
.rd-stage { margin-top: 14px; }
.rd-scene { position: relative; width: 100%; max-width: 760px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #0A0E0D; border: 1px solid rgba(232, 217, 188, .14); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 14px 30px rgba(0, 0, 0, .35); contain: layout paint; }
.rd-scene .rd-svg { position: absolute; inset: 0; overflow: hidden; }
.rd-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rd-caption { min-height: 2.8em; margin: 10px auto 0; max-width: 620px; text-align: center; font: 600 15px/1.4 var(--rd-ui); color: var(--rd-pale); }
.rd-stagebar { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.rd-btn { min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--rd-line); background: var(--rd-stone-hi); color: var(--rd-cream); font: 700 14px/1.1 var(--rd-ui); cursor: pointer; }
.rd-btn--gold { border-color: var(--rd-gold); background: linear-gradient(180deg, #F0CB6A, var(--rd-gold-deep)); color: #201707; }
.rd-btn--ghost { background: none; color: var(--rd-muted); }
.rd-btn:hover { border-color: var(--rd-gold); }
.rd-result { max-width: 620px; margin: 4px auto 0; padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(226, 184, 78, .35); background: linear-gradient(180deg, rgba(226, 184, 78, .10), rgba(20, 24, 22, .5)); animation: rd-in .45s var(--rd-spring) both; }
.rd-result[hidden] { display: none; }
.rd-result h3 { margin: 0 0 8px; font: 700 20px/1.2 var(--rd-display); color: var(--rd-cream); }
.rd-result p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #CFD7CF; }
.rd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 700; color: var(--rd-cream); }
.rd-chip--gold { background: var(--rd-gold); color: #201707; }
.rd-fact { padding: 10px 12px; border-radius: 14px; background: rgba(93, 179, 169, .12); border: 1px solid rgba(93, 179, 169, .3); }
.rd-fact b { color: var(--rd-turq); }
.rd-next { color: var(--rd-pale) !important; font-weight: 700; }
.rd-tomorrow { font: 700 16px/1.3 var(--rd-display) !important; color: var(--rd-pale) !important; }
.rd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rd-newst { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--rd-line); }
.rd-newst .rd-sticker { flex: none; width: 64px; height: 64px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); animation: rd-pop .7s var(--rd-spring) both; }
.rd-newst--big .rd-sticker { width: 96px; height: 96px; }
.rd-newst small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--rd-gold); }
.rd-newst b { display: block; font: 700 17px/1.25 var(--rd-display); }
.rd-newst span { display: block; font-size: 13px; color: var(--rd-muted); }
@keyframes rd-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes rd-pop { from { opacity: 0; transform: scale(.3) rotate(-25deg); } to { opacity: 1; transform: none; } }

/* ---------- inside the scene (SVG user units) ---------- */
.rd-svg .rd-o { transform-origin: 0 0; }
.rd-svg .rd-fig .rd-sq { transform-origin: 100px 188px; }
.rd-svg .rd-fig [data-head] { transform-origin: 100px 122px; }
.rd-svg .rd-fig .rg-tail { transform-origin: 128px 160px; }
.rd-svg .rd-fig [data-part="armWave"] { transform-origin: 128px 132px; }
.rd-svg .rd-fig .rd-acc { transform-origin: 100px 44px; }
/* No endless loops in the backdrop: it is painted once (the stream decodes next to it). Life comes from the particles
   and from each world's special moment (daily.js). */
.rd-scene .rd-live { will-change: transform; }
.rd-svg .rd-rays { transform-origin: 0 0; }
.rd-svg .rd-cr { opacity: .55; }
.rd-svg .rd-fl { transform: scale(.4); }
.rd-svg .rd-find { opacity: .42; transition: opacity .5s; }
.rd-svg .rd-find.rd-found { opacity: 1; }
.rd-svg .rd-unfurl { transform: scale(0); transform-origin: 0 -14px; transition: transform .7s var(--rd-spring); }
.rd-svg .rd-found .rd-unfurl { transform: scale(1); }
.rd-svg .rd-warm, .rd-svg .rd-ripple, .rd-svg .rd-eyes { opacity: 0; transition: opacity .4s; }
.rd-svg .rd-found .rd-warm { opacity: 1; animation: rd-pulse 1.4s ease-in-out infinite; }
.rd-svg .rd-found .rd-ripple { opacity: .7; animation: rd-pulse 1.6s ease-in-out infinite; }
.rd-svg .rd-found .rd-eyes { opacity: 1; animation: rd-blink 2.6s steps(1) infinite; }
@keyframes rd-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes rd-blink { 0%, 86%, 100% { opacity: 1; } 90% { opacity: 0; } }
/* Reduced motion: stills with cross-fades only (daily.js adds .rd-calm; the media query covers everything else). */
.rd-svg.rd-calm *, .rd-svg.rd-calm { animation: none !important; transition: none !important; }

/* ---------- sticker album (mobile first) ---------- */
.rd-album { width: min(100vw, 720px); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 auto; padding: 0; border: 0; background: #121715; overflow: hidden; }
.rd-album::backdrop { background: rgba(4, 6, 5, .78); }
.rd-album-in { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }
.rd-album header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rd-album h2 { margin: 0; font: 700 24px/1.2 var(--rd-display); color: var(--rd-cream); }
.rd-album-count { margin: 6px 0 0; font-size: 14px; color: var(--rd-muted); }
.rd-album-count b { color: var(--rd-pale); font-size: 18px; }
.rd-album-detail { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; margin: 14px 0 6px; padding: 12px 14px; min-height: 92px; border-radius: 18px; border: 1px solid rgba(226, 184, 78, .3); background: linear-gradient(180deg, #232B28, #1A201E); box-shadow: 0 10px 22px rgba(0, 0, 0, .4); }
.rd-album-tip { margin: 0; font-size: 14px; color: var(--rd-muted); }
.rd-detail-art { flex: none; width: 76px; height: 76px; }
.rd-detail-art.is-open { filter: grayscale(1) brightness(.6); opacity: .7; }
.rd-album-detail small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rd-gold); }
.rd-album-detail b { display: block; font: 700 18px/1.25 var(--rd-display); }
.rd-album-detail p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.45; color: #CFD7CF; }
.rd-album-detail .rd-rule { color: var(--rd-muted); }
.rd-album-detail .rd-date { color: var(--rd-pale); font-weight: 700; }
.rd-album section { margin-top: 18px; }
.rd-album h3 { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 10px; font: 700 15px/1.2 var(--rd-display); letter-spacing: .06em; text-transform: uppercase; color: var(--rd-pale); }
.rd-album h3 span { font-size: 13px; color: var(--rd-muted); }
.rd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 10px; }
.rd-st { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; min-height: 44px; border-radius: 16px; border: 1px solid transparent; background: rgba(255, 255, 255, .03); color: var(--rd-muted); font: 600 11.5px/1.2 var(--rd-ui); text-align: center; cursor: pointer; }
.rd-st .rd-sticker { width: 64px; height: 64px; filter: grayscale(1) brightness(.55); opacity: .6; transition: transform .25s var(--rd-spring); }
.rd-st.is-owned { color: var(--rd-cream); background: rgba(226, 184, 78, .07); }
.rd-st.is-owned .rd-sticker { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); opacity: 1; }
.rd-st:hover .rd-sticker { transform: scale(1.06) rotate(-3deg); }
.rd-st[aria-pressed="true"] { border-color: var(--rd-gold); }

@media (max-width: 560px) {
  .rd { margin-inline: -4px; padding: 16px 12px 14px; border-radius: 22px; }
  .rd-head { flex-wrap: wrap; }
  .rd-scene { border-radius: 16px; }
  .rd-result { padding: 14px; }
  .rd-actions .rd-btn { flex: 1 1 auto; }
  .rd-album-detail { align-items: flex-start; }
}
@media (min-width: 900px) { .rd-album { height: min(86dvh, 820px); border-radius: 24px; border: 1px solid var(--rd-line); margin: auto; } }
@media (prefers-reduced-motion: reduce) {
  .rd *, .rd-album * { animation: none !important; transition: none !important; }
  .rd-step.is-done .rd-check, .rd-step.is-locked .rd-lock { transform: scale(1); }
}

/* ---------- RANGO QUIZ and RANGO GEBURTSTAG (play.js) – same panel look as the daily bar ---------- */
.rq-count { margin-left: 8px; font: 700 14px/1 var(--rd-ui); color: var(--rd-pale); }
.rq-levels { flex: none; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--rd-stone-hi); border: 1px solid var(--rd-line); }
.rq-levels button { min-height: 38px; padding: 6px 12px; border: 0; border-radius: 999px; background: none; color: var(--rd-muted); font: 700 12.5px/1 var(--rd-ui); cursor: pointer; }
.rq-levels button[aria-pressed="true"] { background: var(--rd-gold); color: #201707; }
.rq-ai { display: flex; align-items: flex-start; gap: 12px; margin: 12px 0 14px; padding: 12px 14px; border-radius: 18px; background: rgba(93, 179, 169, .10); border: 1px solid rgba(93, 179, 169, .28); }
.rq-ai img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--rd-turq); }
.rq-ai small { font: 700 11px/1 var(--rd-ui); letter-spacing: .14em; color: var(--rd-turq); }
.rq-ai p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--rd-cream); }
.rq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rq-q { padding: 14px; border-radius: 18px; border: 1px solid var(--rd-line); background: rgba(0, 0, 0, .18); }
.rq-q.is-later { padding: 10px 14px; opacity: .55; }
.rq-q.is-open { border-color: rgba(226, 184, 78, .45); }
.rq-meta { margin: 0; font-size: 12px; letter-spacing: .04em; color: var(--rd-muted); }
.rq-q h3 { margin: 6px 0 12px; font: 700 clamp(16px, 2.4vw, 19px)/1.3 var(--rd-display); color: var(--rd-cream); }
.rq-answers { display: grid; gap: 8px; }
.rq-a { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 2px solid rgba(232, 217, 188, .16); background: var(--rd-stone-hi); color: var(--rd-cream); font: 600 15px/1.3 var(--rd-ui); text-align: left; cursor: pointer; }
.rq-a:not(:disabled):hover { border-color: var(--rd-gold); }
.rq-a:disabled { cursor: default; opacity: .7; }
.rq-a em { flex: none; font: 700 11px/1 var(--rd-ui); font-style: normal; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.rq-a.is-right { opacity: 1; border-color: #7FB069; background: rgba(127, 176, 105, .18); }
.rq-a.is-right em { background: #7FB069; color: #10200F; }
.rq-a.is-wrong { opacity: 1; border-style: dashed; border-color: #E0675F; }
.rq-hintbtn { margin-top: 8px; }
.rq-hint, .rq-expl { margin: 10px 0 0; padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; color: #E4EAE4; }
.rq-hint { background: rgba(93, 179, 169, .12); border: 1px solid rgba(93, 179, 169, .3); }
.rq-expl { background: rgba(226, 184, 78, .10); border: 1px solid rgba(226, 184, 78, .3); animation: rd-in .4s var(--rd-spring) both; }
.rq-expl.is-right { background: rgba(127, 176, 105, .12); border-color: rgba(127, 176, 105, .4); }
.rq-won { margin-top: 8px; }
.rq-summary { max-width: none; margin-top: 12px; }
.rq-learn { display: flex; flex-wrap: wrap; gap: 8px; }
.rq-learn .rd-btn { display: inline-flex; align-items: center; text-decoration: none; }
.rb-body p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: #CFD7CF; }
.rb-party { padding: 10px 12px; border-radius: 14px; background: rgba(226, 184, 78, .14); border: 1px solid rgba(226, 184, 78, .4); color: var(--rd-pale) !important; font-weight: 700; }
.rb-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; margin-top: 12px; }
.rb-form label { display: grid; gap: 4px; font: 700 12px/1.2 var(--rd-ui); color: var(--rd-muted); }
.rb-form select { min-height: 48px; min-width: 96px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--rd-line); background: var(--rd-stone-hi); color: var(--rd-cream); font: 600 16px/1.2 var(--rd-ui); }
.rb-form .rb-consent { flex: 1 1 100%; display: flex; align-items: flex-start; gap: 10px; font: 600 14px/1.4 var(--rd-ui); color: var(--rd-cream); }
.rb-consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--rd-gold); }
.rb-open { font-size: 16px; min-height: 56px; }
.rb-card { margin-top: 10px; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
.rb-card svg { width: 100%; height: auto; }
@media (max-width: 560px) { .rq-levels button { padding: 6px 9px; font-size: 12px; } .rq-ai { padding: 10px 12px; } }
.rd-guest { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--rd-muted, #9FAEA1); }
