.stamp-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:72px;height:72px;color:var(--stamp-ink);transform:rotate(var(--stamp-tilt));background:none;line-height:1.2;isolation:isolate}
.stamp-art>.sticker-paper{position:absolute;inset:0;z-index:-1;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 1px 1px #3d2e2226) drop-shadow(0 4px 4px #3d2e2221)}
.stamp-art>svg:not(.sticker-paper){position:relative;flex-shrink:0;width:25px;height:25px;stroke-width:2.05;fill:color-mix(in srgb,var(--stamp-ink) 8%,transparent)}
.stamp-art strong{position:relative;font-size:11px;font-weight:750;letter-spacing:.2px;white-space:nowrap}
.stamp-shape-oval{width:78px}
.memory-cover-stamp{position:absolute!important;z-index:2;width:54px;height:54px;max-width:none;gap:2px;padding:5px 4px!important;color:var(--stamp-ink)!important;background:none!important;line-height:1.2!important;font-size:9px!important;border-radius:0!important;isolation:isolate}
.memory-cover-stamp strong{font-size:8px;white-space:nowrap;font-weight:750;letter-spacing:0}.memory-cover-stamp>svg:not(.sticker-paper){width:18px;height:18px}.memory-cover-stamp small{position:absolute;right:-1px;bottom:0;z-index:2;display:grid;place-items:center;min-width:17px;height:15px;font-size:8px;font-weight:650;border:1px solid #eeeae3;padding:0 3px;border-radius:9px;background:#fff;color:#847764;box-shadow:0 2px 4px #33281e20}.memory-cover-stamp.stamp-shape-ticket{width:58px}.memory-cover-stamp.stamp-shape-oval{width:62px;height:52px}
.stamp-at-bottom-right{bottom:11px!important;right:8px!important;left:auto!important;top:auto!important}.stamp-at-top-left{top:11px!important;left:9px!important;right:auto!important;bottom:auto!important}
.records.is-grid .has-stamp-top .seen-chip{display:none}.records.is-list .memory-cover-stamp{display:none}
.memory-inline{display:none}.records.is-list .memory-inline{display:flex;flex-wrap:wrap;gap:5px;margin:5px 0 1px}.memory-inline>span{display:flex;align-items:center;gap:3px;font-size:9px;color:var(--stamp-ink);background:#f4f1e8;border:2px solid #fff;padding:3px 6px;border-radius:8px;box-shadow:0 1px 3px #30251b14}.memory-inline svg{width:10px;height:10px}
.detail-picture .memory-cover-stamp{width:76px;height:76px;padding:8px 5px!important;right:18px!important;bottom:18px!important;gap:4px}.detail-picture .memory-cover-stamp.stamp-shape-oval{width:82px}.detail-picture .memory-cover-stamp>svg:not(.sticker-paper){width:26px;height:26px}.detail-picture .memory-cover-stamp strong{font-size:11px}.detail-picture .memory-cover-stamp small{min-width:20px;height:18px;font-size:9px;bottom:4px}.detail-picture .stamp-at-top-left{top:19px!important;left:18px!important;right:auto!important;bottom:auto!important}
.memory-detail-section{border-top:1px solid #e7e6dd;border-bottom:1px solid #e7e6dd;padding:11px 0 12px;margin:18px 0 22px}.memory-detail-heading{display:flex;align-items:center;gap:8px}.memory-detail-heading h3{font-size:12px;margin:0!important;font-weight:500;flex:1;color:#8a887e}.memory-edit-button{display:flex;align-items:center;gap:5px;min-height:44px;border-radius:22px;background:#eeece4;padding:0 12px;font-size:11px;color:#787469}.memory-edit-button svg{width:15px;height:15px}
.memory-detail-stamps{display:flex;gap:20px;padding:16px 6px 2px}.memory-detail-stamps>div{position:relative}.memory-detail-stamps>div>button{position:absolute;right:-13px;top:-8px;display:grid;place-items:center;min-width:30px;min-height:30px;border-radius:50%;background:#eeece5;color:#9b9586;font-size:17px;z-index:2}.detail-content .memory-detail-caption{font-size:10px;color:#a4a093;line-height:1.6;margin-top:8px}

.stamp-preview-picture{position:relative;min-height:124px;border-radius:20px;background-image:url('../assets/moments.png');background-size:300% auto;overflow:hidden;background-color:#e8e5dc;margin:2px 0 14px}.stamp-preview-label{position:absolute;top:10px;left:11px;padding:4px 8px;border-radius:12px;background:#ffffffca;color:#8f8a7e;font-size:9px}.stamp-preview-picture:has(.stamp-at-top-left) .stamp-preview-label{left:auto;right:10px}.stamp-preview-picture .memory-cover-stamp{width:68px;height:68px;padding:6px 5px!important;gap:3px;right:13px!important;bottom:14px!important;animation:stamp-press .2s ease-out}.stamp-preview-picture .memory-cover-stamp.stamp-shape-oval{width:75px}.stamp-preview-picture .memory-cover-stamp strong{font-size:10px}.stamp-preview-picture .memory-cover-stamp>svg:not(.sticker-paper){width:23px;height:23px}.stamp-preview-picture .stamp-at-top-left{top:14px!important;left:13px!important;right:auto!important;bottom:auto!important}
.stamp-selection-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:12px;color:#7c786d}.stamp-selection-heading small{font-size:10px;color:#aaa595}.stamp-catalog{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 6px;padding:0 0 10px}.stamp-catalog>button{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:86px;border:1px solid transparent;border-radius:18px;background:#f2f0e9;padding:9px 5px}.stamp-catalog>button[aria-pressed=true]{border-color:#ada693;background:#ebe7dc;box-shadow:inset 0 0 0 1px #ffffff85}.stamp-catalog>button:hover .sticker-paper{filter:drop-shadow(0 2px 1px #3d2e2226) drop-shadow(0 5px 5px #3d2e2226)}.stamp-catalog .stamp-art{width:63px;height:63px;gap:3px}.stamp-catalog .stamp-art>svg:not(.sticker-paper){width:23px;height:23px}.stamp-catalog .stamp-art strong{font-size:10px;letter-spacing:0}.stamp-choice-check{position:absolute;bottom:3px;right:5px;color:#b5af9d;font-size:12px}.stamp-catalog>button[aria-pressed=true] .stamp-choice-check{color:#716b59}
.stamp-position-controls{display:flex;align-items:center;gap:8px;padding:4px 0 8px;font-size:11px;color:#999382}.stamp-position-controls>span{flex:1}.stamp-position-controls button{min-height:44px;padding:0 13px;border-radius:20px;background:#eeece3;font-size:11px;color:#aaa38f}.stamp-position-controls button[aria-pressed=true]{background:#595447;color:#fff}
.stamp-editor-note{font-size:9px;line-height:1.7;color:#b1aa98;margin:7px 0 0}.stamp-editor-actions{display:flex;align-items:center;gap:10px;padding:10px 0 0}.stamp-editor-actions>button:first-child{min-height:44px;padding:0 12px;font-size:11px;color:#a8a08c;white-space:nowrap}.stamp-editor-actions .primary-button{margin:0;flex:1;min-height:44px}
.memory-filter-chips{display:flex;flex-wrap:wrap;gap:7px}.memory-filter-chips button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:0 12px;border:1px solid #e7e3d7;border-radius:20px;background:#fff;color:#8e8674;font-size:11px}.memory-filter-chips button svg{width:13px;height:13px;color:var(--stamp-ink,#96917e)}.memory-filter-chips button[aria-pressed=true]{border-color:#706954;background:#eeeadd;color:#6e654e}
.memory-filter-note{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 19px 8px;color:#a19883;font-size:11px}.memory-filter-note>button{min-height:32px;padding:0 5px;color:#827967;font-size:10px}
/* Wide previews show each mark; compact album covers keep their +1 badge. */
.memory-stamp-pair{position:absolute!important;z-index:2;display:flex;align-items:center;gap:10px;padding:0!important;background:none!important;isolation:isolate}
.memory-stamp-pair>.memory-cover-stamp.stamp-art{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;flex:none;transform:translateY(var(--pair-offset,0px)) rotate(var(--stamp-tilt))}
.memory-stamp-pair>.memory-cover-stamp:first-child{--pair-offset:-3px}.memory-stamp-pair>.memory-cover-stamp:last-child{--pair-offset:3px}
.detail-picture .memory-stamp-pair.stamp-at-bottom-right{right:18px!important;bottom:18px!important}.detail-picture .memory-stamp-pair.stamp-at-top-left{left:18px!important;top:19px!important}
.stamp-preview-picture .memory-stamp-pair.stamp-at-bottom-right{right:13px!important;bottom:14px!important}.stamp-preview-picture .memory-stamp-pair.stamp-at-top-left{left:13px!important;top:14px!important}
@keyframes stamp-press{from{opacity:.3;transform:translateY(var(--pair-offset,0px)) rotate(var(--stamp-tilt)) scale(1.15)}to{opacity:1;transform:translateY(var(--pair-offset,0px)) rotate(var(--stamp-tilt)) scale(1)}}
@media(max-width:360px){.stamp-catalog{gap:7px 4px}.stamp-catalog .stamp-art{width:57px;height:57px}.stamp-catalog .stamp-art strong{font-size:9px}.stamp-catalog>button{min-height:80px;padding-inline:3px}.records.is-grid .memory-cover-stamp{width:50px;height:50px;padding:4px!important}.records.is-grid .memory-cover-stamp.stamp-shape-ticket{width:55px}.records.is-grid .memory-cover-stamp.stamp-shape-oval{width:58px}.records.is-grid .memory-cover-stamp>svg:not(.sticker-paper){width:17px;height:17px}.records.is-grid .memory-cover-stamp strong{font-size:7.5px}.memory-filter-note{padding-inline:16px}}
@media(prefers-reduced-motion:reduce){.stamp-preview-picture .memory-cover-stamp{animation:none}}
