.trv-ffp-async-status{font:inherit;padding:.6rem .8rem;margin:.6rem 0;border-radius:6px;background:#f3f5f8;color:#263247}.trv-ffp-async-status button{margin-inline-start:.6rem}.trv-ffp-async-space{display:none;min-height:clamp(260px,46vw,420px);align-items:center;justify-content:center;background:#f6f7f9;border-radius:8px}.trv-ffp-async-space[data-visible="true"]{display:flex}.trv-ffp-async-status[data-state="ready"]{background:transparent;padding-block:.2rem}.trv-ffp-noscript:empty{display:none}
.trv-ffp-image-shell{box-sizing:border-box;max-width:100%;margin-inline:auto;overflow:hidden;aspect-ratio:var(--trv-shirt-ratio);position:relative}.trv-ffp-image-shell>img{display:block;width:100%;height:100%;object-fit:var(--trv-shirt-fit,contain)}.trv-ffp-image-shell[hidden]{display:none}

/* Ordinary loading/ready states are silent; actionable errors stay visible. */
.trv-ffp-async-status{display:none}.trv-ffp-async-status[data-state="error"]{display:block}

/* The early image and renderer occupy the same card and APF number-field slot. */
.trv-ffp-image-shell{aspect-ratio:auto;width:100%;max-width:100%;min-width:0;min-height:0;flex:0 0 100%;align-self:stretch;box-sizing:border-box;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;padding:24px 20px 28px;margin:20px 0;text-align:center}
.trv-ffp-image-frame{box-sizing:border-box;max-width:100%;aspect-ratio:var(--trv-shirt-ratio)}
.trv-ffp-image-frame>img{display:block;width:100%;height:100%;object-fit:var(--trv-shirt-fit,contain)}
/* Keep renderer width measurable, but contribute no second card while it warms. */
.trv-ffp-image-pending #ffp-preview{height:0!important;min-height:0!important;max-height:0!important;margin-block:0!important;padding-block:0!important;border-block-width:0!important;overflow:hidden!important;pointer-events:none!important}
@media(max-width:768px){.trv-ffp-image-shell{padding:18px 14px 22px;border-radius:10px}}
