.ios-photo-library .app-scroll{padding:0}
.ios-photo-library .app-head{height:65px;padding:8px 22px 14px}
.photo-month{margin-bottom:22px;scroll-margin-top:0}
.photo-hidden-grid{padding-top:10px}
.photo-month-heading{display:flex;align-items:baseline;justify-content:space-between;padding:12px 16px 10px;background:#fff}
.photo-month-heading h3{font-size:21px;letter-spacing:-.4px;margin:0;font-weight:650}
.photo-month-heading span{font-size:12px;color:#8e8e93}
.ios-photo-library .photos-grid{gap:2px;grid-template-columns:repeat(3,minmax(0,1fr))}
.ios-photo-library .photo-tile{width:100%;min-width:0;display:block}
.photo-library-count{text-align:center;color:#8e8e93;font-size:13px;margin:18px 0 26px}
.ios-photo-viewer{background:#080808;color:white}
.ios-photo-viewer .app-head{height:72px;padding:6px 16px 10px;gap:8px}
.photo-date-title{text-align:center;min-width:0;display:flex;flex-direction:column;gap:4px}
.photo-date-title b{font-size:15px;font-weight:600}
.photo-date-title small{font-size:11px;color:#aaa}
.ios-photo-viewer .photo-detail{overflow:hidden;background:#080808;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.ios-photo-viewer .photo-detail img{width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none;transition:transform .18s ease-out,opacity .18s ease-out}
.ios-photo-viewer .photo-is-dragging img{transition:none}
.ios-photo-viewer .photo-detail{position:relative}
.ios-photo-viewer .photo-detail video{display:block;width:100%;height:100%;object-fit:contain;transition:transform .18s ease-out,opacity .18s ease-out}
.ios-photo-viewer .photo-is-dragging video{transition:none}
.library-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;border-radius:50%;background:#0007;color:#fff;border:1px solid #ffffff80;font-size:27px;padding:0 0 0 4px;display:grid;place-items:center}
.library-video-play[hidden]{display:none}
.ios-photo-library .photo-tile{position:relative}
.photo-video-duration{position:absolute;bottom:5px;right:5px;background:#0006;border-radius:4px;color:#fff;padding:2px 4px;font-size:11px;line-height:15px;text-shadow:0 1px 2px #000}
.photo-viewer-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 12px;min-height:60px;gap:10px}
.photo-viewer-footer button{font-size:30px;color:#fff;width:40px;height:40px}
.photo-viewer-footer button:disabled{opacity:.25;cursor:default}
.photo-viewer-footer>div{text-align:center;font-size:12px;color:#bcbcbc}
.photo-viewer-footer p{margin:6px 0 0;color:#fff;max-width:280px}
.photo-album-lock{display:flex;flex-direction:column;align-items:center;padding:24px 24px 12px;text-align:center}
.photo-album-lock>svg{color:#8e8e93;margin:4px 0 16px}
.photo-album-lock h3{font-size:22px;margin:0 0 8px;font-weight:600}
.photo-album-lock p{font-size:14px;color:#8e8e93;margin:0}
.photo-pin-dots{display:flex;gap:18px;margin:26px 0 0}
.photo-pin-dots i{width:12px;height:12px;border:1.5px solid #333;border-radius:50%}
.photo-pin-dots i.filled{background:#333}
.photo-album-lock .photo-pin-error{min-height:40px;padding-top:10px;font-size:13px;color:#ff3b30}
.photo-pin-keypad{display:grid;grid-template-columns:repeat(3,72px);gap:14px 25px}
.photo-pin-keypad button{width:72px;height:72px;border-radius:50%;background:#f2f2f7;font-size:30px;color:#111}
.photo-pin-keypad button:active{background:#d1d1d6}
.photo-pin-keypad [data-album-erase]{background:transparent;font-size:24px}

.ios-photo-library .app-bottom button:disabled{opacity:.4;cursor:default}
