/* Only S5/S6 authored boards opt in. Legacy campaign and Verlenging retain their original layout. */
#falco-match-speelscherm[data-extended-board="true"] .fc-play-zone>.fc-wrap{height:var(--fc-board-height)!important;aspect-ratio:auto!important}
#falco-match-speelscherm[data-extended-board="true"] .fc-board{height:100%!important;aspect-ratio:auto!important}
#falco-match-speelscherm[data-extended-board="true"] .fc-board :is(.fc-piece,.fc-board-cell,.fc-board-block,.fc-ground-front,.fc-ground-remnant,.fc-ticket-island){width:calc(100% / var(--fc-cols))!important;height:calc(100% / var(--fc-rows))!important}
#falco-match-speelscherm[data-extended-board="true"] .fc-brand{height:50px!important}
@media(orientation:portrait){#falco-match-speelscherm[data-extended-board="true"] .fc-app{grid-template-rows:50px 30px 0px 56px auto minmax(0,1fr) 52px!important}}
@media(orientation:landscape){#falco-match-speelscherm[data-extended-board="true"] .fc-app{grid-template-rows:50px 30px 0px 56px auto minmax(0,1fr)!important}}

#falco-match-speelscherm[data-extended-board="true"] .fc-goal-net{width:calc(100% / var(--fc-cols));height:calc(56% / var(--fc-rows))}

/* Only the 50-level maps: cover the entire scroll canvas without distorting the artwork.
   The retained portrait map image repeats vertically at its natural aspect ratio. */
#falco-match-speelscherm .fc-world[data-extended-map="true"]{background-size:100% auto;background-repeat:repeat-y;background-position:center top;background-color:#285b39}
#falco-match-speelscherm .fc-world[data-extended-map="true"]>.fc-world-art{visibility:hidden}

/* S5 summer-only phone preview: three unique connected atlas regions, never repeated. */
#falco-match-speelscherm .fc-loekie-long-art{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:#456d32}
#falco-match-speelscherm .fc-loekie-long-art[hidden]{display:none}
#falco-match-speelscherm .fc-loekie-map-part{position:absolute;left:0;width:100%;top:calc(var(--map-part) * 32.5%);height:35%;background-image:var(--loekie-map-atlas);background-size:302% 100%;background-repeat:no-repeat;background-position:calc(var(--map-part) * 50%) center}
#falco-match-speelscherm .fc-loekie-map-part:not(:first-child){mask-image:linear-gradient(to bottom,transparent,#000 7%);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 7%)}

/* The dock foot is outside the scrolling world: replace its old separate artwork too. */
#falco-match-speelscherm[data-loekie-map="true"][data-map-dock="true"] .fm-map-foot{background-image:var(--loekie-map-atlas)!important;background-size:302% auto!important;background-position:right bottom!important;background-repeat:no-repeat!important;transform:none!important}

/* A single 1:9 event image fills the long route once; atlas maps keep three parts. */
#falco-match-speelscherm[data-long-map-layout="strip"] .fc-loekie-map-part{display:none}
#falco-match-speelscherm[data-long-map-layout="strip"] .fc-loekie-map-part:first-child{display:block;top:0;height:100%;background-size:100% 100%;background-position:center}
#falco-match-speelscherm[data-long-map-layout="strip"][data-map-dock="true"] .fm-map-foot{background-size:100% auto!important;background-position:center bottom!important}

/* Dedicated wide artwork is covered proportionately, never stretched to fit. */
#falco-match-speelscherm[data-long-map-landscape="true"][data-map-dock="true"] .fm-map-foot{background-size:var(--long-map-footer-size)!important;background-position:var(--long-map-footer-x) bottom!important}

/* Wide long maps start with a level in the centre; keep the jump button beside it. */
#falco-match-speelscherm[data-long-map-landscape="true"] .fc-jump-current{margin-left:112px}
