/* Small screens keep the essentials; existing dialogs carry the full details. */
@media(max-width:760px){
 #event-story:has(.ace-event),#event-story:has(.line-launch){min-width:0;margin-top:12px}
 .ace-event,.line-launch,.ace-event section,.line-launch section{min-width:0;overflow-wrap:anywhere}
 .ace-event .ace-heading h1{font-size:clamp(1.7rem,7vw,2.2rem);margin:8px 0}
 .ace-event .ace-heading>p{font-size:.875rem;line-height:1.4}
 .ace-event .ace-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 12px;margin-bottom:18px}
 .ace-event .ace-facts>div:first-child{grid-column:1/-1;padding:7px 0;border-bottom:1px solid #51352918}
 .ace-event .ace-facts>div+div{border-top:0;padding:9px 0;gap:7px}
 .ace-event .ace-facts>div:last-child{border-left:1px solid #51352918;padding-left:10px}
 .ace-event .ace-facts dt{font-size:.625rem}.ace-event .ace-facts dd{font-size:.8125rem;line-height:1.35}
 .ace-event .ace-facts>div:first-child dd small{display:inline;margin-left:8px;font-size:.75rem}
 .ace-event .ace-facts .ace-icon{flex-basis:26px;width:26px;height:26px}.ace-event .ace-facts .ace-icon svg{width:16px;height:16px}
 .ace-event .ace-intro{display:none}
 .ace-event .ace-activities>h2{font-size:1.3rem;margin:0 0 12px}
 .ace-event .ace-activities .ace-grid{gap:10px}
 .ace-event .ace-activities .ace-grid article{grid-template-columns:72px minmax(0,1fr);border-radius:16px}
 .ace-event .ace-card-copy{padding:10px 12px}.ace-event .ace-card-copy h3{font-size:.875rem;line-height:1.35;margin:0 0 6px}.ace-event .ace-card-copy>p{display:none}
 .ace-event .ace-card-copy .pill{min-height:44px;width:100%;font-size:.75rem;line-height:1.35;padding:8px 10px;white-space:normal}
 .ace-event .ace-gifts{margin:18px 0;padding:16px 10px 12px}.ace-event .ace-gifts>p:not(.ace-terms){display:none}.ace-event .ace-gifts>h2{font-size:1.25rem;margin:0 0 12px}
 .ace-event .ace-gifts .ace-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .ace-event .ace-gifts .ace-grid article{grid-template-columns:52px minmax(0,1fr);gap:6px;padding:10px;border-radius:14px}
 .ace-event .ace-gifts .ace-art{width:52px;grid-row:1;aspect-ratio:1}
 .ace-event .ace-gifts .ace-gift-label{font-size:.6875rem;line-height:1.35;padding:6px;overflow-wrap:normal}
 .ace-event .ace-gifts .ace-grid article>p{grid-column:1/-1;font-size:.75rem;line-height:1.4;margin:4px 0 0;text-align:center}
 .ace-event .ace-gifts .ace-grid article:last-child{grid-column:1/-1;grid-template-columns:64px minmax(0,1fr);gap:2px 12px}
 .ace-event .ace-gifts .ace-grid article:last-child .ace-art{width:64px;grid-row:1/span 2}
 .ace-event .ace-gifts .ace-grid article:last-child>p{grid-column:2;text-align:left}
 .ace-event .ace-gifts .ace-terms{display:none}
 .ace-event .ace-schedule{margin:18px 0}.ace-event .ace-schedule>h2{font-size:1.125rem;margin-bottom:10px!important}.ace-event .ace-schedule>p{display:none}
 .ace-event .ace-note{padding:10px;margin:0}.ace-event .ace-note h3{font-size:.8125rem}.ace-event .ace-note p{font-size:.6875rem;line-height:1.45}
 .ace-event .ace-footer{margin-top:16px;padding-top:12px;gap:8px}.ace-event .ace-footer>a{min-height:44px;display:flex;align-items:center}.ace-event .ace-footer .pill{justify-content:center;font-size:.75rem}
 .line-launch-hero{gap:10px}.line-launch-media{border-radius:16px}
 .line-launch-invitation{padding:16px;border-radius:16px}
 .line-launch-invitation>.event-status,.line-launch-invitation>small{display:none}
 #event-story .line-launch-invitation h1{font-size:clamp(1.45rem,6vw,1.8rem);line-height:1.2;margin:0 0 10px}
 .line-available{font-size:.75rem;padding:5px 10px;gap:6px;max-width:100%;box-sizing:border-box}.line-available>span{padding:4px}
 .line-launch-invitation>p{font-size:.875rem;line-height:1.45;margin:10px 0 12px}
 .line-launch-invitation .pill{font-size:.8125rem;min-height:44px;padding:10px 12px;margin-bottom:6px;line-height:1.35;white-space:normal}
 .line-launch-invitation .pill:last-of-type{margin-bottom:0}
 .line-launch-bottom{display:block;margin:20px 0 16px}.line-launch-copy{display:none}
 .line-sticker-preview h2{font-size:1.125rem}.line-sticker-preview>p{font-size:.6875rem;line-height:1.4;margin-bottom:10px}
 .line-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.line-preview-media{border-radius:12px}
 .line-launch-footer{gap:8px;margin-top:16px;padding-top:10px}.line-launch-footer .line-store-button{display:none}.line-launch-footer>.event-all-link{min-height:44px;display:inline-flex;align-items:center}
 #ace-info-dialog .ace-modal-columns>div,.ace-time-block,.ace-modal-body{min-width:0;overflow-wrap:anywhere}
}
@media(max-width:350px){
 .line-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ace-event .ace-gifts .ace-grid{grid-template-columns:1fr}
 .ace-event .ace-gifts .ace-grid article{grid-template-columns:64px minmax(0,1fr);gap:4px 10px}
 .ace-event .ace-gifts .ace-art{width:64px;grid-row:1/span 2}
 .ace-event .ace-gifts .ace-grid article>p{grid-column:2;text-align:left}
 .ace-event .ace-facts .ace-icon{display:none}.ace-event .ace-facts>div:first-child dd small{display:block;margin-left:0}
}

@media(max-width:760px){
 .product-detail-layout .gallery-stage>.gallery-expand{top:calc(var(--photo-top,0px) + 10px);right:calc(var(--photo-right,0px) + 10px);width:44px;height:44px;min-height:44px;padding:12px;border-radius:12px;background:#fffaf0ed;box-sizing:border-box;z-index:4}
 .product-detail-layout .gallery-stage>.gallery-expand svg{width:18px;height:18px}
}
