.tf-gallery-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 32px;padding:18px 0;border-block:1px solid #dde3e6}.tf-gallery-tools button,.tf-gallery-tools select{font:inherit;font-size:13px;min-height:44px;border:1px solid #b9c9ce;background:white;color:#20363d;border-radius:5px;padding:10px 14px;cursor:pointer}.tf-gallery-tools .tf-selection-toggle[aria-pressed=true]{background:#163d3d;color:white;border-color:#163d3d}.tf-gallery-tools .tf-moment-label{display:flex;align-items:center;gap:12px;font-size:12px;margin-right:auto}.tf-moment-label select{max-width:260px}.tf-gallery-chapter{margin:44px 0 0;scroll-margin-top:110px}.tf-gallery-chapter h2{font:400 30px/1.3 Georgia,serif;color:#203238;letter-spacing:0;margin:0 0 20px}.tf-gallery-chapter h2 small{font:400 12px Arial,sans-serif;color:#647a80;display:inline-block;margin-left:12px}.tf-photo-item{position:relative;break-inside:avoid;page-break-inside:avoid}.tf-photo-select{position:absolute;right:10px;top:10px;display:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:5px;background:#fffffff2;box-shadow:0 2px 12px #0002;cursor:pointer;z-index:2}.tf-photo-select input{width:22px;height:22px;accent-color:#126e65;cursor:pointer;margin:0}.is-selecting .tf-photo-select,.is-selected .tf-photo-select{display:flex}.is-selected>.tf-gallery-photo{outline:3px solid #126e65;outline-offset:-3px}.is-selecting .tf-gallery-photo img{transition:opacity .2s;transform:none!important}.is-selecting .is-selected .tf-gallery-photo img{opacity:.84}.tf-selection-bar{position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:10000;display:flex;align-items:center;gap:16px;flex-wrap:wrap;max-width:920px;width:calc(100% - 32px);padding:16px 20px;border:1px solid #c9d6d4;background:#fffffffa;box-shadow:0 8px 40px #102e352b;border-radius:8px;font-family:Arial,sans-serif;color:#20363d}.tf-selection-bar[hidden],.tf-gallery-chapter[hidden]{display:none!important}.tf-selection-bar strong{font-size:13px;margin-right:auto}.tf-selection-bar button{border:0;border-radius:5px;min-height:44px;padding:11px 16px;font:500 13px Arial,sans-serif;cursor:pointer}.tf-download-primary{background:#126e65;color:white}.tf-download-cancel{background:#e9eeee;color:#20363d}.tf-download-status{width:100%;font-size:12px;line-height:1.5;margin:0}.tf-download-status:empty{display:none}.tf-selection-bar progress{width:100%;height:6px;accent-color:#126e65}.tf-gallery:has(.tf-selection-bar:not([hidden])){padding-bottom:170px}.tf-gallery~.u-back-to-top{bottom:130px!important}.tf-photo-actions{display:flex;gap:12px;align-items:center;margin-left:auto;margin-right:12px}.tf-photo-actions button{font:400 12px Arial,sans-serif;width:auto;min-width:44px;min-height:44px;white-space:normal;border:1px solid #647579;border-radius:4px;padding:6px 12px}.tf-gallery-tools button:focus-visible,.tf-gallery-tools select:focus-visible,.tf-selection-bar button:focus-visible,.tf-photo-select:focus-within{outline:3px solid #478ac9;outline-offset:3px}.tf-gallery-tools button:disabled,.tf-selection-bar button:disabled{opacity:.6;cursor:wait}@media(max-width:640px){.tf-gallery-tools{gap:8px;margin-bottom:24px}.tf-gallery-tools .tf-moment-label{width:100%;justify-content:space-between}.tf-moment-label select{flex:1;min-width:0;max-width:210px}.tf-gallery-tools button{font-size:11px;padding:10px}.tf-gallery-chapter{margin-top:32px}.tf-gallery-chapter h2{font-size:26px}.tf-gallery-chapter h2 small{font-size:11px;margin-left:9px}.tf-selection-bar{width:calc(100% - 20px);padding:12px;gap:10px}.tf-selection-bar strong{width:100%;margin:0}.tf-download-primary{flex:1}.tf-selection-bar button{font-size:12px}.tf-photo-actions{gap:5px;margin-right:5px}.tf-photo-actions button{padding:5px 7px;font-size:10px;max-width:105px}.tf-photo-bar{padding:0 8px;gap:5px}.tf-photo-count{font-size:11px;flex-shrink:0}.tf-photo-select{right:6px;top:6px;width:36px;height:36px}.tf-photo-dialog .tf-photo-bar>[data-close]{flex-basis:40px;width:40px}}
@media(prefers-reduced-motion:reduce){.is-selecting .tf-gallery-photo img{transition:none}}
.tf-photo-actions button{flex:0 1 auto}.tf-gallery-tools select{white-space:nowrap;text-overflow:ellipsis}.tf-selection-bar [hidden]{display:none!important}
