.memory-selection-limit{padding:12px 14px;background:#eef5ff;border:1px solid #d4e4fa;border-radius:9px;color:#315d94;font-size:12px;line-height:1.9;margin:0 0 15px}
.memory-selection-limit.is-full{background:#edf5f0;color:#37634a;border-color:#cce0d1}
.memory:disabled{cursor:not-allowed;opacity:.5}.memory.selected:disabled{opacity:.85}
.memory-mood-picker{margin:24px 0 18px;padding:19px;border:1px solid #d8e4f3;border-radius:11px;background:#f8fbff}
.memory-mood-picker label{display:block;font-size:13px;font-weight:600;color:#335b88}.memory-mood-picker select{width:100%;font:inherit;font-size:13px;line-height:1.8;margin-top:10px}
.memory-mood-picker p{font-size:11px;line-height:1.9;color:#71869e;margin:10px 0 0}.memory-mood-picker .memory-mood-note{color:#42688f;border-top:1px solid #dde8f5;padding-top:10px}
.card-page .themes{display:flex;flex-wrap:wrap;gap:8px}.card-page .themes>span{width:100%}.card-page .themes button{font-size:11px;padding:8px 11px}
.compact-memory-card{padding:0!important;overflow:visible;border-radius:12px;background:#fff!important;aspect-ratio:4/5;box-shadow:0 10px 32px #183e6a0c}
.compact-memory-card #cardCanvas{border-radius:12px;display:block;width:100%;height:auto;aspect-ratio:4/5}
.compact-memory-card .card-remove-button{width:24px;height:24px;padding:0;border-radius:50%;font:17px/1 Arial,sans-serif;background:#fff;color:#6c7c8f;border:1px solid #d8e1eb;box-shadow:0 1px 4px #20384f15;transform:translate(-50%,-50%)}
.compact-memory-card .card-remove-button:hover{color:#b33c3c;background:#fff3f3;border-color:#edbaba}
.card-page #nextCard{border-color:#bdd0e8;color:#2764a8;background:#f3f8ff}.card-page #restoreCard{text-align:center;font-size:12px;padding:10px}
.legacy-card-notice{padding:15px;background:#f1f5fb;border:1px solid #d6e1ef;border-radius:10px;margin:0 0 18px;color:#5f7894}.legacy-card-notice p{font-size:12px;line-height:1.9;margin:0 0 10px}.legacy-card-notice>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.legacy-card-notice span{font-size:10px}.legacy-card-notice button{font-size:11px;padding:7px}
.feed-memory-card .feed-card-art{display:block;width:100%;height:auto;aspect-ratio:10/3;object-fit:cover;border-radius:9px;margin:17px 0 10px}.feed-card-emotion{font-size:11px!important;line-height:1.9!important;color:var(--card-accent)!important;margin:10px 0 16px!important}
.memory-mood-picker select:focus-visible,.card-remove-button:focus-visible,#nextCard:focus-visible,#restoreCard:focus-visible{outline:2px solid #1877f2;outline-offset:3px}
@media(max-width:600px){.memory-mood-picker{padding:16px}.compact-memory-card .card-remove-button{width:22px;height:22px;font-size:16px}.card-page .themes button{padding:8px 10px}.feed-memory-card .feed-card-art{margin-top:14px}}
