/* Match uploaded artwork to the placement while preserving its proportions. */
.managed-banner-host{position:relative;min-width:0;height:150px;min-height:0;padding:0!important;background:#0e170c;overflow:hidden;box-sizing:border-box}.managed-banner-host .managed-live-banner{position:relative;display:block;width:100%;height:100%;overflow:hidden}.managed-banner-host .managed-live-banner>img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;margin:0}.compact-banner.managed-banner-host{height:120px}#chatBannerPlacement.managed-banner-host,#tradeRegistrationBanner.managed-banner-host,#tradeDetailBanner.managed-banner-host,#mypageBannerPlacement.managed-banner-host{height:90px;margin-top:12px;flex-shrink:0}.ad-banner.has-uploaded-banner{position:relative;padding:0;overflow:hidden;height:145px;min-height:0}.ad-banner.has-uploaded-banner .uploaded-calendar-banner{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}.uploaded-banner-caption{position:absolute;left:5px;bottom:5px;padding:3px 7px;background:#000b;font-size:9px}.custom-banner>img{object-fit:contain;background:#0e170c}.approved-placement img{object-fit:contain;object-position:center}.carousel-slide[data-ad-live=true]{background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important;background-color:#0d160c}.admin-map-slot.occupied img,.admin-preview-uploaded,.admin-image-preview,.request-banner-thumb{max-width:100%;object-fit:contain;object-position:center}@media(max-width:650px){.managed-banner-host{height:120px}.compact-banner.managed-banner-host{height:100px}#chatBannerPlacement.managed-banner-host,#tradeRegistrationBanner.managed-banner-host,#tradeDetailBanner.managed-banner-host,#mypageBannerPlacement.managed-banner-host{height:75px}.ad-banner.has-uploaded-banner{height:115px}}

/* Compact upload preview, including received forms whose IDs are removed. */
#calendarBannerPreview,[data-receipt-id="calendarBannerPreview"]{width:100%;max-width:100%;overflow:hidden;margin:8px 0 12px;box-sizing:border-box}#calendarBannerImage,[data-receipt-id="calendarBannerImage"]{display:block!important;width:100%!important;max-width:100%!important;height:56px!important;max-height:56px!important;min-height:0!important;object-fit:contain!important;object-position:center;background:#0f190c;border:1px solid #4d603a;border-radius:3px;margin:0!important;box-sizing:border-box}#calendarBannerPreview>button,[data-receipt-id="calendarBannerPreview"]>button{padding:6px 12px;margin-top:6px;font-size:10px}
