.mood-demo-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.mood-demo-intro h2{margin:10px 0 8px}.mood-demo-intro>.row{flex:none}.mood-demo-intro .pill{font-size:11px}
#modal.mood-preview-dialog{width:min(560px,calc(100vw - 32px));max-width:560px;padding:24px;background:#f7f9fc;color:#273b60}.mood-preview-heading h2{font-size:21px;margin:8px 0}.mood-preview-note,.mood-footnote{font-size:12px;line-height:1.8;color:#64748b;margin:8px 0 16px}.mood-controls{display:flex;gap:8px}.mood-controls button{flex:1;min-height:44px}.mood-controls button[aria-pressed=true]{background:#eaf0ff;border-color:#a8b9f4;color:#3458d4;font-weight:700}.mood-status{font-size:12px;line-height:1.7;min-height:21px;margin:12px 0;color:#526581}.mood-stage{position:relative;isolation:isolate;overflow:hidden;width:100%;height:min(60dvh,650px);min-height:220px;border:1px solid #dce4ef;border-radius:14px;background:#fff}.mood-page-scroll{height:100%;overflow:auto;overscroll-behavior:contain;position:relative}.mood-page-scroll .page{min-height:100%}.mood-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}.mood-footnote{margin:12px 0 0}.mood-preview-dialog>.close{position:relative;z-index:2}.mood-page-scroll a:focus-visible{outline:3px solid #4165e8;outline-offset:-3px}
@media(max-width:760px){.mood-demo-intro{display:block}.mood-demo-intro>.row{margin-top:16px}.mood-demo-intro>.row button{flex:1;min-height:44px}#modal.mood-preview-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px 14px}.mood-preview-heading h2{font-size:19px}.mood-stage{height:52dvh}.mood-preview-note{font-size:12px}}

.mood-apply-footer{border-top:1px solid #dce4ef;margin-top:16px;padding-top:12px}.mood-apply-footer p{font-size:12px;color:#64748b;line-height:1.7}.mood-apply-footer button{width:100%;min-height:44px}.mood-settings .row{margin:16px 0}.mood-settings button{min-height:44px}
.has-page-mood{position:relative;isolation:isolate}.page-mood-layer{position:absolute;inset:0;pointer-events:none;z-index:2;overflow:clip;border-radius:inherit}.page-mood-viewport{position:sticky;top:0;height:min(100dvh,100%);width:100%;pointer-events:none}.visitor-mood-toggle{display:block;margin:0 auto 12px;min-height:44px}

/* Clip page edges without creating a non-scrolling sticky container. */
.published-wrap:has(.has-page-mood){overflow:clip}

.mood-demo-intro{display:block}.mood-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px}.mood-choice-grid button{min-width:0;min-height:44px}.mood-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.mood-controls [data-mood=off]{grid-column:1/-1}.mood-controls button{min-width:0}.mood-preview-dialog:has(.mood-controls) .mood-stage{height:min(42dvh,420px)}
@media(max-width:360px){.mood-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.mood-controls,.mood-choice-grid{--button-height:44px}

.christmas-collection{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}.christmas-collection>img{width:100%;border-radius:12px;aspect-ratio:12/5;object-fit:cover}.christmas-collection h2{margin:10px 0}.christmas-collection p{font-size:13px;line-height:1.8;color:#64748b}.christmas-collection .row{margin-top:14px}@media(max-width:760px){.christmas-collection{grid-template-columns:1fr;gap:16px}}

.mood-choice-grid button small{display:block;font-size:11px;font-weight:400;color:var(--ui-muted,#64748b);margin-top:5px}.mood-choice-grid button{padding:12px 8px}.mood-purchase-art{font-size:64px;text-align:center;padding:40px;background:#eef3ff;border-radius:14px}.mood-preview-dialog .mood-controls{max-height:188px;overflow-y:auto;padding:3px}.mood-preview-dialog .mood-controls button{flex-shrink:0}

.mood-preview-dialog .mood-controls button{font-size:12px;white-space:nowrap;padding-inline:6px}.mood-preview-dialog:has(.mood-controls) .mood-stage{height:clamp(220px,30dvh,320px)}
@media(max-height:760px){.mood-preview-dialog .mood-controls{max-height:104px}.mood-preview-dialog .mood-preview-note{font-size:11px;margin:6px 0 10px}.mood-preview-dialog .mood-apply-footer{margin-top:8px;padding-top:8px}.mood-preview-dialog .mood-footnote{font-size:11px}}

.mood-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mood-card-grid button.mood-choice-card{display:flex;flex-direction:column;align-items:stretch;padding:0;overflow:hidden;min-width:0;text-align:left;border:1px solid #dce4ef;border-radius:12px;background:#fff;font-weight:400;white-space:normal;height:auto}
.mood-choice-art{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;width:100%;background:#eef3fa}.mood-choice-art svg{display:block;width:100%;height:100%;object-fit:cover}
.mood-choice-copy{display:grid;gap:7px;padding:13px;flex:1}.mood-choice-copy strong{font-size:14px;font-weight:650;color:#273b61}.mood-choice-card .mood-choice-copy small{margin:0;font-size:11px;word-break:keep-all;line-height:1.6;color:#64748b}.mood-choice-description{font-size:12px;line-height:1.7;color:#71809a;font-weight:400;word-break:keep-all}.mood-choice-preview{margin-top:auto;padding-top:4px;font-size:12px;font-weight:600;color:#4563ed}
.mood-card-grid .mood-choice-card.is-applied{border-color:#4563ed;box-shadow:0 0 0 1px #4563ed}.mood-applied-badge{position:absolute;bottom:8px;left:8px;font-size:11px;background:#fff;color:#405ee6;border-radius:6px;padding:3px 7px;font-weight:650}
@media(max-width:1100px){.mood-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.mood-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mood-choice-copy{padding:11px}}
