/* Rhythmusdiktat */
.rf-diktat .rfw__gruppe:has(input[name="rf-takt"]) .rfw__optionen { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-diktat .rfw__gruppe:has(input[name="rf-takt"]) .rfw__option > span { min-height: 0; width: 64px; padding: 7px 4px; border-radius: 10px; }
.rf-diktat .rfw__gruppe:has(input[name="rf-takt"]) .rfw__option strong { font-size: 1.15rem; }
.rf-diktat .rfw__gruppe:has(input[name="rf-takt"]) .rfw__option small { display: none; }
.rf-diktat .rf-schalter.is-aus { opacity: .45; cursor: not-allowed; }
.rf-diktat [data-pro] { position: relative; }
.rf-diktat .rfw__option[data-pro]::after, .rf-diktat .rf-schalter[data-pro]::after { content: "App"; position: absolute; top: -6px; right: -4px; background: #002c5d; color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .03em; padding: 1px 5px; border-radius: 6px; line-height: 1.4; }
.rf-diktat .rf-schalter[data-pro]::after { position: static; display: inline-block; margin-left: 8px; vertical-align: middle; }
.rf-diktat__frei-hinweis { font-size: .9rem; color: #4a5a70; margin: 14px 0 0; }
.rf-diktat__noten .rf-diktat__takt { cursor: inherit; transition: fill .15s; }
.rf-diktat__noten .rf-diktat__takt.is-ziel { fill: rgba(10, 149, 31, .14) !important; stroke: #0a951f; stroke-width: 1.5; stroke-dasharray: 6 4; }
.rfv .rf-diktat__noten .rf-diktat__baustein { cursor: pointer; }
.rf-diktat__bausteine, .rf-diktat__pruefen, .rf-diktat__ergebnis { display: none; }
.rf-diktat.ist-bereit .rf-diktat__bausteine, .rfv .rf-diktat__bausteine { display: block; margin: 12px 0 0; }
.rf-diktat.ist-bereit .rf-diktat__pruefen, .rfv .rf-diktat__pruefen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; }
.rf-diktat.ist-bereit .rf-diktat__ergebnis { display: block; }
.rf-diktat__hinweis { font-size: .88rem; color: #4a5a70; margin: 0 0 8px !important; }
.rfv .rf-diktat__hinweis { display: none; }
.rf-diktat__leiste { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-diktat__teil { width: 64px; height: 64px; padding: 4px; border: 2px solid #002c5d; border-radius: 12px; background: #fff; color: #002c5d; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 2px 0 #002c5d; }
.rf-diktat__teil:active { cursor: grabbing; }
.rf-diktat__teil svg { width: 100%; height: 100%; display: block; pointer-events: none; }
.rf-diktat__geist { position: fixed; z-index: 100100; pointer-events: none; opacity: .85; box-shadow: 0 8px 18px rgba(0, 30, 60, .3); transform: scale(1.06); }
.rf-diktat__info { font-size: .9rem; font-weight: 700; color: #002c5d; flex-basis: 100%; min-height: 1.2em; }
.rfv .rfv__fuss .rf-diktat__bausteine, .rfv .rfv__fuss .rf-diktat__pruefen { max-width: 900px; margin: 0 auto 10px !important; }
.rfv .rfv__fuss .rf-diktat__leiste { justify-content: center; }
.rfv .rfv__fuss .rf-diktat__pruefen { justify-content: center; }
.rfv .rfv__fuss .rf-diktat__info { text-align: center; }
@media (max-width: 480px) {
	.rf-diktat__teil { width: 54px; height: 54px; border-radius: 10px; }
	.rfv .rf-diktat__pruefen .rf-button { padding: 8px 12px; font-size: .85rem; }
}
/* „Neue Übung“ nur in der großen Ansicht (rechts neben „Leeren“) */
.rf-diktat__neu { display: none !important; }
.rfv .rf-diktat__neu { display: inline-flex !important; }
/* Ein- und Ausblenden der Übung */
.rf-blende-aus { opacity: 0 !important; transition: opacity .25s ease; }
.rf-blende-ein { animation: rf-diktat-ein .42s ease both; }
@keyframes rf-diktat-ein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rf-blende-aus { transition: none; } .rf-blende-ein { animation: none; } }
/* Takte auszählen */
.rf-az__silbe { font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; font-size: 1.7rem; font-weight: 800; line-height: 1; }
.rf-az-slot rect { fill: #fff; stroke: #8aa0b8; stroke-width: 1.2; stroke-dasharray: 4 3; }
.rf-az-slot { cursor: pointer; }
.rf-az-slot text { fill: #1a5fb4; font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; font-weight: 800; pointer-events: none; }
.rf-az-slot.is-aktiv rect { stroke: #de2a29; stroke-width: 1.8; fill: rgba(222, 42, 41, .06); }
.rf-az-slot.is-voll rect { stroke-dasharray: none; stroke: #b8c6d6; }
.rf-az-slot.is-ziel rect { stroke: #0a951f; stroke-width: 2; fill: rgba(10, 149, 31, .12); }
.rf-az-slot.is-richtig rect { stroke: #0a951f; fill: rgba(10, 149, 31, .14); stroke-dasharray: none; }
.rf-az-slot.is-richtig text { fill: #0a951f; }
.rf-az-slot.is-falsch rect { stroke: #de2a29; fill: rgba(222, 42, 41, .12); stroke-dasharray: none; }
.rf-az-slot.is-falsch text { fill: #de2a29; }
.rf-az-slot.is-loesung text { fill: #0a951f; }
.rf-az .rf-rhythmus__feld.rfv-zoom svg, .rfv .rf-az__noten { cursor: zoom-in; }
.rfv .rf-az__noten { cursor: default; }
/* Sterne in der Kurzmeldung wie im Ergebnis */
.rf-diktat__sterne { display: inline-flex; align-items: center; gap: 1px; font-size: 1.15em; vertical-align: -1px; color: var(--rfw-linie, #d5e9cd); }
.rf-diktat__sterne .is-an { color: #f5b301; }
.rf-diktat__sterne .rf-erfolg__krone { width: 1.3em; height: auto; margin-left: 3px; }
.rfv .rf-az__noten { touch-action: none; }
.rf-az__noten .rf-az-strich { fill: #002c5d; font-family: "Source Sans 3", "Source Sans Pro", Arial, sans-serif; font-weight: 800; }
