/* Existing game materials remain authoritative; German copy can wrap naturally. */
[data-german-authored="true"] :is(input,select,textarea,button) { font:inherit; min-height:44px; max-width:100%; box-sizing:border-box; }
[data-german-authored="true"] :is(p,label,button,h2,h3,h4,a) { overflow-wrap:anywhere; }
[data-german-authored="true"] label { display:block; margin-block:1rem .4rem; }
[data-german-authored="true"] label select { display:block; width:100%; margin-block-start:.5rem; padding:.65rem; }
[data-german-authored="true"] .mini-options { flex-wrap:wrap; }
[data-german-authored="true"] .mini-options button { white-space:normal; }
[data-german-authored="true"] #de-month-case { width:100%; }
[data-german-authored="true"] [hidden] { display:none!important; }
[data-german-authored="true"] :is(button,select,input,textarea,a):focus-visible { outline:3px solid var(--bh-accent); outline-offset:3px; }
@media(max-width:540px){ [data-german-authored="true"] :is(.mini-options,.ool-actions) { display:flex; flex-direction:column; } [data-german-authored="true"] :is(.mini-options,.ool-actions)>* { width:100%; } }

@media(max-width:540px){ html[lang="de"] [data-german-authored="true"] .ool-membership { grid-template-columns:repeat(2,minmax(0,1fr)); } }

[data-german-authored="true"] .authored-first-action { margin-block:.75rem; max-width:65ch; color:var(--bh-ink, #17243a); }
[data-german-authored="true"] .authored-other-task { margin-block:1.25rem .5rem; }
[data-german-authored="true"] .authored-other-task summary { min-height:44px; cursor:pointer; padding-block:.5rem; }
[data-german-authored="true"] .authored-own-next { display:inline-block; margin-block:1rem .5rem; }
[data-german-authored="true"] #mb-first-action + form #mb-answer { width:min(100%, 28rem); }
[data-german-authored="true"] #fp-first-action ~ select { width:100%; }
[data-german-authored="true"] :is(#mb-panel,#fp-panel) .authored-other-task a { margin-block:.5rem; }

[data-german-authored="true"] :is(#mb-panel,#fp-panel) .authored-secondary { color:var(--bh-accent); background:transparent; border:1px solid var(--bh-line); }
[data-german-authored="true"] :is(#mb-panel,#fp-panel) .authored-own-next { color:white; background:var(--bh-accent); padding:.75rem 1rem; border-radius:8px; text-decoration:none; }

[data-german-authored="true"] .authored-invitation { margin-block:1.5rem; padding-block-start:1.25rem; border-top:1px solid var(--bh-line, #cbd5df); }
[data-german-authored="true"] .authored-invitation textarea { display:block; width:100%; padding:.75rem; line-height:1.5; resize:vertical; color:var(--bh-ink, #17243a); background:white; border:1px solid var(--bh-line, #cbd5df); }
[data-german-authored="true"] .authored-invitation > a { display:inline-block; margin-block:1rem; }
[data-german-authored="true"] .authored-invitation button { white-space:normal; }

/* Return cues stay in the existing authored palette and do not compete with play. */
[data-german-authored] .authored-return {
    max-width: 70ch;
    margin-block: 1rem 1.25rem;
    padding-block: .85rem;
    border-block: 1px solid currentColor;
    font-size: .94rem;
    line-height: 1.6;
}
[data-german-authored] [id$="-retry"] { margin-block: .5rem 1rem; }
\n[data-german-authored] .authored-return > p { margin-block: 0 .35rem; }\n[data-german-authored] .authored-return details > p { margin-block: .65rem .2rem; }\n[data-german-authored] .authored-return summary { cursor: pointer; text-underline-offset: .2em; }\n