/* Contact draft 15: native JetFormBuilder 47 stays intact. No progress fiction or JS. */
.fm-games-page .fm-contact-page { max-width: none; }
.fm-games-page .fm-contact-head { max-width: 790px; margin-bottom: 30px; }
.fm-games-page .fm-contact-head p { max-width: 680px; line-height: 1.75; }
.fm-games-page .fm-briefing-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 24px; align-items: start; }
.fm-games-page .fm-briefing-layout > * { min-width: 0; }
.fm-games-page .fm-clan .fm-briefing-panel { margin: 0; overflow: hidden; }
.fm-games-page .fm-contact-page .fm-briefing-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top:0; }
.fm-games-page .fm-briefing-code { font: 10px/1.4 Consolas,monospace; letter-spacing: .1em; color: #c5afd9; white-space: nowrap; }
.fm-games-page .fm-briefing-body { padding: 28px; }
.fm-games-page .fm-clan .fm-briefing-body > h2 { margin: 0 0 10px; font-size: 32px; }
.fm-games-page .fm-clan .fm-briefing-help { color: #bab5c5; font-size: 14px; line-height: 1.65; margin: 0 0 26px; }
.fm-games-page .fm-briefing-form { width: 100%; max-width: none; }
.fm-games-page .fm-briefing-form .jet-form-builder { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 20px; row-gap: 22px; }
.fm-games-page .fm-briefing-form .jet-form-builder-row { display:block; width:auto; min-width:0; grid-column:1 / -1; margin:0; }
.fm-games-page .fm-briefing-form .jet-form-builder-row:has([name="fm_name"]),
.fm-games-page .fm-briefing-form .jet-form-builder-row:has([name="fm_email"]) { grid-column: auto; }
.fm-games-page .fm-briefing-form .jet-form-builder-messages-wrap { grid-column: 1 / -1; }
.fm-games-page .fm-briefing-form .jet-form-builder-messages-wrap:empty { display: none; }
.fm-games-page .fm-briefing-form .jet-form-builder__label { display: block; color: #f4f1e9; font-size: 14px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.fm-games-page .fm-briefing-form .jet-form-builder__required { color: #c5a0f4; }
.fm-games-page .fm-briefing-form .jet-form-builder__field-wrap { min-width: 0; }
.fm-games-page .fm-briefing-form input:not([type="radio"]):not([type="hidden"]),
.fm-games-page .fm-briefing-form textarea {
  box-sizing: border-box; width: 100%; max-width: 100%; min-height: 50px;
  padding: 13px 14px; background: linear-gradient(#101016,#17151e);
  color: #f4f1e9; border: 1px solid #95869f; border-radius: 2px;
  box-shadow: inset 0 2px 4px #00000030,0 1px #ffffff08;
  font: 16px/1.5 Arial,sans-serif;
}
.fm-games-page .fm-briefing-form textarea { min-height: 172px; resize: vertical; }
.fm-games-page .fm-briefing-form input:not([type="radio"]):not([type="hidden"]):focus,
.fm-games-page .fm-briefing-form textarea:focus { outline: 2px solid #cba5ff; outline-offset: 2px; border-color: #cba5ff; background: #1b1723; }
.fm-games-page .fm-briefing-form .jet-form-builder__fields-group.checkradio-wrap {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px;
  padding: 0; border: 0; margin: 0; background: none;
}
.fm-games-page .fm-briefing-form .jet-form-builder__field-wrap.radio-wrap {
  margin: 0; padding: 0; border: 1px solid #95869f; border-radius: 2px;
  background: linear-gradient(140deg,#292430,#1c1a22); box-shadow: inset 0 1px #ffffff09;
}
.fm-games-page .fm-briefing-form .jet-form-builder__field-wrap.radio-wrap:has(input:checked) {
  border-color: #b58ce6; background: linear-gradient(140deg,#40304f,#282032);
  box-shadow: inset 0 3px #bd94ee,inset 0 1px #ffffff16;
}
.fm-games-page .fm-briefing-form .jet-form-builder__field-label.for-radio {
  box-sizing: border-box; display: flex; align-items: flex-start; gap: 9px;
  width: 100%; min-height: 96px; height: 100%; margin: 0; padding: 17px 11px 13px;
  color: #f4f1e9; font: 13px/1.55 Arial,sans-serif; cursor: pointer;
}
.fm-games-page .fm-briefing-form input[type="radio"] { flex: 0 0 17px; appearance: auto; width: 17px; height: 17px; min-width: 17px; margin: 2px 0 0; accent-color: #c69bf6; }
.fm-games-page .fm-briefing-form input[type="radio"]:focus-visible { outline: 2px solid #eadbff; outline-offset: 4px; }
.fm-games-page .fm-briefing-form .radio-wrap:focus-within { outline: 2px solid #cba5ff; outline-offset: 3px; }
.fm-games-page .fm-briefing-form .jet-form-builder__desc { color: #bab5c5; font-size: 13px; line-height: 1.6; margin-top: 10px; }
.fm-games-page .fm-briefing-form .jet-form-builder__desc small { font-size: inherit; }
.fm-games-page .fm-briefing-form .field-type-submit-field { padding-top: 2px; }
.fm-games-page .fm-briefing-form .jet-form-builder__submit {
  display: inline-flex; gap: 18px; align-items: center; justify-content: center; min-height: 50px;
  border: 1px solid #b48bdf; border-radius: 2px; padding: 13px 22px;
  background: linear-gradient(#8a49d7,#7431c2 48%,#6828b5 49%,#6025a8);
  box-shadow: inset 0 1px #e3c7ff66,inset 0 -2px #3c155f,0 2px #08090c;
  font: 700 15px/1.4 Arial,sans-serif; color: #fff; cursor: pointer;
}
.fm-games-page .fm-briefing-form .jet-form-builder__submit::after { content: '\2192'; font-size: 20px; line-height: 1; }
.fm-games-page .fm-briefing-form .jet-form-builder__submit:focus-visible { outline: 3px solid #e3c9ff; outline-offset: 4px; }
.fm-games-page .fm-briefing-form .jet-form-builder__submit:disabled { opacity: .65; cursor: wait; }
.fm-games-page .fm-briefing-form .field-error { color: #ffc0cd; font-size: 13px; line-height: 1.5; margin-top: 8px; }
.fm-games-page .fm-briefing-form .jet-form-builder-message { background: #292232; border: 1px solid #9e7cb9; border-left-width: 3px; color: #f4f1e9; line-height: 1.6; }
.fm-games-page .fm-briefing-privacy { margin-top: 22px; padding-top: 17px; border-top: 1px solid #ffffff12; }
.fm-games-page .fm-briefing-privacy a { font-size: 13px; }
.fm-games-page .fm-briefing-notes { display: grid; gap: 20px; }
.fm-games-page .fm-briefing-note { padding: 22px; border: 1px solid #45404f; border-top: 2px solid #79628e; background: linear-gradient(135deg,#201d28,#14151b); }
.fm-games-page .fm-briefing-kicker { display: block; color: #c0a7d6; font: 10px/1.5 Consolas,monospace; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; }
.fm-games-page .fm-clan .fm-briefing-note h2 { font-size: 25px; margin: 0 0 12px; }
.fm-games-page .fm-clan .fm-briefing-note p { color: #bdb8c8; font-size: 14px; line-height: 1.7; margin: 0; }
.fm-games-page .fm-clan .fm-briefing-prompts { list-style: none; padding: 0; margin: 19px 0 0; }
.fm-games-page .fm-briefing-prompts li { padding: 10px 0 10px 16px; margin: 0; border-top: 1px solid #ffffff10; position: relative; color: #d3ccdd; font-size: 13px; line-height: 1.5; }
.fm-games-page .fm-briefing-prompts li::before { content: '+'; position: absolute; left: 0; color: #ba8de9; font: 14px/1.5 Consolas,monospace; }
.fm-games-page .fm-briefing-email { display: inline-block; overflow-wrap: anywhere; margin-top: 14px; font-size: 13px; }
@media (max-width: 1024px) {
  .fm-games-page .fm-briefing-layout { grid-template-columns: minmax(0,1fr); }
  .fm-games-page .fm-briefing-notes { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .fm-games-page .fm-briefing-form .jet-form-builder__field-label.for-radio { min-height: 74px; align-items: center; }
}
@media (max-width: 600px) {
  .fm-games-page .fm-briefing-layout { gap: 20px; }
  .fm-games-page .fm-briefing-body { padding: 20px 16px; }
  .fm-games-page .fm-clan .fm-briefing-body > h2 { font-size: 28px; }
  .fm-games-page .fm-briefing-code { font-size: 9px; letter-spacing: .04em; }
  .fm-games-page .fm-briefing-form .jet-form-builder { grid-template-columns: minmax(0,1fr); row-gap: 20px; }
  .fm-games-page .fm-briefing-form .jet-form-builder__fields-group.checkradio-wrap { grid-template-columns: minmax(0,1fr); }
  .fm-games-page .fm-briefing-form .jet-form-builder__field-label.for-radio { min-height: 55px; padding: 14px; font-size: 14px; }
  .fm-games-page .fm-briefing-form .jet-form-builder__field-wrap.radio-wrap:has(input:checked) { box-shadow: inset 3px 0 #bd94ee; }
  .fm-games-page .fm-briefing-form textarea { min-height: 150px; }
  .fm-games-page .fm-briefing-form .jet-form-builder__submit { width: 100%; justify-content: space-between; }
  .fm-games-page .fm-briefing-notes { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .fm-games-page .fm-briefing-note { padding: 20px; }
  .fm-games-page .fm-briefing-prompts { display: none; }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .fm-games-page .fm-briefing-form .radio-wrap,
  .fm-games-page .fm-briefing-form .jet-form-builder__submit,
  .fm-games-page .fm-briefing-form .jet-form-builder__submit::after { transition: border-color 150ms ease,box-shadow 150ms ease,transform 150ms ease; }
  .fm-games-page .fm-briefing-form .radio-wrap:hover { border-color: #be9bdc; }
  .fm-games-page .fm-briefing-form .jet-form-builder__submit:hover:not(:disabled) { border-color: #e1c9ff; box-shadow: inset 0 1px #ead8ff99,inset 0 -2px #3c155f,0 3px 14px #aa62e626; }
  .fm-games-page .fm-briefing-form .jet-form-builder__submit:hover:not(:disabled)::after { transform: translateX(3px); }
}

/* Sprint 10: direct form entry, with a keyboard-native topic disclosure. */
.fm-games-page .fm-contact-head { margin-bottom:22px; }
.fm-games-page .fm-contact-head h1 { margin:12px 0 14px; }
.fm-games-page .fm-briefing-help { margin-bottom:18px !important; }
.fm-games-page .fm-topic-choice { grid-column:1/-1; min-width:0; border:1px solid #766287; background:#211b29; }
.fm-games-page .fm-topic-choice summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; min-height:48px; cursor:pointer; font-size:14px; color:#f1e9fb; }
.fm-games-page .fm-topic-change { color:#d9bafa; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.fm-games-page .fm-topic-change::after { content:' +'; }
.fm-games-page .fm-topic-choice[open] .fm-topic-change::after { content:' −'; }
.fm-games-page .fm-topic-summary > span { display:none; }
.fm-games-page .fm-topic-choice:has(input[value="firmenspiel"]:checked) .fm-topic-firmenspiel,
.fm-games-page .fm-topic-choice:has(input[value="lernspiel"]:checked) .fm-topic-lernspiel,
.fm-games-page .fm-topic-choice:has(input[value="andere"]:checked) .fm-topic-andere { display:inline; }
.fm-games-page .fm-topic-options { padding:4px 14px 14px; }
@media(max-width:767px) {
 .fm-games-page .fm-contact-head { margin-bottom:18px; }
 .fm-games-page .fm-contact-head h1 { font-size:34px; }
 .fm-games-page .fm-briefing-body { padding:18px 16px; }
 .fm-games-page .fm-topic-choice summary { font-size:13px; }
 .fm-games-page .fm-briefing-form .jet-form-builder { row-gap:18px; }
}

/* FM-041: one topic heading, compact native options, no loss of labels. */
.fm-games-page .fm-topic-open-title,.fm-games-page .fm-topic-done { display:none; }
.fm-games-page .fm-topic-choice[open] .fm-topic-open-title,.fm-games-page .fm-topic-choice[open] .fm-topic-done { display:inline; }
.fm-games-page .fm-topic-choice[open] .fm-topic-summary,.fm-games-page .fm-topic-choice[open] .fm-topic-edit { display:none; }
.fm-games-page .fm-topic-options .jet-form-builder__label { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.fm-games-page .fm-briefing-form .fm-topic-choice .jet-form-builder__field-label.for-radio { min-height:48px; padding:10px; align-items:center; }
.fm-games-page .fm-topic-options { padding:0 12px 12px; }
.fm-games-page .fm-topic-choice[open] summary { padding-block:10px; }
.fm-games-page .fm-briefing-form .fm-topic-choice .checkradio-wrap { gap:6px; }
@media(max-width:767px) {
 .fm-games-page .fm-contact-head h1 { margin-top:8px; }
 .fm-games-page .fm-contact-head { margin-bottom:16px; }
 .fm-games-page .fm-briefing-body { padding-top:14px; }
 .fm-games-page .fm-clan .fm-briefing-help { margin-bottom:12px !important; font-size:13px; }
}
