/* LEVELUP V354D: fixes to V354C. Mobile visual only, no data or exercise logic. */
/* Place plan guidelines in the UPPER app header: [x] [TRENING / Plan treningowy] [i] */
#main-content > header.lu355-training-header-with-guides{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;column-gap:10px!important}
#main-content > header.lu355-training-header-with-guides > .lu355-guide-button{grid-column:3;justify-self:end;align-self:center;margin:0!important;min-width:40px;width:40px;height:40px;border:1px solid #79613c;background:#28271f;color:#e8c689;box-shadow:none!important}
#main-content > header.lu355-training-header-with-guides > .lu355-guide-button:focus-visible{outline:2px solid #efc780;outline-offset:2px}
#main-content > header.lu355-training-header-with-guides > .lu355-guide-button.lu355-guide-seen{animation:none!important}
/* The week header has only its week picker; no detached i icon beside 'Tydzień'. */
._weekCard_1edfv_29 .lu355-header-actions{gap:0!important}
/* Fix the broken 3-column layout after removing the decorative gold arrow badge. */
.lu354-superset .lu338-superhead{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;grid-template-columns:none!important;min-width:0!important}
.lu354-superset .lu338-superheading{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:3px!important;min-width:0!important;width:auto!important;max-width:none!important;grid-column:auto!important;grid-area:auto!important;align-items:flex-start!important;text-align:left!important}
.lu354-superset .lu338-superheading>strong{display:block!important;width:auto!important;max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;font-size:12px!important;line-height:1.3!important;letter-spacing:.05em!important}
.lu354-superset .lu338-superheading>small{display:block!important;max-width:100%!important;white-space:normal!important;font-size:10px!important;line-height:1.35!important}
.lu354-superset .lu338-progress{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;max-width:max-content!important;min-width:0!important;white-space:nowrap!important;font-size:10px!important;padding:5px 9px!important;margin:0!important;grid-column:auto!important;grid-area:auto!important}
.lu354-superset .lu338-chain{display:none!important}
/* The old CSS forced a 52rem high grid. Make the GIF sheet naturally sized and centered. */
.lu355-media-overlay{display:flex!important;justify-content:center!important;align-items:center!important;overflow-y:auto!important;overscroll-behavior:contain;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom))!important}
.lu355-media-overlay>.lu355-media-modal{display:flex!important;flex-direction:column!important;grid-template-rows:none!important;flex:0 1 auto!important;align-self:center!important;justify-self:center!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 28px)!important;width:min(430px,100%)!important;max-width:min(430px,calc(100vw - 24px))!important;margin:auto!important;overflow-y:auto!important;overflow-x:hidden!important;background:#1b201b!important;border:1px solid #6b583b!important;border-radius:16px!important;overscroll-behavior:contain}
.lu355-media-modal>._mediaModalHeader_1edfv_288{flex:0 0 auto!important;padding:12px 14px!important;min-height:0!important}
.lu355-media-modal>._mediaStage_1edfv_295{display:flex!important;flex:0 0 auto!important;justify-content:center!important;align-items:center!important;min-height:0!important;height:auto!important;max-height:min(40dvh,300px)!important;overflow:hidden!important;background:#f9f9f7!important}
.lu355-media-modal>._mediaStage_1edfv_295 img,.lu355-media-modal>._mediaStage_1edfv_295 video{display:block!important;flex:0 1 auto!important;max-width:100%!important;width:auto!important;max-height:min(40dvh,300px)!important;height:auto!important;object-fit:contain!important;margin:0 auto!important}
.lu355-media-modal>.lu355-tech-info{display:block!important;flex:0 0 auto!important;padding:12px 14px 15px!important;min-height:0!important}
.lu355-media-modal .lu355-tech-notice{padding-bottom:9px!important;margin-bottom:9px!important;font-size:11px!important}
.lu355-media-modal .lu355-tech-guidance h3{font-size:12px!important;margin-bottom:7px!important}
.lu355-media-modal .lu355-tech-guidance p{font-size:12px!important;line-height:1.5!important;margin:5px 0!important}
@media(max-width:360px){#main-content > header.lu355-training-header-with-guides{column-gap:7px!important}#main-content > header.lu355-training-header-with-guides > .lu355-guide-button{min-width:36px;width:36px;height:36px}.lu354-superset .lu338-superhead{gap:6px!important}.lu354-superset .lu338-progress{font-size:9px!important;padding:4px 6px!important}.lu355-media-modal>._mediaStage_1edfv_295{max-height:min(37dvh,265px)!important}.lu355-media-modal>._mediaStage_1edfv_295 img,.lu355-media-modal>._mediaStage_1edfv_295 video{max-height:min(37dvh,265px)!important}}
@media(prefers-reduced-motion:reduce){#main-content > header .lu355-guide-button.lu355-guide-pulse{animation:none!important}}
