.film .print, .film .ph-grid .ph { padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none; }
.film .print { outline-offset: 0; }
.film .print .ph, .film .photo-card .ph { border: 0; background: transparent; box-shadow: none; }
.film .print img, .film .photo-card img { border-radius: 3px; }
.film .photo-card, .film .print { position: relative; }
.selection-enabled .download-photo { display: none; }
.photo-select { position: absolute; right: 10px; top: 10px; z-index: 2; display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 13px; border: 1px solid #ffffff70; border-radius: 99px; background: #0a1a3de8; color: #fff; font: 500 13px/1.3 system-ui,sans-serif; cursor: pointer; box-shadow: 0 3px 14px #0003; }
.photo-select span { font-size: 20px; }
.photo-select[aria-pressed="true"] { background: #f3ddb0; color: #12254a; border-color: #f3ddb0; }
.photo-select:focus-visible, .selection-tray button:focus-visible, .select-section:focus-visible { outline: 3px solid #e0c38a; outline-offset: 3px; }
.film .is-selected .ph img { box-shadow: 0 0 0 3px #e0c38a; }
.film .select-section { display: inline-block; margin: 8px 0 8px 12px; min-height: 44px; padding: 10px 18px; border: 1px solid #e0c38a80; border-radius: 99px; color: #fff4da; background: transparent; font: 500 14px/1.5 system-ui,sans-serif; cursor: pointer; }
.selection-tray { position: fixed; z-index: 90; bottom: max(16px,env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(1000px,calc(100% - 32px)); background: #f8f5ed; color: #173475; border: 1px solid #d7bf90; border-radius: 18px; box-shadow: 0 10px 50px #07152b70; padding: 18px 22px; display: flex; gap: 20px; justify-content: space-between; align-items: center; font: 14px/1.5 system-ui,sans-serif; }
.selection-tray[hidden] { display: none; }
.selection-tray .selection-status { color: #435573; font: 12px/1.5 system-ui,sans-serif; margin: 4px 0 0; max-width: 380px; }
.selection-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.selection-tray button, .selection-review button { border: 1px solid #17347540; border-radius: 99px; min-height: 44px; padding: 10px 16px; background: transparent; color: #173475; cursor: pointer; font: 500 13px/1.4 system-ui,sans-serif; }
.selection-tray .selection-save { background: #2447a2; color: white; }
.selection-tray button[hidden] { display: none; }
.selection-tray button:disabled, .photo-select:disabled { opacity: .55; cursor: wait; }
.has-photo-selection { padding-bottom: 180px; }
.has-photo-selection .music-dock { bottom: 165px; }
body:has(.consent-banner:not([hidden])) .selection-tray { visibility: hidden; }
.selection-review { width: min(900px,calc(100% - 24px)); max-height: 85svh; background: #f8f5ed; color: #173475; border: 0; border-radius: 16px; padding: 24px; }
.selection-review::backdrop { background: #06152bd9; }
.selection-review header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.selection-review h2 { font: 28px/1.2 Georgia,serif; margin: 0; color: #173475; }
.selection-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.selection-review figure { margin: 0; text-align: center; }
.selection-review img { width: 100%; height: 180px; object-fit: contain; display: block; margin-bottom: 8px; }
.photo-save-dialog { box-sizing: border-box; width: min(590px,calc(100% - 28px)); max-height: calc(100svh - 32px); padding: clamp(22px,4vw,36px); border: 1px solid #d7bf90; border-radius: 18px; background: #f8f5ed; color: #173475; box-shadow: 0 18px 70px #07152b66; font: 14px/1.55 system-ui,sans-serif; }
.photo-save-dialog::backdrop { background: #06152bc9; backdrop-filter: blur(5px); }
.photo-save-dialog, .selection-review { margin: auto; }
.photo-save-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.photo-save-dialog h2 { margin: 5px 0 0; color: #173475; font: 32px/1.2 Georgia,serif; }
.photo-save-dialog .save-eyebrow { margin: 0; color: #52617b; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.photo-save-dialog button { min-height: 44px; padding: 12px 18px; border: 1px solid #2447a24d; border-radius: 99px; color: #173475; background: transparent; cursor: pointer; font: 500 14px/1.4 system-ui,sans-serif; }
.photo-save-options { display: flex; flex-direction: column; gap: 9px; margin-top: 22px; }
.photo-save-options button { width: 100%; background: #2447a2; color: #fff; border-color: #2447a2; }
.photo-save-dialog.has-folder [data-prepare-share], .photo-save-dialog.has-folder [data-download-files], .photo-save-dialog.has-device-share [data-download-files] { background: transparent; color: #2447a2; }
.photo-save-dialog header { position: sticky; top: 0; z-index: 1; padding-block: 6px; background: #f8f5ed; }
.photo-save-dialog p { margin: 10px 0; color: #52617b; font-size: 13px; }
.photo-save-options p { margin: 0 0 14px; font-size: 12px; }
.photo-save-dialog [hidden] { display: none !important; }
.photo-save-dialog button:disabled { opacity: .55; cursor: wait; }
.photo-save-dialog :focus-visible { outline: 3px solid #8dabe7; outline-offset: 3px; }
.photo-save-dialog .photo-save-status { padding: 14px; border-radius: 8px; background: #e9edf5; color: #173475; }
.individual-save-links { margin-top: 20px; padding-top: 16px; border-top: 1px solid #17347522; }
.individual-save-links summary { cursor: pointer; min-height: 36px; }
.individual-save-links div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.individual-save-links a { display: block; padding: 12px; border: 1px solid #17347533; border-radius: 8px; color: #173475; text-align: center; font-size: 13px; text-underline-offset: 3px; }
body:has(.photo-save-dialog[open]), body:has(.selection-review[open]) { overflow: hidden; }
body .selection-tray { bottom: max(12px,env(safe-area-inset-bottom)); }
body.has-photo-selection { padding-bottom: calc(var(--photo-tray-height,180px) + 90px + env(safe-area-inset-bottom)); }
body.has-photo-selection .music-dock { bottom: calc(var(--photo-tray-height,180px) + 32px + env(safe-area-inset-bottom)); }
@media(max-width:650px) { .selection-tray { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; bottom: 8px; } .selection-actions { justify-content: center; } .selection-tray button { padding: 9px 12px; font-size: 12px; } .selection-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .selection-review { padding: 18px; } .film .select-section { margin-left: 0; margin-right: 12px; } .has-photo-selection .music-dock { bottom: 200px; } }
