.event-section-tabs{gap:14px;align-items:stretch;justify-content:space-between;margin-bottom:18px}
.event-section-tabs button{gap:6px;white-space:nowrap;min-height:44px;font-size:11px}
.event-section-tabs button>span{white-space:nowrap;font-size:9px}
.event-section-tabs>.event-memory-scroll{display:flex;align-items:center;gap:4px;margin-left:auto;padding:10px 0 13px;min-height:44px;border-bottom:2px solid transparent;font-size:11px;line-height:1.4;white-space:nowrap;text-decoration:none;color:var(--blue)}
.event-collection-panel>.event-collection-heading{margin-bottom:10px}
.event-collection-panel>.event-collection-heading .detail-heading{margin-bottom:0}
.event-collection-panel>.event-collection-heading:has(+.album-reorder-toolbar){margin-bottom:0}
.event-collection-panel>.album-reorder-toolbar{margin:2px 0 10px}
@media(max-width:360px){.event-section-tabs{gap:10px}.event-section-tabs button,.event-section-tabs>.event-memory-scroll{font-size:10px}.event-section-tabs button{gap:4px}.event-section-tabs button>span{font-size:8px;padding-inline:5px}.event-collection-panel>.event-collection-heading{gap:8px}.event-collection-panel>.event-collection-heading .detail-heading{font-size:23px}}
.album-reorder-toolbar{margin:15px 0}
.album-reorder-toolbar>.text-link{font-size:11px;gap:7px;min-height:36px}
.album-reorder-toolbar p{display:flex;align-items:center;min-height:36px;font-size:11px;line-height:1.6;color:var(--muted)}
:root.album-reordering{overflow-anchor:none;scroll-behavior:auto}
.is-reordering{overflow-anchor:none}
.album-reorder-done{position:fixed;z-index:40;right:18px;bottom:34px;display:grid;place-items:center;width:50px;height:50px;padding:0;border:2px solid var(--paper);border-radius:50%;background:var(--blue);color:#fff9ed;box-shadow:0 4px 18px #14293638;cursor:pointer}
.album-reorder-done:hover{background:#1c3d83}
@media(max-width:759px){.album-reorder-done{bottom:calc(96px + env(safe-area-inset-bottom))}}
.is-reordering [data-photo]{touch-action:none;cursor:grab;outline:1px dashed var(--blue);outline-offset:-1px}
.is-reordering [data-photo] img{pointer-events:none;-webkit-user-drag:none;user-select:none}
.is-reordering .empty-frame{display:none}
.is-reordering [data-photo].is-selected{outline:3px solid var(--blue);outline-offset:-3px}
.is-reordering [data-photo].is-dragging{opacity:.18;cursor:grabbing}
.album-drag-ghost{position:fixed;z-index:200;pointer-events:none;padding:0;border:2px solid #fff9ed;background:#c7d7e1;box-shadow:0 12px 32px #14293650;transform:rotate(3deg) scale(1.04);overflow:hidden;cursor:grabbing}
.album-drag-ghost>img{display:block;width:100%;height:100%;object-fit:cover}
.album-drag-ghost .frame-number{color:#fff;background:#15293888;padding:4px;bottom:5px;left:5px}
.photo-album-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;border-top:1px solid var(--rule);padding-top:17px}
.photo-album-actions .secondary{font-size:12px;padding:11px 14px;min-height:44px;gap:7px}
.photo-album-actions .delete-photo{color:#9a4038;min-height:44px;font-size:12px;gap:7px}
.delete-photo-preview{width:100%;height:180px;object-fit:contain;background:#dbe3e5;margin-bottom:15px}
.album-download{border-top:1px solid var(--rule);margin-top:32px;padding:26px 0 8px}
.album-download h2{font:400 27px/1.15 var(--serif);margin:0 0 7px}
.album-download p{font-size:11px;color:var(--muted);line-height:1.6}
.album-download .secondary{display:flex;gap:9px;min-height:46px;font-size:12px;margin-top:17px}
.album-download-status{min-height:18px;margin-top:9px}
@media(max-width:360px){.photo-album-actions{gap:8px}.photo-album-actions .secondary{font-size:11px;padding-inline:10px}.photo-album-actions .delete-photo{font-size:11px}}

.album-grid-tools{display:flex;align-items:center;flex-wrap:wrap;gap:0 22px;margin:0 0 12px}
.album-grid-tools>.album-reorder-toolbar,.album-grid-tools>.memory-selection-toolbar{margin:0}
.album-grid-tools .text-link{display:inline-flex;align-items:center;gap:7px;min-height:40px;font-size:11px}
.memory-selection-toolbar.is-editing{flex:1 0 100%;padding:0;background:none;border:0}
.memory-selection-toolbar p{font:12px/1.6 var(--sans);margin:3px 0 5px;color:var(--muted)}
.memory-selection-actions{display:flex;gap:22px}.memory-selection-error{color:#963c3c!important}
.memory-selection-floating{position:fixed;right:16px;bottom:calc(96px + env(safe-area-inset-bottom));z-index:25;display:flex;align-items:center;gap:9px}
.memory-selection-floating>[data-memory-selection-count]{display:block;white-space:nowrap;padding:9px 13px;background:var(--paper);border:1px solid var(--rule);border-radius:30px;box-shadow:0 3px 12px #24394d15;font:500 13px/1.2 var(--sans);font-variant-numeric:tabular-nums;color:var(--ink)}
.memory-selection-floating>[data-memory-selection-count]>span{color:var(--muted);padding:0 2px}
.event-photo-grid.is-selecting-scroll .filled-frame{position:relative;cursor:pointer;touch-action:manipulation}.is-selecting-scroll .filled-frame img{opacity:.65}.is-selecting-scroll .filled-frame.is-in-scroll img{opacity:1}.is-selecting-scroll .filled-frame.is-in-scroll{outline:3px solid var(--blue);outline-offset:-3px}
.memory-choice-mark{position:absolute;right:10px;top:10px;width:28px;height:28px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#fffdf7;box-shadow:0 1px 5px #0004;color:transparent}.is-in-scroll .memory-choice-mark{background:var(--blue);color:white}
.memory-selection-done{flex-shrink:0;width:52px;height:52px;z-index:25;border:1px solid #fff8;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;box-shadow:0 4px 18px #24394d30}.memory-selection-done:disabled{opacity:.6}.memory-selection-done:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.event-guest-allowance{padding:20px 0;border-bottom:1px solid var(--rule);margin-bottom:24px}.event-guest-allowance h3{font:400 24px/1.3 var(--serif)}.event-guest-allowance p{font:14px/1.6 var(--sans)}
