/**
 * bday-theme-roblox — workshop level look + Programm-Finder and cards (0.305.0) + «Sechs Stellen sind kaputt» + Ablauf
 * time bar + «Gut zu wissen» (0.304.0).
 *
 * Scoped to .rc-bp--roblox (shared components) and .rc-rbx (own sections). Look: light sky and white like the workshop
 * level, glowing cyan platforms, Studio blue as accent; CTAs stay robbo green. Level colours are component tokens; brand
 * colours and text sizes on var(--robbo-*); Plakkaat only for h2. Illustrations are CSS/SVG, animations stop under
 * prefers-reduced-motion.
 */

.rc-bp--roblox, .rc-rbx {
    --rbx-sky: #e4f4ff;
    --rbx-sky-2: #f6fbff;
    --rbx-cyan: #2fd4f5;
    --rbx-cyan-soft: #d9f6fd;
    --rbx-blue: #0a6fd1;
    --rbx-blue-soft: #e1eefb;
    --rbx-navy: #2a3a55;
    --rbx-red: #e2231a;
    --rbx-red-soft: #fde6e4;
    --rbx-wood: #8a6440;
    --rbx-cyan-light: #8beeff;
    --rbx-red-light: #ff6b5e;
    --rbx-slab-2: #3f5577;
    --rbx-slab-3: #5d7395;
    --rbx-slab-4: #8195b2;
    --rbx-slab-5: #a9b8cc;
    --rbx-sky-top: #bfe6ff;
    --rbx-sky-low: #eef7fd;
    --rbx-prop-name: #cfe3f7;
    --rbx-prop-old: #f4a19c;
    --rbx-prop-new: #7fe3a5;
    --rbx-sea: #3fa9e6;
    --rbx-sand: #f3dfae;
    --rbx-grass: #5cc36b;
    --rbx-leaf: #2f9e57;
    --rbx-sail: #fff7e8;
    --rbx-pick: #fff6d6;
    --rbx-pick-line: #e8b923;
    --rbx-glow: 0 0 10px rgba(47, 212, 245, .75);
    --rbx-shadow: 0 10px 28px rgba(26, 26, 26, .08);
}

/* ---- Skin on shared components ------------------------------------------ */
.rc-bp--roblox .rc-comp-hero { background: linear-gradient(180deg, var(--rbx-sky) 0%, var(--robbo-white) 100%); }
.rc-bp--roblox .rc-comp-hero-confetti { display: none; }
.rc-bp--roblox .rc-comp-hero-eyebrow { color: var(--robbo-white); background: var(--rbx-blue); }

/* ---- Shared bits ---------------------------------------------------------- */
.rc-rbx { padding: 56px 0; font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif; color: var(--robbo-coal); }
.rc-rbx *, .rc-rbx *::before, .rc-rbx *::after { box-sizing: border-box; }
.rc-rbx [hidden] { display: none !important; }
.rc-rbx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.rc-rbx-head { max-width: 800px; margin: 0 auto 28px; text-align: center; }
.rc-rbx-eyebrow {
    display: inline-block; padding: 6px 14px; font-size: var(--robbo-fs-badge); font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--robbo-white); background: var(--rbx-blue); border-radius: 6px;
    box-shadow: 0 4px 0 var(--rbx-navy);
}
.rc-rbx-h2 { font-family: 'Plakkaat', 'ProximaNova', sans-serif; font-weight: 500; font-size: 32px; line-height: 1.2; margin: 16px 0 10px; color: var(--robbo-black); }
.rc-rbx-lead { font-size: var(--robbo-fs-lg); line-height: 1.6; margin: 0; }
.rc-rbx-h3 { font-size: var(--robbo-fs-lg); font-weight: 800; line-height: 1.3; margin: 0 0 8px; color: var(--robbo-black); }
.rc-rbx-text { font-size: var(--robbo-fs-md); line-height: 1.55; margin: 0; }
.rc-rbx-label { display: block; font-size: var(--robbo-fs-md); font-weight: 800; margin: 0 0 10px; padding: 0; color: var(--robbo-black); }
.rc-rbx-ico { display: block; flex: 0 0 auto; }

.rc-rbx-btn {
    display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 11px 20px;
    font-size: var(--robbo-fs-md); font-weight: 800; line-height: 1.2; text-decoration: none; border-radius: 999px;
    transition: background .2s ease, border-color .2s ease;
}
.rc-rbx-btn--go { color: var(--robbo-white); background: var(--robbo-green); border: 2px solid var(--robbo-green); box-shadow: 0 8px 18px rgba(0, 150, 56, .22); }
.rc-rbx-btn--go:hover, .rc-rbx-btn--go:focus { color: var(--robbo-white); background: var(--robbo-green-dark); border-color: var(--robbo-green-dark); }
.rc-rbx-btn:focus-visible, .rc-rbx-fixbtn:focus-visible, .rc-rbx-chip input:focus-visible + span { outline: 3px solid var(--robbo-green-dark); outline-offset: 2px; }

/* ---- Programme: Finder ---------------------------------------------------- */
.rc-rbx-prog { background: linear-gradient(180deg, var(--robbo-white) 0%, var(--rbx-sky-2) 100%); }
.rc-rbx-finder {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); max-width: 1080px; margin: 0 auto 28px;
    background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 22px; box-shadow: var(--rbx-shadow); overflow: hidden;
}
.rc-rbx-finder-q { padding: 24px; background: var(--rbx-sky); }
.rc-rbx-finder-title { font-size: var(--robbo-fs-badge); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--rbx-blue); margin: 0 0 16px; }
.rc-rbx-qnum {
    display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 8px;
    font-size: var(--robbo-fs-sm); font-weight: 800; color: var(--robbo-white); background: var(--rbx-blue); border-radius: 50%; vertical-align: 1px;
}
.rc-rbx-select {
    display: block; width: 100%; min-height: 46px; padding: 10px 14px; font-family: inherit; font-size: var(--robbo-fs-base);
    color: var(--robbo-black); background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 10px;
}
.rc-rbx-select:focus-visible { outline: 3px solid var(--robbo-green-dark); outline-offset: 2px; }
.rc-rbx-finder-a { padding: 24px; display: flex; align-items: stretch; min-width: 0; }
.rc-rbx-idle { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px; border: 2px dashed var(--robbo-line); border-radius: 16px; }
.rc-rbx-idle-big { font-size: var(--robbo-fs-lg); font-weight: 800; color: var(--robbo-black); margin: 0 0 6px; }
.rc-rbx-idle-small { font-size: var(--robbo-fs-md); line-height: 1.5; margin: 0; max-width: 360px; }
.rc-rbx-pick { flex: 1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: start; min-width: 0; }
.rc-rbx-pick-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rbx-sky); }
.rc-rbx-pick-media .rc-rbx-scene { width: 100%; height: 100%; }
.rc-rbx-pick-body { min-width: 0; }
.rc-rbx-pick-for {
    display: inline-block; margin: 0 0 8px; padding: 4px 10px; font-size: var(--robbo-fs-badge); font-weight: 800; letter-spacing: 1px;
    text-transform: uppercase; color: var(--robbo-black); background: var(--rbx-pick); border: 1px solid var(--rbx-pick-line); border-radius: 999px;
}
.rc-rbx-pick-title { font-size: var(--robbo-fs-lg); font-weight: 800; line-height: 1.3; color: var(--robbo-black); margin: 0 0 6px; }
.rc-rbx-pick-text { font-size: var(--robbo-fs-md); line-height: 1.5; margin: 0 0 14px; }
.rc-rbx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rc-rbx-btn--ghost { color: var(--robbo-black); background: var(--robbo-white); border: 2px solid var(--robbo-line); }
.rc-rbx-btn--ghost:hover, .rc-rbx-btn--ghost:focus { color: var(--robbo-black); border-color: var(--rbx-blue); }
.rc-rbx-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; font-size: var(--robbo-fs-md); }
.rc-rbx-more span { font-weight: 700; }
.rc-rbx-more button {
    min-height: 40px; padding: 8px 14px; font-family: inherit; font-size: var(--robbo-fs-md); font-weight: 700; cursor: pointer;
    color: var(--rbx-blue); background: var(--rbx-blue-soft); border: 0; border-radius: 999px;
}
.rc-rbx-more button:hover { background: var(--rbx-cyan-soft); }
.rc-rbx-more button:focus-visible { outline: 3px solid var(--robbo-green-dark); outline-offset: 2px; }

/* ---- Programme: cards ----------------------------------------------------- */
.rc-rbx-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rc-rbx-card {
    display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden;
    background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 18px; box-shadow: var(--rbx-shadow);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rc-rbx-card:hover { transform: translateY(-2px); }
.rc-rbx-card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--rbx-sky); }
.rc-rbx-scene { display: block; width: 100%; height: 100%; transition: filter .2s ease, opacity .2s ease; }
.rc-rbx-scene .sx-sky { fill: var(--rbx-sky); }
.rc-rbx-scene .sx-sea { fill: var(--rbx-sea); }
.rc-rbx-scene .sx-sand { fill: var(--rbx-sand); }
.rc-rbx-scene .sx-grass, .rc-rbx-scene .sx-meadow { fill: var(--rbx-grass); }
.rc-rbx-scene .sx-leaf, .rc-rbx-scene .sx-leafc { fill: var(--rbx-leaf); }
.rc-rbx-scene .sx-wood, .rc-rbx-scene .sx-hull, .rc-rbx-scene .sx-log, .rc-rbx-scene .sx-tree, .rc-rbx-scene .sx-door { fill: var(--rbx-wood); }
.rc-rbx-scene .sx-sail { fill: var(--rbx-sail); }
.rc-rbx-scene .sx-pad { fill: var(--rbx-cyan); }
.rc-rbx-scene .sx-slab { fill: var(--rbx-navy); }
.rc-rbx-scene .sx-slab--b { fill: var(--rbx-slab-2); }
.rc-rbx-scene .sx-slab--c { fill: var(--rbx-slab-3); }
.rc-rbx-scene .sx-slab--d { fill: var(--rbx-slab-4); }
.rc-rbx-scene .sx-slab--e { fill: var(--rbx-slab-5); }
.rc-rbx-scene .sx-ring { fill: none; stroke: var(--robbo-white); stroke-width: 5; }
.rc-rbx-scene .sx-house { fill: var(--rbx-red-light); }
.rc-rbx-scene .sx-block { fill: var(--rbx-cyan); }
.rc-rbx-scene .sx-block--b { fill: var(--rbx-blue); }
.rc-rbx-scene .sx-mate { fill: var(--rbx-navy); }
.rc-rbx-scene .sx-mate--b { fill: var(--rbx-blue); }
.rc-rbx-scene .sx-mate--c { fill: var(--rbx-red); }
.rc-rbx-age, .rc-rbx-flag { position: absolute; border-radius: 999px; line-height: 1.3; box-shadow: 0 2px 8px rgba(26, 26, 26, .15); }
.rc-rbx-age { left: 12px; bottom: 12px; padding: 5px 12px; font-size: var(--robbo-fs-md); font-weight: 800; color: var(--robbo-black); background: var(--robbo-white); }
.rc-rbx-flag { left: 12px; top: 12px; padding: 5px 12px; font-size: var(--robbo-fs-md); font-weight: 800; color: var(--robbo-green-dark); background: var(--robbo-white); }
.rc-rbx-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px 20px 20px; }
.rc-rbx-exp { margin: 0 0 6px; font-size: var(--robbo-fs-badge); font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--rbx-blue); }
.rc-rbx-card .rc-rbx-text { margin: 0 0 10px; }
.rc-rbx-high { position: relative; margin: 0 0 14px; padding-left: 18px; font-size: var(--robbo-fs-md); font-weight: 700; line-height: 1.45; color: var(--robbo-black); }
.rc-rbx-high::before { content: ''; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--rbx-cyan); box-shadow: var(--rbx-glow); }
.rc-rbx-link { margin-top: auto; align-self: flex-start; font-size: var(--robbo-fs-md); font-weight: 800; color: var(--robbo-green-dark); text-decoration: none; }
.rc-rbx-link:hover, .rc-rbx-link:focus { text-decoration: underline; color: var(--robbo-green-dark); }
.rc-rbx-card.is-pick { border: 2px solid var(--rbx-pick-line); box-shadow: 0 14px 32px rgba(232, 185, 35, .25); }
.rc-rbx-card.is-pick .rc-rbx-flag { color: var(--robbo-black); background: var(--rbx-pick); }
.rc-rbx-card.is-out .rc-rbx-scene { filter: grayscale(1); opacity: .55; }
.rc-rbx-card.is-out .rc-rbx-flag { color: var(--robbo-coal); }
.rc-rbx-note { max-width: 800px; margin: 22px auto 0; text-align: center; font-size: var(--robbo-fs-md); line-height: 1.55; }

/* ---- Level: progress ------------------------------------------------------ */
.rc-rbx-sec { background: linear-gradient(180deg, var(--robbo-white) 0%, var(--rbx-sky-2) 100%); }
.rc-rbx-progress { max-width: 560px; margin: 0 auto 24px; text-align: center; }
.rc-rbx-progress-text { font-size: var(--robbo-fs-base); font-weight: 700; margin: 0 0 10px; color: var(--robbo-black); }
.rc-rbx-progress-text strong { color: var(--rbx-blue); }
.rc-rbx-meter { display: block; height: 12px; background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 999px; overflow: hidden; }
.rc-rbx-meter-fill { display: block; width: 0; height: 100%; background: var(--robbo-green); border-radius: 999px; transition: width .4s ease; }

/* ---- Level: stations ------------------------------------------------------ */
.rc-rbx-stations { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.rc-rbx-st {
    display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden;
    background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 18px; box-shadow: var(--rbx-shadow);
    transition: border-color .3s ease, box-shadow .3s ease;
}
.rc-rbx-st.is-fixed { border-color: var(--robbo-green); box-shadow: 0 0 0 1px var(--robbo-green), var(--rbx-shadow); }
.rc-rbx-st-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.rc-rbx-st-num {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-right: 10px;
    font-size: var(--robbo-fs-base); font-weight: 800; color: var(--robbo-white); background: var(--rbx-navy); border-radius: 7px; vertical-align: 2px;
}
.rc-rbx-broken, .rc-rbx-fix { font-size: var(--robbo-fs-md); line-height: 1.55; margin: 0 0 10px; }
.rc-rbx-tag {
    display: inline-block; padding: 2px 8px; margin-right: 2px; font-size: var(--robbo-fs-badge); font-weight: 800; letter-spacing: .8px;
    text-transform: uppercase; border-radius: 6px; vertical-align: 1px;
}
.rc-rbx-tag--bad { color: var(--rbx-red); background: var(--rbx-red-soft); }
.rc-rbx-tag--tool { color: var(--rbx-blue); background: var(--rbx-blue-soft); }
.rc-rbx-st.is-fixed .rc-rbx-broken { opacity: .55; }

/* Changed values as rows of the Properties window. */
.rc-rbx-props { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rc-rbx-prop {
    display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 5px 10px; font-size: var(--robbo-fs-md); font-weight: 700;
    color: var(--robbo-white); background: var(--robbo-coal); border-radius: 8px; font-variant-numeric: tabular-nums;
}
.rc-rbx-prop-name { color: var(--rbx-prop-name); }
.rc-rbx-prop-old { color: var(--rbx-prop-old); }
.rc-rbx-prop-new { color: var(--rbx-prop-new); }

.rc-rbx-fixbtn {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px;
    font-family: inherit; font-size: var(--robbo-fs-md); font-weight: 800; line-height: 1.2; cursor: pointer;
    color: var(--robbo-white); background: var(--rbx-blue); border: 2px solid var(--rbx-blue); border-radius: 999px;
    box-shadow: 0 4px 0 var(--rbx-navy); transition: background .2s ease, transform .1s ease, box-shadow .1s ease;
}
.rc-rbx-fixbtn:hover { background: var(--rbx-navy); border-color: var(--rbx-navy); }
.rc-rbx-fixbtn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--rbx-navy); }
.rc-rbx-fixbtn .rc-rbx-ico { width: 18px; height: 18px; }
.rc-rbx-fixbtn-on { display: none; align-items: center; gap: 6px; }
.rc-rbx-fixbtn[aria-pressed="true"] { color: var(--robbo-green-dark); background: var(--robbo-white); border-color: var(--robbo-green); box-shadow: none; }
.rc-rbx-fixbtn[aria-pressed="true"] .rc-rbx-fixbtn-off { display: none; }
.rc-rbx-fixbtn[aria-pressed="true"] .rc-rbx-fixbtn-on { display: inline-flex; }

/* ---- Level: illustrations ------------------------------------------------- */
.rc-rbx-stage { position: relative; height: 150px; overflow: hidden; background: linear-gradient(180deg, var(--rbx-sky-top) 0%, var(--rbx-sky) 70%, var(--rbx-sky-low) 100%); }
.rbx-badge {
    position: absolute; top: 10px; right: 10px; padding: 4px 9px; font-size: var(--robbo-fs-badge); font-weight: 800; letter-spacing: .8px;
    text-transform: uppercase; border-radius: 999px; box-shadow: 0 2px 6px rgba(26, 26, 26, .12);
}
.rbx-badge--bad { color: var(--rbx-red); background: var(--robbo-white); }
.rbx-badge--ok { display: none; color: var(--robbo-white); background: var(--robbo-green); }
.rc-rbx-sec.is-live .is-fixed .rbx-badge--bad { display: none; }
.rc-rbx-sec.is-live .is-fixed .rbx-badge--ok { display: inline-block; }
/* Without JS the stage shows the broken state with the fix written next to it. */
.rc-rbx-sec:not(.is-live) .rbx-badge { display: none; }

.rbx-pad, .rbx-tile, .rbx-path {
    position: absolute; top: 50%; height: 26px; margin-top: -13px; border-radius: 5px;
    background: linear-gradient(180deg, var(--rbx-cyan-light) 0%, var(--rbx-cyan) 100%); box-shadow: var(--rbx-glow);
}
.rbx-pad { width: 18%; }
.rbx-pad--l { left: 0; border-radius: 0 5px 5px 0; }
.rbx-pad--r { right: 0; border-radius: 5px 0 0 5px; }
.rbx-path { left: 0; right: 0; height: 20px; margin-top: -10px; border-radius: 0; opacity: .85; }
.rbx-path--split { top: 82%; }
.rbx-row { position: absolute; left: 21%; right: 21%; top: 50%; height: 26px; margin-top: -13px; display: flex; gap: 3px; }
.rbx-row--gap { gap: 10px; }

/* 1 Treppe: slabs scattered → one row. */
.rbx-slab { flex: 1; height: 100%; border-radius: 3px; background: var(--rbx-navy); transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .7s cubic-bezier(.3, 1.4, .5, 1); }
.rbx-slab:nth-child(2) { background: var(--rbx-slab-2); }
.rbx-slab:nth-child(3) { background: var(--rbx-slab-3); }
.rbx-slab:nth-child(4) { background: var(--rbx-slab-4); }
.rbx-slab:nth-child(5) { background: var(--rbx-slab-5); }
.is-fixed .rbx-slab { transform: none; }

/* 2 Sprungfelder: tiny → full size. */
.rbx-tile { position: static; flex: 1; margin: 0; height: 100%; transform: scale(.28); transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.is-fixed .rbx-tile { transform: none; }

/* 3 Explodierende Plattformen: vanish without warning → blink first. */
.rbx-row--boom { left: 12%; right: 12%; top: 50%; height: 44px; margin-top: -38px; gap: 0; justify-content: space-around; }
.rbx-boom { width: 16px; height: 44px; border-radius: 3px; background: var(--rbx-navy); animation: rbx-vanish 1.8s steps(1, end) infinite; animation-delay: calc(var(--i) * .3s); }
.is-fixed .rbx-boom { animation: rbx-blink 3.2s steps(1, end) infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes rbx-vanish { 0% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }
@keyframes rbx-blink { 0% { opacity: 1; } 40% { opacity: .15; } 46% { opacity: 1; } 52% { opacity: .15; } 58% { opacity: 1; } 64% { opacity: .15; } 70% { opacity: 0; } 90% { opacity: 1; } }

/* 4 Rotationsfalle: two bars spinning far too fast → slow. */
.rbx-trap { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; }
.rbx-bar { position: absolute; left: 0; top: 50%; width: 120px; height: 12px; margin-top: -6px; border-radius: 4px; background: var(--rbx-red); animation: rbx-spin .3s linear infinite; }
.rbx-bar--b { width: 96px; left: 12px; background: var(--rbx-red-light); animation-name: rbx-spin-rev; }
.rbx-post { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--rbx-wood); box-shadow: 0 0 0 4px rgba(138, 100, 64, .35); }
.is-fixed .rbx-bar { animation-duration: 2.4s; }
@keyframes rbx-spin { to { transform: rotate(360deg); } }
@keyframes rbx-spin-rev { to { transform: rotate(-360deg); } }

/* 5 Fliegende Ringe: rings 2 and 4 swing out of range → all within 10. */
.rbx-row--rings { left: 22%; right: 22%; justify-content: space-around; gap: 0; height: 40px; margin-top: -20px; }
.rbx-ring {
    --amp: 10px; width: 34px; height: 40px; border: 6px solid var(--robbo-white); border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, .9), inset 0 0 6px rgba(47, 212, 245, .6);
    animation: rbx-bob 2.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s);
}
.rbx-ring--off { --amp: 52px; animation-duration: 1.1s; }
.is-fixed .rbx-ring--off { --amp: 10px; animation-duration: 2.2s; }
@keyframes rbx-bob { 0%, 100% { transform: translateY(calc(var(--amp) * -1)); } 50% { transform: translateY(var(--amp)); } }

/* 6 Wasserrad: turns the wrong way → the other way. */
.rbx-wheel { position: absolute; left: 50%; top: 50%; width: 118px; height: 118px; margin: -59px 0 0 -59px; color: var(--rbx-wood); animation: rbx-spin-rev 5s linear infinite; }
.is-fixed .rbx-wheel { animation-name: rbx-spin; }
.rc-rbx-stage--rad .rbx-pad { top: 82%; }

/* ---- Level: final track --------------------------------------------------- */
.rc-rbx-run { margin: 28px 0 0; padding: 24px; background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 22px; box-shadow: var(--rbx-shadow); transition: opacity .3s ease; }
.rc-rbx-run-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 16px; }
.rc-rbx-run-head .rc-rbx-h3 { margin: 0; }
.rc-rbx-lock, .rc-rbx-done { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: var(--robbo-fs-md); font-weight: 700; }
.rc-rbx-lock { color: var(--robbo-coal); }
.rc-rbx-done { color: var(--robbo-green-dark); }
.rc-rbx-lock .rc-rbx-ico, .rc-rbx-done .rc-rbx-ico { width: 20px; height: 20px; }
.rc-rbx-run-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rc-rbx-run-item { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px; border-radius: 14px; background: var(--rbx-sky); }
.rc-rbx-run-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 40px; color: var(--robbo-white); background: var(--rbx-blue); border-radius: 10px; }
.rc-rbx-run-title { font-size: var(--robbo-fs-base); font-weight: 800; line-height: 1.3; margin: 0 0 4px; color: var(--robbo-black); }
.rc-rbx-run-text { font-size: var(--robbo-fs-md); line-height: 1.5; margin: 0; }
.rc-rbx-run-cta { text-align: center; margin: 20px 0 0; }
.rc-rbx-run.is-locked .rc-rbx-run-list { opacity: .5; filter: grayscale(.6); }
.rc-rbx-run.is-locked .rc-rbx-run-cta { display: none; }

/* ---- Ablauf --------------------------------------------------------------- */
.rc-rbx-ablauf { scroll-margin-top: 80px; background: var(--rbx-sky); }
.rc-rbx-tl { max-width: 980px; margin: 0 auto; padding: 24px; background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 22px; box-shadow: var(--rbx-shadow); }
.rc-rbx-field { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.rc-rbx-tl-controls { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin: 0 0 6px; }
.rc-rbx-set { margin: 0 0 8px; }
.rc-rbx-set-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rc-rbx-set-age { font-size: var(--robbo-fs-md); font-weight: 700; color: var(--rbx-blue); background: var(--rbx-blue-soft); padding: 2px 10px; border-radius: 999px; }
.rc-rbx-tl.is-live .rc-rbx-set-title { display: none; }
.rc-rbx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rc-rbx-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.rc-rbx-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rc-rbx-chip span {
    display: inline-block; min-width: 44px; min-height: 44px; padding: 11px 16px; text-align: center;
    font-size: var(--robbo-fs-md); font-weight: 700; line-height: 1.4; color: var(--robbo-coal);
    background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 10px;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.rc-rbx-chip:hover span { border-color: var(--rbx-blue); }
.rc-rbx-chip input:checked + span { color: var(--robbo-white); background: var(--rbx-blue); border-color: var(--rbx-blue); }

.rc-rbx-bar { display: flex; gap: 4px; min-height: 84px; }
.rc-rbx-bar-ws, .rc-rbx-bar-pr { min-width: 0; flex-basis: 0; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; justify-content: space-between; transition: flex-grow .35s ease; }
.rc-rbx-bar-ws { background: var(--rbx-blue); color: var(--robbo-white); }
.rc-rbx-bar-pr { background: var(--rbx-red); color: var(--robbo-white); }
.rc-rbx-bar-label { font-size: var(--robbo-fs-md); font-weight: 800; line-height: 1.2; margin: 0 0 8px; overflow-wrap: anywhere; hyphens: auto; }
.rc-rbx-blocks { display: flex; gap: 5px; }
.rc-rbx-block {
    flex: 1; display: flex; align-items: center; justify-content: center; height: 28px;
    font-size: var(--robbo-fs-md); font-weight: 800; color: var(--rbx-navy); background: var(--rbx-cyan-light); border-radius: 5px; box-shadow: var(--rbx-glow);
}
.rc-rbx-ticks { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 8px 0 24px; font-size: var(--robbo-fs-md); font-weight: 700; }

.rc-rbx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rc-rbx-step, .rc-rbx-party { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 14px; border-radius: 14px; background: var(--rbx-blue-soft); }
.rc-rbx-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rc-rbx-num {
    display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px;
    font-size: var(--robbo-fs-base); font-weight: 800; color: var(--rbx-navy); background: var(--rbx-cyan-light); border-radius: 8px;
}
.rc-rbx-num--party { color: var(--robbo-white); background: var(--rbx-red); }
.rc-rbx-step-title { font-size: var(--robbo-fs-base); font-weight: 800; line-height: 1.3; margin: 0 0 4px; color: var(--robbo-black); }
.rc-rbx-step-text { font-size: var(--robbo-fs-md); line-height: 1.5; margin: 0; }
.rc-rbx-party { margin-top: 12px; background: var(--rbx-red-soft); }
.rc-rbx-tl-cta { text-align: center; margin: 24px 0 0; }

/* ---- Gut zu wissen -------------------------------------------------------- */
.rc-rbx-facts { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rc-rbx-fact { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 18px; background: var(--robbo-white); border: 1px solid var(--robbo-line); border-radius: 16px; box-shadow: var(--rbx-shadow); }
.rc-rbx-fact-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; color: var(--rbx-blue); background: var(--rbx-blue-soft); border-radius: 12px; }
.rc-rbx-fact .rc-rbx-h3 { font-size: var(--robbo-fs-base); margin: 2px 0 6px; }

.rc-rbx-legal { max-width: 1180px; margin: 0 auto; padding: 18px 24px 32px; box-sizing: border-box; font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif; font-size: var(--robbo-fs-legal); line-height: 1.5; color: var(--robbo-grey); text-align: center; }

@media (max-width: 999px) {
    .rc-rbx-finder { grid-template-columns: minmax(0, 1fr); }
    .rc-rbx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-rbx-tl-controls { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .rc-rbx-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rc-rbx-run-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
    .rc-rbx { padding: 40px 0; }
    .rc-rbx-wrap { padding: 0 16px; }
    .rc-rbx-h2 { font-size: 26px; }
    .rc-rbx-lead { font-size: var(--robbo-fs-base); }
    /* Stations swipe sideways; the next card peeks in. */
    .rc-rbx-stations { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 12px; scroll-padding: 0 16px; }
    .rc-rbx-st { flex: 0 0 86%; scroll-snap-align: start; }
    .rc-rbx-stage { height: 128px; }
    .rc-rbx-run { padding: 16px; }
    .rc-rbx-run-list, .rc-rbx-steps, .rc-rbx-facts, .rc-rbx-cards { grid-template-columns: minmax(0, 1fr); }
    .rc-rbx-finder-q, .rc-rbx-finder-a { padding: 18px; }
    .rc-rbx-pick { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .rc-rbx-pick-media { aspect-ratio: 16 / 9; }
    .rc-rbx-tl { padding: 16px; }
    .rc-rbx-ticks span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .rbx-boom, .rbx-bar, .rbx-ring, .rbx-wheel { animation: none !important; }
    .rc-rbx-card:hover { transform: none; }
    .rc-rbx-card, .rc-rbx-scene, .rbx-slab, .rbx-tile, .rc-rbx-meter-fill, .rc-rbx-bar-ws, .rc-rbx-bar-pr, .rc-rbx-st, .rc-rbx-chip span, .rc-rbx-btn, .rc-rbx-fixbtn, .rc-rbx-run { transition: none !important; }
    .rbx-ring--off { transform: translateY(-30px); }
    .is-fixed .rbx-ring--off { transform: none; }
}
