/* A dedicated viewport bar; gameplay and existing presentation stay intact. */
:root{--memorial-space:calc(36px + env(safe-area-inset-bottom,0px))}
body{padding-bottom:var(--memorial-space)}
.memorial-tribute{position:fixed;inset:auto 0 0;z-index:20;min-height:var(--memorial-space);margin:0;padding:8px max(12px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));background:#f7eedb;color:#c00000;text-align:center;font:normal 16px/20px Georgia,'Times New Roman',serif;white-space:nowrap}
.memorial-tribute em{font-style:italic;font-weight:inherit;color:inherit}
/* Top-layer dialogs and their backdrops stop above the tribute. */
dialog{bottom:var(--memorial-space);max-height:min(90vh,calc(100dvh - var(--memorial-space) - 24px))}
dialog::backdrop{bottom:var(--memorial-space)}
/* The phone already tracks the visual viewport and uses a flex column. */
.football-phone body{padding-bottom:0}
.football-phone main{padding-bottom:3px}
.football-phone .memorial-tribute{position:static;flex:0 0 auto;width:100%}
.football-phone dialog{max-height:calc(var(--phone-h,100dvh) - var(--memorial-space) - 12px)}
@media print{body{padding-bottom:0}.memorial-tribute{display:none!important}}
