/* Soft hat models share the existing focus panel, type, and theme tokens. */
.hat-panel { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.hat-panel h2 { margin-bottom: 0; }
.hat-stage { position: relative; height: 215px; min-height: 190px; flex: 1; touch-action: pan-y; }
.hat-stage canvas, .hat-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hat-poster { object-fit: contain; }
.hat-stage canvas { opacity: 0; }
.hat-panel[data-ready="true"] .hat-poster { visibility: hidden; }
.hat-panel[data-ready="true"] canvas { opacity: 1; }
.hat-panel .load-state { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#explore .explore-list__items { flex: 1; display: grid; grid-template-rows: repeat(3, 1fr); }
#explore .explore-list__items > li { display: flex; }
#explore .explore-list__items > li > a { width: 100%; }
@media (max-width: 760px) {
  .hat-stage { flex: none; height: 230px; }
}
/* Existing panel image rules use intrinsic height; keep the fallback inside its stage. */
.hat-panel .hat-stage .hat-poster { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.hat-panel[data-ready="true"] .hat-poster { display: none; }
.hat-panel .hat-stage { overflow: hidden; }
