html,body{min-height:100%;margin:0;background:var(--lr-bg,#f3ece0);color:var(--lr-text,#252525)}
body.page-wuerzburg{overflow-x:hidden;background:var(--lr-bg,#f3ece0)!important}
body.page-wuerzburg #wrapper{min-height:100vh;background:var(--lr-bg,#f3ece0)!important}
body.page-wuerzburg #footer{margin-top:auto!important;flex-shrink:0}
body.page-wuerzburg .wuerzburg-section{flex:1 0 auto;padding:clamp(28px,5vw,64px) 0 clamp(48px,7vw,88px);background:var(--lr-bg,#f3ece0)!important}
body.page-wuerzburg .wuerzburg-content{width:calc(100% - 40px)!important;max-width:1760px!important;margin-left:auto;margin-right:auto}
body.page-wuerzburg .wuerzburg-copy{max-width:820px;margin:0 auto clamp(22px,3vw,36px);text-align:center}
body.page-wuerzburg .wuerzburg-copy h1{margin:0 0 12px;color:var(--lr-text)!important;font-size:clamp(1.5rem,2.6vw,2.35rem);font-weight:500;line-height:1.2}
body.page-wuerzburg .wuerzburg-copy p{margin:0;color:var(--lr-text-muted,#6d6a65)!important;font-size:clamp(1rem,1.25vw,1.15rem)}
.wuerzburg-stage-shell{position:relative;width:min(100%,1440px);margin:0 auto;overflow:hidden;aspect-ratio:1024 / 768;background:#000;box-shadow:0 0 0 1px rgba(37,37,37,.12)}
.wuerzburg-stage-shell.stage-thumb{width:min(100%,1629px);aspect-ratio:950 / 630}
.wuerzburg-stage-shell>object,.wuerzburg-stage-shell>ruffle-player{position:absolute;inset:0;display:block!important;width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;max-width:none!important;max-height:none!important;border:0;background:#000!important}
.wuerzburg-stage-shell ruffle-player canvas,.wuerzburg-stage-shell ruffle-player embed,.wuerzburg-stage-shell ruffle-player object{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important}
.wuerzburg-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 14px;margin:18px auto 0;padding:12px 16px;border:1px solid var(--lr-border,#d9d5ce);background:var(--lr-surface,#fbfaf7);text-align:center}
.wuerzburg-controls a,.wuerzburg-controls button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid var(--lr-accent,#9a8156);border-radius:2px;background:transparent;color:var(--lr-text,#252525)!important;font:inherit;line-height:1.2;text-decoration:none;cursor:pointer}
.wuerzburg-controls a:hover,.wuerzburg-controls a:focus-visible,.wuerzburg-controls button:hover,.wuerzburg-controls button:focus-visible{background:var(--lr-accent,#9a8156);color:#fff!important;text-decoration:none}
body.page-wuerzburg .wuerzburg-missing{display:grid;flex:1 0 auto;place-items:center;padding:clamp(48px,10vw,120px) 20px;background:var(--lr-bg,#f3ece0)}
body.page-wuerzburg .wuerzburg-missing-panel{width:min(100%,720px);padding:clamp(28px,5vw,56px);border:1px solid var(--lr-border,#d9d5ce);background:var(--lr-surface,#fbfaf7);color:var(--lr-text,#252525);text-align:center}
body.page-wuerzburg .wuerzburg-missing-panel h1{margin:0 0 20px;color:var(--lr-text)!important;font-size:clamp(1.5rem,3vw,2.25rem);font-weight:500}
body.page-wuerzburg .wuerzburg-missing-panel p{margin:0 0 24px;color:var(--lr-text-muted)!important;line-height:1.6}
body.page-wuerzburg .wuerzburg-missing-panel a{color:var(--lr-text)!important}
@media (min-width:1200px){.wuerzburg-stage-shell{width:min(100%,1440px,calc(100vw - 80px))}.wuerzburg-stage-shell.stage-thumb{width:min(100%,1629px,calc(100vw - 80px))}}
@media (max-width:767px){body.page-wuerzburg .wuerzburg-content{width:calc(100% - 24px)!important}body.page-wuerzburg .wuerzburg-section{padding-top:32px;padding-bottom:52px}.wuerzburg-controls{gap:8px;padding:10px}.wuerzburg-controls a,.wuerzburg-controls button{flex:1 1 180px}}
.wuerzburg-stage-shell:fullscreen{width:100vw;height:100vh;max-width:none;max-height:none;margin:0;box-shadow:none}
.wuerzburg-stage-shell:fullscreen>object,.wuerzburg-stage-shell:fullscreen>ruffle-player{width:100%!important;height:100%!important}

/* Würzburg normal view: full-width, width-driven historical stage */
body.page-wuerzburg #wrapper,
body.page-wuerzburg .wuerzburg-section,
body.page-wuerzburg .wuerzburg-content {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}

body.page-wuerzburg .wuerzburg-section {
    flex: 0 0 auto !important;
    padding-left: 0;
    padding-right: 0;
}

body.page-wuerzburg .wuerzburg-content {
    padding-left: 3vw;
    padding-right: 3vw;
}

body.page-wuerzburg .wuerzburg-stage-shell {
    width: min(94vw, 1440px) !important;
    max-width: 1440px !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    aspect-ratio: 1024 / 768 !important;
    box-sizing: border-box;
}

body.page-wuerzburg .wuerzburg-stage-shell.stage-thumb {
    width: min(94vw, 1629px) !important;
    max-width: 1629px !important;
    aspect-ratio: 950 / 630 !important;
}

body.page-wuerzburg .wuerzburg-stage-shell > object,
body.page-wuerzburg .wuerzburg-stage-shell > ruffle-player {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}

body.page-wuerzburg .wuerzburg-stage-shell ruffle-player canvas,
body.page-wuerzburg .wuerzburg-stage-shell ruffle-player embed,
body.page-wuerzburg .wuerzburg-stage-shell ruffle-player object {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
}

@media (min-width: 1200px) {
    body.page-wuerzburg .wuerzburg-stage-shell {
        width: min(94vw, 1440px) !important;
    }

    body.page-wuerzburg .wuerzburg-stage-shell.stage-thumb {
        width: min(94vw, 1629px) !important;
    }
}

.wuerzburg-stage-shell:fullscreen,
.wuerzburg-stage-shell:fullscreen > object,
.wuerzburg-stage-shell:fullscreen > ruffle-player {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
}


/* Würzburg player full-bleed zone and local width diagnostics */
body.page-wuerzburg .wuerzburg-player-zone {
    position: relative;
    left: 50%;
    width: 100vw !important;
    max-width: none !important;
    margin-left: -50vw;
    margin-right: 0;
    box-sizing: border-box;
    transform: none !important;
    zoom: 1 !important;
    overflow: visible;
}

body.page-wuerzburg .wuerzburg-player-zone .wuerzburg-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box;
}

body.page-wuerzburg .wuerzburg-player-zone .wuerzburg-stage-shell {
    width: min(94vw, 1440px) !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    margin-inline: auto !important;
    aspect-ratio: 1024 / 768 !important;
    transform: none !important;
    zoom: 1 !important;
    box-sizing: border-box;
}

body.page-wuerzburg .wuerzburg-player-zone .wuerzburg-stage-shell.stage-thumb {
    width: min(94vw, 1629px) !important;
    max-width: none !important;
    aspect-ratio: 950 / 630 !important;
}

body.page-wuerzburg .wuerzburg-player-zone .wuerzburg-stage-shell > object,
body.page-wuerzburg .wuerzburg-player-zone .wuerzburg-stage-shell > ruffle-player {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    transform: none !important;
    zoom: 1 !important;
}

/* Production Würzburg host scaling from accepted audit scale-test */
body.page-wuerzburg .wuerzburg-stage-shell {
    position: relative;
    overflow: hidden;
    background: #000 !important;
}

body.page-wuerzburg .wuerzburg-stage-shell.stage-thumb {
    width: min(94vw, 1629px) !important;
    max-width: none !important;
    aspect-ratio: 950 / 630 !important;
}

body.page-wuerzburg .wuerzburg-stage-shell.stage-index {
    width: min(94vw, 1440px) !important;
    max-width: none !important;
    aspect-ratio: 1024 / 768 !important;
}

body.page-wuerzburg .wuerzburg-stage-shell > object,
body.page-wuerzburg .wuerzburg-stage-shell > ruffle-player {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    bottom: auto !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    transform-origin: top left !important;
    background: #000 !important;
}

body.page-wuerzburg .wuerzburg-stage-shell.stage-thumb > object,
body.page-wuerzburg .wuerzburg-stage-shell.stage-thumb > ruffle-player {
    width: 950px !important;
    height: 630px !important;
}

body.page-wuerzburg .wuerzburg-stage-shell.stage-index > object,
body.page-wuerzburg .wuerzburg-stage-shell.stage-index > ruffle-player {
    width: 1024px !important;
    height: 768px !important;
}

body.page-wuerzburg .wuerzburg-stage-shell > ruffle-player canvas,
body.page-wuerzburg .wuerzburg-stage-shell > ruffle-player embed,
body.page-wuerzburg .wuerzburg-stage-shell > ruffle-player object {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    background: #000 !important;
}