.info .site-preview{display:block;position:relative;box-sizing:border-box;width:100%;aspect-ratio:1 / 1;overflow:hidden;background:#091722b3;border:1px solid #c9dce526;border-radius:7px;margin:12px 0 14px;line-height:0}
.info .site-preview img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.site-preview[hidden]{display:none!important}

.info-heading,.info-identity{display:contents}
.info-preview-slot:empty{display:none}
@media(max-width:850px){
 /* Full narrative cards share the mobile reading height, including specialist sites. */
 body #info.info:not(.mzk-looking){max-height:min(65dvh,620px)!important;bottom:calc(env(safe-area-inset-bottom,0px) + 8px)!important;}
 #info .info-heading{display:block;padding-right:0;margin-bottom:12px}
 /* Let prose occupy the space below the identity, then the full card width. */
 #info.has-site-preview .info-heading{display:contents}
 #info.has-site-preview .info-identity{width:calc((100% - 12px)/2);margin-bottom:12px}
 #info.has-site-preview .info-preview-slot{float:right;width:calc((100% - 12px)/2);margin:0 0 12px 12px}
 #info.has-site-preview .info-heading~:not(#infoPurpose):not(#description){clear:both}
 #info .info-identity{display:block;min-width:0}
 #info .info-heading #title{display:block;width:100%;padding-right:40px;margin:0 0 12px;line-height:1.4;overflow-wrap:anywhere}
 #info .info-heading .orgrow:not([hidden]){display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0;line-height:1.4;overflow-wrap:anywhere}
 #info .info-heading .info-org.has-org-logo{flex:0 0 auto;width:120px;max-width:100%;padding:0}
 #info .info-heading .org-logo{max-height:38px;object-position:left center}
 #info .info-preview-slot{min-width:0}
 #info .info-preview-slot .site-preview{margin:0;width:100%;border-radius:7px}
 #info #close{position:absolute;right:10px;top:2px;width:44px;height:44px;padding:0;float:none;z-index:1}
 #info.mzk-looking .info-heading{display:block}
 #info.mzk-looking .info-identity{width:auto}
 #info.mzk-looking .info-heading .orgrow,#info.mzk-looking .info-preview-slot{display:none}
}

.info .site-preview-credit{position:absolute;bottom:0;left:0;right:0;padding:4px;background:#091722d9;color:#d8e5ed;font:8px/1.35 Arial,sans-serif;text-align:center;text-decoration:none;overflow-wrap:anywhere}
.info .site-preview-credit:focus-visible{outline:2px solid #fff;outline-offset:-2px}

.info .site-preview:has(.site-preview-license) .site-preview-credit{bottom:15px}
.info .site-preview-license{position:absolute;bottom:0;left:0;right:0;padding:2px;background:#091722d9;color:#d8e5ed;font:8px/1.35 Arial,sans-serif;text-align:center;text-decoration:underline}

#info #description:empty,#info #infoPurpose:empty{display:none}
