/* CASTING LAB v112: expert-card detail profile gallery and responsive portfolio. */
.model-profile-hero{background:#24262c;isolation:isolate}
.model-profile-hero::after{z-index:1;pointer-events:none}
.model-profile-gallery-v112{position:absolute;inset:0;z-index:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y}
.model-profile-gallery-v112::-webkit-scrollbar{display:none}
.model-profile-slide-v112{flex:0 0 100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;background:#24262c center/cover no-repeat}
.model-profile-slide-v112.is-empty{display:grid;place-items:center;background:linear-gradient(145deg,#dfe3ef,#bfc7db);color:#555b68;font-size:42px;font-weight:900}
.model-profile-overlay{z-index:2;pointer-events:none}
.model-profile-back,.model-profile-like{z-index:5}
.model-profile-nav-v112{position:absolute;z-index:5;top:50%;width:44px;height:44px;margin-top:-22px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(10,12,17,.55);color:#fff;font-size:27px;line-height:1;display:grid;place-items:center;backdrop-filter:blur(8px)}
.model-profile-nav-v112.prev{left:16px}.model-profile-nav-v112.next{right:16px}
.model-profile-count-v112,.model-profile-swipe-v112{position:absolute;z-index:5;border-radius:999px;background:rgba(10,12,17,.58);color:#fff;backdrop-filter:blur(8px);font-weight:900}
.model-profile-count-v112{right:20px;bottom:22px;padding:8px 10px;font-size:10px}
.model-profile-swipe-v112{right:18px;top:72px;padding:7px 10px;font-size:9px}
.model-profile-nav-v112[hidden],.model-profile-swipe-v112[hidden]{display:none}
.sheet-photo{position:relative;background:#24262c;overflow:hidden}
.sheet-profile-track-v112{height:100%;display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.sheet-profile-track-v112::-webkit-scrollbar{display:none}
.sheet-profile-slide-v112{flex:0 0 100%;height:100%;scroll-snap-align:start;background:#24262c center/cover no-repeat}
.sheet-profile-count-v112{position:absolute;right:14px;bottom:12px;border-radius:999px;background:rgba(10,12,17,.6);color:#fff;padding:7px 9px;font-size:9px;font-weight:900}
@media(min-width:768px){
  body.experts-list-fluid-v101 .app.profile-detail-open-v112{width:min(1180px,calc(100% - 40px));max-width:none;margin:20px auto;border-radius:24px}
  .model-profile-view{max-width:1180px;margin:34px auto 0;padding:0 28px 40px;border-radius:24px;overflow:hidden}
  .model-profile-hero{height:min(72vh,720px);min-height:560px;margin:0 -28px}
  .model-profile-overlay{left:42px;right:150px;bottom:38px}
  .model-profile-overlay h1,.model-profile-overlay h2[data-seo-heading]{font-size:48px;letter-spacing:-2px}
  .model-profile-count-v112{right:38px;bottom:38px;font-size:11px}
  .model-profile-swipe-v112{right:34px;top:28px;font-size:10px}
  .model-profile-nav-v112{width:48px;height:48px;margin-top:-24px}.model-profile-nav-v112.prev{left:24px}.model-profile-nav-v112.next{right:24px}
  .model-profile-portfolio{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .model-profile-shot{height:auto;aspect-ratio:4/5}
}
@media(min-width:768px) and (max-width:1023px){body.experts-list-fluid-v101 .app.profile-detail-open-v112{width:100%;margin:0;border-radius:0}}
@media(max-width:560px){
  .model-profile-hero{height:auto;aspect-ratio:4/5}
  .model-profile-nav-v112{width:38px;height:38px;margin-top:-19px;font-size:23px}.model-profile-nav-v112.prev{left:10px}.model-profile-nav-v112.next{right:10px}
  .model-profile-count-v112{right:14px;bottom:20px;padding:7px 9px;font-size:9px}
  .model-profile-swipe-v112{right:14px;top:68px;font-size:8px}
  .model-profile-portfolio{grid-template-columns:1fr;gap:11px}
  .model-profile-shot{height:auto;aspect-ratio:4/5}
}
