/* Shared purchase and preparation panels for all children's adventures. */
.adventure-order{background:#fffdf8;border:1px solid #ded7c7;border-radius:14px;padding:28px;max-width:850px;box-sizing:border-box;box-shadow:0 6px 25px #54412a06}
.adventure-order>h2{font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2;margin-top:0;margin-bottom:25px;color:#263d33}
.adventure-order .rally-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;gap:14px;margin:0 0 8px}
.adventure-order .rally-detail{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid #dce3d6;border-radius:14px;background:#f1f5ed}
.adventure-order .rally-detail h3{font:1.2rem/1.4 Georgia,serif;margin:0 0 12px;color:#263d33}
.adventure-order .rally-detail ul{padding-left:20px;margin:0;color:#59675e;line-height:1.45;list-style-type:disc}
.adventure-order .rally-detail li{padding-left:3px;margin:0 0 5px}
.adventure-order .rally-detail li::marker{color:#a58148}
.adventure-order .rally-detail .hint{margin-top:auto;padding-top:10px;margin-bottom:0;font-size:14px;line-height:1.45;color:#59675e}
.adventure-order>label{display:block;font-weight:600;margin:0 0 14px}
.adventure-order>input{box-sizing:border-box;width:100%;font:inherit;min-height:48px;padding:12px 14px;border:1px solid #c8cebf;border-radius:8px;background:#fffdf8;color:#263d33}
#rallyName,#adventureTeam{margin-bottom:18px}
#rallyName+.hint,#adventureTeam+.hint,.adventure-order #missionForm .mission-name-hint{margin-top:0;margin-bottom:42px;font-size:14px;line-height:1.8;color:#59675e}
#rallyName+.hint+.rally-details,#adventureTeam+.hint+.rally-details{margin-top:0}
@media(max-width:760px){.adventure-order{padding:20px}.adventure-order .rally-details{grid-template-columns:1fr;gap:12px}}

/* Clear spacing between the selection steps in Mission Auszeit. */
.adventure-order #missionForm{margin-top:34px}
.adventure-order #missionForm .mission-hero-field{margin:0 0 44px}
.adventure-order #missionForm .mission-hero-field legend{margin-bottom:18px}
.adventure-order #missionForm .mission-hero-intro{margin:0 0 24px}
.adventure-order #missionForm>label[for=missionName]{margin:0 0 14px}
.adventure-order #missionName{margin:0 0 18px}
.adventure-order #missionForm .mission-name-hint{margin:0 0 42px}
.adventure-order #missionForm .rally-details{margin-bottom:0}
.adventure-order #missionForm .mission-sample{margin-top:6px;margin-bottom:16px}

/* Match the space before the purchase action on both adventure pages. */
.adventure-order:has(#rallyBuy)>.rally-details{margin-bottom:0}
.adventure-order #rallyBuy{margin-top:28px}

/* Identical product-page structure and type for Mission Null and Door 13. */
.adventure-order:has(#adventureTeam)>.rally-details{margin-bottom:0}
.adventure-entry-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.adventure-file-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:18px;font-size:14px;line-height:1.8}

/* Keep the shared shop green at full strength for the purchase button. */
.adventure-order #rallyBuy:disabled{opacity:1;background:var(--pine);border-color:var(--pine);color:#fffdf7;cursor:default}

/* Readable, responsive previews of the actual main-game materials. */
.adventure-material{margin:42px 0;max-width:1000px}
.adventure-material>p:not(.eyebrow){max-width:760px;line-height:1.65}
.material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:24px}
.material-grid figure{margin:0;min-width:0;padding:12px;background:#fffdf8;border:1px solid #ded7c7;border-radius:14px}
.material-grid img{display:block;width:100%;height:auto;border-radius:8px}
.material-grid figcaption{padding:12px 4px 4px;font-size:14px;line-height:1.5;color:#59675e}
.material-single{grid-template-columns:minmax(0,420px)}
@media(max-width:640px){.material-grid{grid-template-columns:1fr;gap:18px}.adventure-material{margin:32px 0}.material-single{max-width:420px}}

/* Give each case an inviting opening and a separate, quiet preparation note. */
.adventure-story{margin:42px 0}
.adventure-story>h2{max-width:740px;margin:12px 0 22px;line-height:1.22;text-wrap:balance}
.adventure-story .adventure-story-lead{max-width:700px;font-size:clamp(18px,2vw,21px);line-height:1.7;margin:0 0 30px;color:#344d41}
.adventure-preparation{max-width:720px;padding:4px 0 4px 22px;border-left:3px solid #c5b48a;margin:0 0 32px}
.adventure-preparation h3{font:1.2rem/1.4 Georgia,serif;color:#263d33;margin:0 0 12px}
.adventure-preparation p{font-size:15px;line-height:1.75;margin:0 0 12px;color:#59675e}
.adventure-preparation p:last-child{margin-bottom:0}
.mission-null-material .material-grid{max-width:none;gap:22px}
.mission-null-material .material-grid figure{padding:8px}
.mission-null-material .material-grid figcaption{font-size:13px;padding:9px 3px 3px}
@media(max-width:640px){.adventure-story{margin:32px 0}.adventure-story .adventure-story-lead{font-size:18px;line-height:1.65}.adventure-preparation{padding-left:16px}.mission-null-material .material-grid{max-width:none}}

.adventure-material.door-material>p:not(.eyebrow){max-width:none}

.adventure-material.mission-null-material>p:not(.eyebrow){max-width:none}

/* Full-width copy; retain card width while cropping unused preview space. */
.adventure-story>h2,.adventure-story .adventure-story-lead,.adventure-story .adventure-preparation,.adventure-material{max-width:none}
.adventure-story>h2{text-wrap:wrap}
.adventure-material>p:not(.eyebrow){max-width:none}
.material-teaser{position:relative;overflow:hidden;border-radius:8px}
.mission-null-material .material-teaser{aspect-ratio:910/365}
.door-material .material-teaser{aspect-ratio:778/890}
.material-grid .material-teaser img{position:absolute;top:0;left:0;width:100%;height:auto;max-width:none}
.material-brand{position:absolute;right:5%;bottom:5%;font:italic clamp(16px,2vw,25px)/1.2 Georgia,serif;letter-spacing:.03em;color:#294c3f;opacity:.24;pointer-events:none;transform:rotate(-8deg)}

.door-material .material-brand{left:50%;top:50%;right:auto;bottom:auto;white-space:nowrap;transform:translate(-50%,-50%) rotate(-28deg);font-size:clamp(26px,4vw,46px);opacity:.2}

.adventure-story.mission-null-story .adventure-story-lead,.adventure-story.mission-null-story .adventure-preparation p{font-size:1rem;line-height:1.7}

.adventure-story.door-story .adventure-story-lead,.adventure-story.door-story .adventure-preparation p{font-size:1rem;line-height:1.7}
.mission-null-material .material-brand{left:50%;top:50%;right:auto;bottom:auto;white-space:nowrap;transform:translate(-50%,-50%) rotate(-28deg);font-size:clamp(26px,4vw,46px);opacity:.2}

.adventure-story.mission-null-story .adventure-preparation h3{white-space:normal}

.adventure-preparation .keep-word{white-space:nowrap;hyphens:none;word-break:normal;overflow-wrap:normal}

/* Compact purchase panels for Mission Null and Tür 13. */
.compact-team-order{padding:24px}
.compact-team-order>h2{margin-bottom:20px}
.compact-team-order #rallyName+.hint,.compact-team-order #adventureTeam+.hint{margin-bottom:28px;line-height:1.6}
.compact-team-order .rally-detail{padding:14px}
.compact-team-order .rally-detail h3{margin-bottom:9px}
.compact-team-order .rally-detail li{margin-bottom:4px}
.compact-team-order #rallyBuy{margin-top:22px}
@media(max-width:760px){.compact-team-order{padding:18px}}
