*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:system-ui,-apple-system,sans-serif;color:#123d43;background:#e4ece9}
body{display:flex;flex-direction:column}header{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.45rem max(.6rem,env(safe-area-inset-right)) .45rem max(.6rem,env(safe-area-inset-left));background:white;border-bottom:1px solid #bccac7}
header a,header button{font:600 1rem/1.2 system-ui;color:#123d43;min-height:44px;display:inline-flex;align-items:center;justify-content:center}header a{padding:.3rem .5rem;text-underline-offset:.2em}
header button{min-width:44px;background:#edf4f0;border:1px solid #aac2bd;border-radius:.4rem;font-size:1.35rem}header button:disabled{color:#707a74;background:#fafbf9}header span{font-size:.95rem}
.controls{display:flex;align-items:center;gap:.45rem}.controls[hidden]{display:none}
main{overflow:auto;min-height:0;flex:1;overscroll-behavior:contain}
.poster{display:block;margin:0 auto;width:min(100%,760px);cursor:zoom-in;line-height:0}
.poster img{width:100%;height:auto}
.sr{position:absolute;width:1px;height:1px;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
a:focus-visible,button:focus-visible{outline:3px solid #bf6a22;outline-offset:-3px}

.control-tap { font-size: .72rem; white-space: nowrap; }
.poster-tap { display: block; padding: .3em .6em; text-align: center; background: #e2edef; color: #163f4a; font: 600 15px/1.5 system-ui,sans-serif; }
