/* Loaded in the head only with the original-photo service. Applies before
   first paint, including cards returned by an older short-lived response. */
[data-hapen-photo]:not([data-photo-state="ready"])>img:not([data-photo-original="true"]){visibility:hidden!important}
[data-hapen-photo][data-photo-state="ready"]>.hapen-photo-status{display:none}
[data-hapen-photo]>.hapen-photo-status{font:400 12px/1.5 var(--hapen-font);color:var(--hapen-muted);padding:20px;text-align:center;pointer-events:none}
.ha-card .ha-card-photo{position:relative;display:grid;place-items:center;overflow:hidden;min-height:112px;width:108px;flex:0 0 108px;align-self:stretch;background:var(--hapen-paper)}
.ha-card .ha-card-photo>img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
.ha-card .ha-card-photo>.hapen-photo-status{padding:8px;font-size:10px}
@media(max-width:600px){.ha-card .ha-card-photo{width:87px;flex-basis:87px}}
