#dialog.album-viewer{max-width:1000px;width:94%;padding:22px}.album-heading{display:flex;align-items:center;gap:20px;padding-right:40px;margin-bottom:15px}.album-heading h2{font:600 20px 'Noto Sans SC',sans-serif;margin:0}.album-heading>span{margin-left:auto;white-space:nowrap;font-size:13px;color:var(--muted)}.album-stage{position:relative;background:#202522;border-radius:7px;overflow:hidden}.album-stage>img{display:block;width:100%;height:62vh;object-fit:contain}.album-stage>button{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:54px;display:grid;place-items:center;padding:0;background:#ffffffeb;color:#29312c;border:0;border-radius:6px;font:38px/1 sans-serif;box-shadow:0 2px 10px #0003}.album-prev{left:12px}.album-next{right:12px}.album-viewer .muted{font-size:12px;margin:13px 0 0}.memory-local-photos img{cursor:zoom-in}@media(max-width:600px){#dialog.album-viewer{padding:16px}.album-stage>img{height:50vh}.album-stage>button{width:35px;height:45px}.album-prev{left:7px}.album-next{right:7px}.album-heading h2{font-size:17px}}

.album-stage{touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}.album-stage>img{-webkit-user-drag:none}.album-mobile-nav{display:none}.post-body img,.local-rich-article img{cursor:zoom-in}@media(max-width:600px){.album-stage>button{display:none}.album-mobile-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.album-mobile-nav button{min-height:44px;padding:8px 12px;font-size:13px;background:#f3f4ef}.album-mobile-nav span{font-size:11px;color:var(--muted)}.album-keyboard-hint{display:none}.album-heading{padding-right:42px}.album-heading h2{font-size:16px}.album-stage>img{height:55vh}}
/* Reserve space for Close in the heading, without shrinking the photo stage. */
#dialog.album-viewer>.close,#dialog.album-viewer>form .close{position:absolute;float:none;top:14px;right:14px;width:44px;height:44px;padding:0;display:grid;place-items:center;z-index:2}#dialog.album-viewer #dialog-content{width:100%;min-width:0;display:flow-root}.album-viewer .album-stage{width:100%;clear:both}.album-viewer .album-heading{min-height:44px;padding-right:52px}.album-viewer .album-heading h2{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){#dialog.album-viewer>form .close{top:10px;right:10px}}
