/* Website previews share one device and never crop the selected screen. PNG previews v2. */
#panel-sites .projectCard{display:flex;flex-direction:column;align-items:stretch}
.projectTriptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;height:100%;padding:8px;background:#edf2ef;box-sizing:border-box}
.projectTriptych img{position:static!important;display:block;width:100%;height:100%;min-width:0;object-fit:contain!important;border-radius:4px}
#panel-sites .projectVisual{aspect-ratio:16/11;background:#edf2ef;border:1px solid #d5dfd9;border-radius:8px;overflow:hidden;flex-shrink:0}
#panel-sites .projectVisual::after{content:"";position:absolute;left:5%;right:5%;bottom:43px;height:10px;border-radius:2px 2px 8px 8px;background:linear-gradient(#d5dcd8,#a7b1ab);box-shadow:0 9px 14px #26382c18;pointer-events:none;z-index:3}
#panel-sites .projectGalleryMain{inset:6% 9% 54px;width:82%;height:auto;bottom:54px;padding:0;border:7px solid #242d28;border-radius:7px;background:#242d28;box-shadow:0 4px 10px #17231a16}
#panel-sites .projectGalleryMain>img,#panel-sites .projectGalleryMain>img.projectImage--contain{width:100%;height:100%;object-fit:contain!important;object-position:center;transform:none}
#panel-sites .projectCard:hover .projectGalleryMain>img{transform:none}
.portfolioLiveDevice{position:absolute;inset:6% 9% 54px;border:7px solid #242d28;border-radius:7px;background:#242d28;overflow:hidden;opacity:0;pointer-events:none;z-index:2}
.portfolioLiveDevice.is-ready{opacity:1;pointer-events:none}
.portfolioLiveDevice iframe{display:block;border:0;transform-origin:top left;max-width:none}
.portfolioLivePause{position:absolute;right:9%;bottom:9px;z-index:4;border:1px solid #a7b9ae;background:#edf2ef;color:#243b2c;border-radius:3px;padding:5px 9px;font:11px Arial,sans-serif;cursor:pointer}
.portfolioLivePause:focus-visible{outline:2px solid #263f30;outline-offset:3px}
@media(max-width:720px){.portfolioLiveDevice{inset:6% 8% 48px;border-width:5px}}
#panel-sites .interfacePreview{position:absolute;inset:6% 9% 54px;width:82%;height:auto;border:7px solid #242d28;border-radius:7px;padding:24px;overflow:hidden}
#panel-sites .interfacePreview strong{font-size:26px;line-height:1.15;letter-spacing:0}
#panel-sites .projectExpand{top:8px;right:8px;min-height:28px;padding:0 8px;font-size:8px;letter-spacing:0;background:#18271de0;border-radius:3px}
#panel-sites .projectNumber{left:12px;top:12px;bottom:auto;font-size:10px;padding:4px 6px;border-radius:3px}
#panel-sites .projectThumbs{bottom:9px;left:9%;gap:6px}
#panel-sites .projectThumbs button{width:42px;height:28px;border:1px solid #84978b;border-radius:2px;background:#24332b}
#panel-sites .projectThumbs button[aria-pressed=true]{transform:none;border-color:#1e3929;outline:1px solid #1e3929}
#panel-sites .projectMeta{min-height:112px;align-items:start;gap:12px}
#panel-sites .projectMeta h3{font-size:28px;line-height:1.15;letter-spacing:0;overflow-wrap:anywhere}
#panel-sites .projectDescription{margin-top:0;min-height:6em}
#panel-sites .projectCard>.projectPending,#panel-sites .projectCard>a{margin-top:auto}
#panel-sites .projectVisualNote{bottom:14px;font-size:10px}
@media(max-width:720px){#panel-sites .projectGalleryMain{border-width:5px;inset:6% 8% 48px;width:84%}#panel-sites .projectVisual::after{bottom:38px}#panel-sites .projectMeta{min-height:100px}#panel-sites .projectMeta h3{font-size:24px}#panel-sites .projectDescription{min-height:0}#panel-sites .projectExpand{font-size:7px;min-height:24px}#panel-sites .projectNumber{left:6px;top:6px}#panel-sites .projectCard>a{margin-top:18px}}
