.moment { border-bottom: 1px solid #c8c9bd; }
.moment h2 { font-size: clamp(2.2rem, 6.5vw, 5rem); overflow-wrap: anywhere; }
.moment-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 64px); align-items: start; }
.moment canvas { display: block; width: min(100%, 360px); height: auto; margin: auto; background: #fff; border-radius: 12px; }
.moment-controls { display: grid; gap: 14px; }
.moment-controls label { display: grid; gap: 6px; font-weight: 600; }
.moment-controls .moment-check { display: flex; align-items: center; }
.moment-controls input, .moment-controls select { max-width: 100%; font: inherit; accent-color: #31452d; }
.moment-controls select { width: 100%; padding: 9px; }
.moment-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.moment-actions .pill { font-size: .95rem; }
.moment-actions button:disabled { opacity: .55; cursor: default; }
.moment-controls p { margin: 0; line-height: 1.5; }
.moment [role=status]:empty { display: none; }
@media (max-width: 680px) { .moment-layout { grid-template-columns: 1fr; } .moment canvas { width: min(100%, 255px); } }
.moment canvas { touch-action: none; cursor: grab; }
.moment canvas:active { cursor: grabbing; }

.asset-library { margin-top: 28px; padding: clamp(14px, 2vw, 24px); background: #f1f2e8; border-radius: 14px; }
.asset-library summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.asset-library summary::-webkit-details-marker { display: none; }
.asset-library summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.asset-library[open] summary::after { transform: rotate(225deg); }
.asset-library summary small { display: block; margin-top: 6px; color: #555b50; font-size: .95rem; }
.asset-library svg { width: 18px; height: 18px; flex: none; }
.moment-downloads { display: grid; grid-template-columns: repeat(4, minmax(0, 13rem)); gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #c8c9bd; }
.moment-downloads a { display: grid; align-content: start; gap: 12px; padding: 10px; border: 1px solid #c8c9bd; border-radius: 10px; color: inherit; text-decoration: none; }
.moment-downloads a:hover { border-color: #555b50; }
.asset-preview { display: grid; place-items: center; height: clamp(6rem, 14vw, 8rem); background: repeating-conic-gradient(#e5e6dc 0 25%, white 0 50%) 0 0 / 20px 20px; }
.asset-preview img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.asset-caption { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.asset-library > p { margin-top: 18px; color: #555b50; }
@media (max-width: 760px) { .moment-downloads { grid-template-columns: repeat(2, minmax(0, 13rem)); } }
@media (max-width: 350px) { .moment-downloads { grid-template-columns: minmax(0, 13rem); } }
