/* CASTING LAB v53: unified wishlist picker and landing page */

/* 사진 위 하트: 흰 원 없이 검정 반투명 면 + 흰색 외곽선 */
.talent-save,
.profile-like,
.moa-project-interest,
.moa-favorite-expert,
.moa-my-interest-remove,
.project-cover-actions #projectTopLike {
  width:38px!important;
  height:38px!important;
  min-width:38px;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:transparent!important;
  font-size:0!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.talent-save::before,
.profile-like::before,
.moa-project-interest::before,
.moa-favorite-expert::before,
.moa-my-interest-remove::before,
.project-cover-actions #projectTopLike::before,
.moa-wishlist-heart::before {
  content:"";
  width:30px;
  height:30px;
  display:block;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 27.2 4.6 16.5C-2.5 9.8 7.2.2 14.1 6.9L16 8.8l1.9-1.9c6.9-6.7 16.6 2.9 9.5 9.6L16 27.2Z' fill='rgba(0,0,0,.34)' stroke='white' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter:drop-shadow(0 2px 3px rgba(0,0,0,.34));
}
.talent-save[aria-pressed="true"]::before,
.profile-like[aria-pressed="true"]::before,
.moa-project-interest.active::before,
.moa-project-interest[aria-pressed="true"]::before,
.moa-favorite-expert.active::before,
.moa-favorite-expert[aria-pressed="true"]::before,
.moa-my-interest-remove::before,
.project-cover-actions #projectTopLike[aria-pressed="true"]::before,
.moa-wishlist-heart.active::before {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 27.2 4.6 16.5C-2.5 9.8 7.2.2 14.1 6.9L16 8.8l1.9-1.9c6.9-6.7 16.6 2.9 9.5 9.6L16 27.2Z' fill='%23111418' stroke='white' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.talent-save{right:10px!important;top:10px!important;z-index:5}
.profile-like{right:18px!important;top:18px!important}
.moa-project-interest{right:7px!important;top:7px!important}
.moa-favorite-expert{right:7px!important;top:7px!important}
.moa-my-interest-remove{left:auto!important;right:5px!important;top:5px!important}

/* 위시리스트 선택 팝업 */
.moa-wishlist-overlay{position:fixed;inset:0;z-index:1800;background:rgba(10,12,16,.52);display:none;align-items:flex-end;justify-content:center}
.moa-wishlist-overlay.show{display:flex}
.moa-wishlist-sheet{position:relative;width:min(100%,720px);max-height:min(90vh,850px);background:#fff;border-radius:28px 28px 0 0;display:flex;flex-direction:column;box-shadow:0 -22px 70px rgba(0,0,0,.23);overflow:hidden}
.moa-wishlist-head{position:relative;flex:0 0 auto;padding:22px 58px 17px;border-bottom:1px solid #ecece7;text-align:center}
.moa-wishlist-head h2{font-size:20px;letter-spacing:-.6px;margin:0}
.moa-wishlist-head p{font-size:10px;color:#777973;margin:6px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.moa-wishlist-close{position:absolute;right:17px;top:16px;width:38px;height:38px;border:0;background:transparent;font-size:28px;line-height:1;color:#20221f}
.moa-wishlist-body{flex:1 1 auto;overflow:auto;padding:18px 16px}
.moa-wishlist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 11px}
.moa-wishlist-choice{min-width:0;border:0;background:transparent;padding:0;text-align:left;color:#171916}
.moa-wishlist-cover{position:relative;display:block;width:100%;aspect-ratio:1.22/1;border-radius:18px;overflow:hidden;background:linear-gradient(145deg,#dfe2e8,#bfc5d1)}
.moa-wishlist-cover img{width:100%;height:100%;display:block;object-fit:cover}
.moa-wishlist-cover-empty{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#2a2d33,#777d89);color:#fff;font-size:26px}
.moa-wishlist-check{position:absolute;right:10px;top:10px;width:27px;height:27px;border:1.5px solid #fff;border-radius:50%;background:rgba(15,17,21,.4);color:transparent;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.22)}
.moa-wishlist-choice.selected .moa-wishlist-check{background:#15171b;color:#fff}
.moa-wishlist-choice.selected .moa-wishlist-check::before{content:"✓";font-size:14px;font-weight:900}
.moa-wishlist-name{display:block;font-size:13px;font-weight:900;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.moa-wishlist-count{display:block;color:#777973;font-size:10px;margin-top:4px}
.moa-wishlist-empty{grid-column:1/-1;padding:58px 18px;text-align:center;color:#757772;font-size:11px;line-height:1.7}
.moa-wishlist-loading{padding:70px 20px;text-align:center;color:#747671;font-size:11px}
.moa-wishlist-footer{flex:0 0 auto;padding:13px 16px max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ecece7}
.moa-wishlist-new{width:100%;border:0;border-radius:14px;background:#1c1e20;color:#fff;padding:16px;font-size:13px;font-weight:900}
.moa-wishlist-create{display:none;padding:12px 16px 18px;border-top:1px solid #ecece7;background:#fff}
.moa-wishlist-create.show{display:block}
.moa-wishlist-create label{display:block;font-size:11px;font-weight:900;margin-bottom:8px}
.moa-wishlist-create-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.moa-wishlist-create input{min-width:0;border:1px solid #d8d9d4;border-radius:12px;padding:13px;font:inherit;font-size:12px}
.moa-wishlist-create button{border:0;border-radius:12px;background:#3659e8;color:#fff;padding:0 17px;font-size:11px;font-weight:900}
.moa-wishlist-error{padding:42px 18px;text-align:center;color:#a02727;font-size:11px;line-height:1.65}

/* 하단 위시리스트 랜딩 */
.wishlist-page{min-height:calc(100vh - 80px);padding:21px 16px 110px;background:#f5f4f0}
.wishlist-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:21px}
.wishlist-top small{display:block;color:#3659e8;font-size:9px;letter-spacing:1.4px;font-weight:950}
.wishlist-top h2{font-size:27px;letter-spacing:-1px;margin:6px 0 0}
.wishlist-top button{border:1px solid #d9dad4;border-radius:999px;background:#fff;padding:9px 12px;font-size:10px;font-weight:900}
.wishlist-landing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 11px}
.wishlist-landing-card{border:0;background:transparent;padding:0;text-align:left;min-width:0}
.wishlist-landing-card .moa-wishlist-cover{border-radius:18px;box-shadow:0 8px 24px rgba(20,22,27,.08)}
.wishlist-landing-name{display:block;font-size:13px;font-weight:900;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wishlist-landing-count{display:block;color:#777973;font-size:10px;margin-top:4px}
.wishlist-detail-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.wishlist-detail-back{width:38px;height:38px;border:1px solid #dedfd9;border-radius:50%;background:#fff;font-size:22px}
.wishlist-detail-head div{min-width:0}.wishlist-detail-head small{display:block;color:#3659e8;font-size:9px;font-weight:950}.wishlist-detail-head h2{font-size:22px;margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wishlist-item-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 9px}
.wishlist-item-card{position:relative;min-width:0;border:1px solid #e3e3dd;border-radius:16px;background:#fff;overflow:hidden}
.wishlist-item-open{width:100%;border:0;background:#fff;padding:0;text-align:left}
.wishlist-item-photo{display:block;aspect-ratio:4/3;background:linear-gradient(145deg,#dfe2e8,#bfc5d1);overflow:hidden}
.wishlist-item-photo img{width:100%;height:100%;display:block;object-fit:cover}
.wishlist-item-copy{display:block;padding:11px}.wishlist-item-copy small{display:block;color:#3659e8;font-size:8px;font-weight:950}.wishlist-item-copy b{display:block;font-size:12px;line-height:1.38;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wishlist-item-copy span{display:block;color:#777973;font-size:9px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.moa-wishlist-heart{position:absolute;z-index:4;right:7px;top:7px;width:38px;height:38px;border:0;background:transparent;padding:0;font-size:0}
.wishlist-view-state{grid-column:1/-1;padding:70px 18px;text-align:center;color:#737570;font-size:11px;line-height:1.75}

@media(min-width:721px){.moa-wishlist-overlay{align-items:center;padding:24px}.moa-wishlist-sheet{border-radius:28px;max-height:min(84vh,820px);position:relative}.moa-wishlist-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.moa-wishlist-sheet{max-height:91vh}.moa-wishlist-head{padding-top:19px}.moa-wishlist-body{padding-left:13px;padding-right:13px}.moa-wishlist-footer{padding-left:13px;padding-right:13px}.wishlist-page{padding-left:14px;padding-right:14px}}
