/* Round 60: cleaner Nordic/Compact cards, with ORIGINAL features in the gallery.
   The concept-imagery disclaimer remains inside the gallery. */
html.pmm-builder-shell body.tn-page .tn-card-body { min-height:0; }
html.pmm-builder-shell body.tn-page .tn-card .tn-desc { min-height:0 !important; margin-bottom:22px !important; }
html.pmm-builder-shell body.tn-page .tn-card .tn-gallery-launch { margin-top:auto !important; }
html.pmm-builder-shell body.tn-page .tn-gallery-dialog { overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; }
html.pmm-builder-shell body.tn-page .tn-gallery-header {
 position:sticky; top:0; z-index:7; background:#fcfbf8;
 padding-top:max(13px,env(safe-area-inset-top));
}
html.pmm-builder-shell body.tn-page .tn-gallery-close { min-width:44px; min-height:44px; flex-shrink:0; }
html.pmm-builder-shell body.tn-page .tn-gallery-stage { flex:0 0 auto; min-height:170px; }
html.pmm-builder-shell body.tn-page .tn-gallery-stage img { max-height:min(43dvh,450px); min-height:0; }
html.pmm-builder-shell body.tn-page .tn-gallery-bottom { flex:0 0 auto; }
html.pmm-builder-shell body.tn-page .tn-gallery-specbox {
 border-top:1px solid #e2e9df;
 margin:7px 0 12px;
 padding:13px 3px 3px;
 color:#385648;
}
html.pmm-builder-shell body.tn-page .tn-gallery-model-desc { margin:0 0 8px; font-size:14px; line-height:1.55; color:#365545; }
html.pmm-builder-shell body.tn-page .tn-gallery-model-dims { margin:0 0 10px; font-size:13px; line-height:1.5; color:#536d5b; font-weight:750; }
html.pmm-builder-shell body.tn-page .tn-gallery-model-specs,
html.pmm-builder-shell body.tn-page .tn-gallery-model-features { display:flex; flex-wrap:wrap; gap:7px; padding:0; margin:0 0 9px; list-style:none; }
html.pmm-builder-shell body.tn-page .tn-gallery-model-specs span {background:#e9f1e9;color:#27503c;padding:6px 10px;font-size:12px;font-weight:750;border-radius:4px;}
html.pmm-builder-shell body.tn-page .tn-gallery-model-features li {background:#f3f4ee;color:#53695b;padding:6px 9px;font-size:12px;border-radius:3px;}
html.pmm-builder-shell body.tn-page .tn-gallery-actions {padding-bottom:max(5px,env(safe-area-inset-bottom));}
@media(max-width:680px) {
 html.pmm-builder-shell body.tn-page .tn-gallery-overlay {padding:max(7px,env(safe-area-inset-top)) 7px max(7px,env(safe-area-inset-bottom));}
 html.pmm-builder-shell body.tn-page .tn-gallery-dialog {max-height:calc(100dvh - 14px);}
 html.pmm-builder-shell body.tn-page .tn-gallery-header {padding:10px 12px;}
 html.pmm-builder-shell body.tn-page .tn-gallery-stage {min-height:120px;}
 html.pmm-builder-shell body.tn-page .tn-gallery-stage img {max-height:33dvh;}
 html.pmm-builder-shell body.tn-page .tn-gallery-bottom {padding:10px 13px 12px;}
 html.pmm-builder-shell body.tn-page .tn-gallery-model-desc {font-size:13.5px;}
 html.pmm-builder-shell body.tn-page .tn-gallery-model-features li {font-size:11.5px;}
}
