/* Compact, consistently aligned mobile contribution and transport controls. */
@media(max-width:800px){
 body #erinnerungen .agm-mobile-player .agm-forever-loud .fl-wave{display:block!important;position:absolute!important;grid-area:auto!important;inset:3px 1px!important;width:calc(100% - 2px)!important;height:calc(100% - 6px)!important;min-height:0!important;margin:0!important;padding:0!important;opacity:.22!important;overflow:hidden!important;border-radius:15px;pointer-events:none!important;z-index:0!important;mask-image:linear-gradient(transparent,#000 22%,#000 78%,transparent)}
 body #erinnerungen .agm-mobile-player .fl-spectrum-canvas{display:block!important;width:100%!important;height:100%!important;filter:sepia(.7) saturate(.65)}
 body #erinnerungen .agm-mobile-player .fl-play,body #erinnerungen .agm-mobile-player .fl-head,body #erinnerungen .agm-mobile-player .agm-mini-prev,body #erinnerungen .agm-mobile-player .agm-mini-next{position:relative!important;z-index:1!important}
}

@media(max-width:800px){
 body .agm-original-title blockquote::after{content:"";display:block;width:36px;height:1px;background:#bd8c60;margin:19px auto 0}
 body .agm-original-title{padding-bottom:10px!important}
 body .agm-original-title>span{margin:36px auto 15px!important}
 body #erinnerungen.timeline-section{padding-top:14px!important}
 body #erinnerungen.timeline-section>header{margin-bottom:24px!important}
 body #erinnerungen.timeline-section>.agm-mobile-player{margin:0 auto 28px!important}
 body #erinnerungen.timeline-section>.agm-mobile-player>.agm-forever-loud{background:transparent!important}
}

@media(max-width:800px){
 body #agm-composer.agm-simple-composer{padding:10px!important}
 body #agm-composer .agm-compose-main{display:grid!important;grid-template-columns:36px minmax(0,1fr) 44px!important;gap:8px!important;align-items:center!important}
 body #agm-composer .agm-composer-avatar{width:36px!important;height:36px!important}
 body #erinnerungen #agm-composer .agm-compose-main textarea[name="message"]{box-sizing:border-box!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:11px 12px!important;line-height:22px!important;resize:none!important;overflow-y:auto!important}
 body #agm-composer #agm-composer-send{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;margin:0!important;align-self:center!important}
 body #agm-composer .agm-attach-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin-top:8px!important;padding-top:6px!important}
 body #agm-composer .agm-attach-actions>button{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:100%!important;height:40px!important;padding:4px!important;box-sizing:border-box!important;letter-spacing:0!important;font-size:13px!important;text-transform:none!important}
 body #agm-composer .agm-attach-actions svg{width:26px!important;height:26px!important;flex:0 0 26px!important;margin:0!important}
 body .timeline-card .agm-comment-composer{align-items:center!important}
 body .timeline-card .agm-comment-field{height:44px!important;min-height:44px!important;box-sizing:border-box!important;flex-wrap:nowrap!important;padding:0 2px 0 0!important;align-items:center!important}
 body .timeline-card .agm-comment-field input[name="comment"]{flex:1 1 0!important;width:0!important;min-width:0!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:10px 8px!important;line-height:24px!important;font-size:14px!important}
 body .timeline-card .agm-comment-tools{flex:0 0 auto!important;margin:0!important}
 body .timeline-card .agm-comment-tools button{width:32px!important;min-width:32px!important;height:44px!important;padding:6px!important}
 body .timeline-card .agm-comment-tools svg{width:20px!important;height:20px!important}
 body .timeline-card .agm-comment-composer>button[type="submit"]{width:44px!important;height:44px!important;min-height:44px!important;align-self:center!important;margin:0!important}
 body .agm-mobile-player.hero-stage>.agm-forever-loud{display:grid!important;grid-template-columns:44px 44px 44px!important;grid-template-rows:44px auto!important;justify-content:center!important;justify-items:center!important;column-gap:18px!important;row-gap:4px!important;padding:12px 24px 14px!important;isolation:isolate!important;min-height:0!important;box-sizing:border-box!important}
 body .agm-mobile-player.hero-stage>.agm-forever-loud::after{content:"";position:absolute;inset:2px auto;left:50%;transform:translateX(-50%);width:100%;max-width:100%;box-sizing:border-box;border:1px solid #a9815959;border-radius:16px;background:linear-gradient(145deg,#1a1b1b,#101212);box-shadow:inset 0 1px 0 #e0bb8810;z-index:-1;pointer-events:none}
 body .agm-mobile-player .agm-forever-loud .fl-head{grid-column:1 / -1!important;grid-row:2!important;min-width:0!important;width:100%!important;margin:0!important;text-align:center!important;align-self:center!important}
 body .agm-mobile-player .agm-forever-loud .fl-play{grid-column:2!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important}
 body .agm-mobile-player .agm-forever-loud .fl-play:not(.is-paused-icon)::before{border-top-width:8px!important;border-bottom-width:8px!important;border-left-width:13px!important}
 body .agm-mobile-player .agm-forever-loud .fl-controls{display:contents!important}
 body .agm-mobile-player .agm-forever-loud .fl-controls>.agm-mini-prev{grid-column:1!important;grid-row:1!important}
 body .agm-mobile-player .agm-forever-loud .fl-controls>.agm-mini-next{grid-column:3!important;grid-row:1!important}
 body .agm-mobile-player .agm-forever-loud .fl-controls>.agm-mini-prev,body .agm-mobile-player .agm-forever-loud .fl-controls>.agm-mini-next{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important}
 body .agm-mobile-player .agm-forever-loud .fl-controls>.agm-mini-prev::before,body .agm-mobile-player .agm-forever-loud .fl-controls>.agm-mini-next::before{width:20px!important;height:16px!important;left:12px!important;top:14px!important}
}

/* Keep the tablet breakpoint consistent with the mobile layout (up to 800px). */
@media(max-width:800px){
 body #erinnerungen.timeline-section>.agm-mobile-player,
 body #erinnerungen.timeline-section>.agm-slideshow{max-width:680px!important}
 body .agm-mobile-player .agm-forever-loud .fl-brand,
 body .agm-mobile-player .agm-forever-loud .fl-seek,
 body .agm-mobile-player .agm-forever-loud .fl-volume{display:none!important}
 body .agm-mobile-player .agm-forever-loud .fl-head{padding:0!important;align-items:center!important;justify-content:center!important}
 body .agm-mobile-player .agm-forever-loud .fl-title-viewport,
 body .agm-mobile-player .agm-forever-loud .fl-title-track{width:100%!important;max-width:100%!important;text-align:center!important}
 body .agm-mobile-player .agm-forever-loud .agm-mini-title{font-size:15px!important;font-weight:500!important;text-align:center!important}
}
/* Labels and placeholders follow the same design at every width. */
body #agm-composer .agm-attach-actions>button,
body #agm-composer .agm-attach-actions>button span{text-transform:none!important;letter-spacing:0!important}
body #agm-composer textarea[name="message"]::placeholder{color:#bdc0c6!important;opacity:1!important}
@media(min-width:801px) and (max-width:1366px){
 body #agm-composer .agm-compose-main{grid-template-columns:40px minmax(0,1fr) 44px!important;align-items:center!important}
 body #erinnerungen #agm-composer .agm-compose-main textarea[name="message"]{height:44px!important;min-height:44px!important;max-height:44px!important;resize:none!important;overflow-y:auto!important}
 body #agm-composer #agm-composer-send{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;margin:0!important}
 body #agm-composer .agm-attach-actions>button{height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important}
 body .timeline-card .agm-comment-composer{align-items:center!important}
 body .timeline-card .agm-comment-field{height:44px!important;min-height:44px!important;box-sizing:border-box!important;flex-wrap:nowrap!important;padding:0 2px 0 0!important;align-items:center!important}
 body .timeline-card .agm-comment-field input[name="comment"]{flex:1 1 0!important;width:0!important;min-width:0!important;height:44px!important;min-height:44px!important;box-sizing:border-box!important;padding:10px 8px!important;line-height:24px!important}
 body .timeline-card .agm-comment-tools{flex:0 0 auto!important;margin:0!important}
 body .timeline-card .agm-comment-tools button{height:44px!important}
 body .timeline-card .agm-comment-composer>button[type="submit"]{width:44px!important;height:44px!important;min-height:44px!important;align-self:center!important;margin:0!important}
}
