/* Saved studios and a quiet, personal member space. */
.provider-card { position: relative; }
.favorite-button {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffffd9;
  border-radius: 50%;
  background: #fffffff2;
  color: #aaa6ae;
  box-shadow: 0 2px 12px #38293b0b;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
.favorite-button svg { width: 22px; height: 22px; fill: none; }
.favorite-button[aria-pressed="true"] { color: #ce4683; }
.favorite-button[aria-pressed="true"] svg { fill: currentColor; }
.favorite-button:hover { color: #c74681; background: #fff; transform: translateY(-1px); }
.favorite-button:disabled { opacity: .5; cursor: not-allowed; }
.favorite-button[aria-busy="true"] { cursor: progress; opacity: .65; }
.favorite-button:focus-visible { outline: 3px solid #8b71b1; outline-offset: 3px; }
.studio-hero-photo > .favorite-button { top: 20px; right: 20px; width: 48px; height: 48px; }
.favorite-feedback {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: max(26px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(560px, calc(100% - 32px));
  width: max-content;
  padding: 15px 22px;
  border: 1px solid #e2d9e9;
  border-radius: 16px;
  background: #fffffffa;
  color: #57415f;
  box-shadow: 0 10px 50px #3e235322;
  font-size: 14px;
  line-height: 1.6;
}
.favorite-feedback[hidden], .favorite-feedback a[hidden] { display: none; }
.favorite-feedback.is-error { border-color: #e6cbd7; color: #97365f; }
.favorite-feedback a { flex-shrink: 0; text-decoration: underline; text-underline-offset: 3px; }
.account-mypage {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: #6d507f;
}
.account-mypage:hover { color: #9b628e; }
.account-mypage[aria-current="page"] { color: #493453; }
.mypage-main { padding-block: 46px 96px; }
.mypage-crumb { display: inline-flex; align-items: center; gap: 8px; color: #817588; font-size: 12px; }
.mypage-crumb svg { width: 14px; height: 14px; transform: rotate(180deg); }
.mypage-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin: 35px 0 34px; }
.mypage-kicker { margin: 0 0 11px; color: #9c80b4; font-size: 10px; font-weight: 500; letter-spacing: .2em; }
.mypage-intro > div { min-width: 0; }
.mypage-intro h1 { overflow-wrap: anywhere; margin: 0; font-size: clamp(28px, 3vw, 38px); line-height: 1.45; font-weight: 500; letter-spacing: -.04em; }
.mypage-intro h1 span { display: block; color: #83708e; }
.mypage-intro-note { max-width: 270px; margin: 0 0 5px; color: #8b7f92; font-size: 13px; line-height: 1.9; }
.mypage-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); align-items: start; gap: 44px; }
.mypage-profile { position: sticky; top: 28px; padding: 28px 25px 25px; border: 1px solid #e7dfea; border-radius: 20px; background: linear-gradient(145deg, #f3edf7, #f9f5fa); }
.mypage-profile-top { display: flex; align-items: center; gap: 13px; }
.mypage-avatar { display: grid; place-items: center; flex: 0 0 47px; height: 47px; background: #fff9; border: 1px solid #fff; border-radius: 50%; color: #9a82ad; }
.mypage-avatar svg { width: 23px; height: 23px; stroke-width: 1.1; }
.mypage-profile h2 { margin: 0; font-size: 17px; font-weight: 550; }
.mypage-member-badge { margin: 2px 0 0; color: #9a879f; font-size: 10px; letter-spacing: .1em; }
.mypage-profile dl { display: grid; gap: 21px; padding: 27px 0; margin: 24px 0 0; border-top: 1px solid #e5dce9; }
.mypage-profile dt { color: #97869e; font-size: 11px; margin-bottom: 5px; }
.mypage-profile dd { margin: 0; color: #57485f; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.mypage-profile-note { display: flex; gap: 7px; margin: 0; padding-top: 16px; border-top: 1px solid #e5dce9; color: #9c8ba5; font-size: 11px; }
.mypage-profile-note svg { flex-shrink: 0; width: 14px; height: 17px; }
.mypage-saved { min-width: 0; }
.mypage-saved-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 3px 0 22px; border-bottom: 1px solid #e9e3ec; margin-bottom: 26px; }
.mypage-saved-heading h2 { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
.mypage-saved-count { display: inline-flex; justify-content: center; align-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 50%; background: #f4e6ef; color: #b15a87; font-size: 12px; }
.mypage-saved-sort { margin: 0; color: #9a8da2; font-size: 11px; }
.mypage-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px 18px; }
.mypage-grid .card-image-wrap { aspect-ratio: 1.22; border-radius: 13px; }
.mypage-grid .card-category { margin-top: 15px; font-size: 10px; }
.mypage-grid .provider-card h3 { font-size: 16px; margin-top: 6px; line-height: 1.65; }
.mypage-grid .card-location { font-size: 11px; margin-top: 5px; align-items: flex-start; }
.mypage-grid .card-location svg { width: 13px; flex-shrink: 0; }
.mypage-grid .card-tags { gap: 5px; margin-top: 10px; }
.mypage-grid .card-tags span { font-size: 10px; padding: 3px 6px; }
.mypage-grid .sample-badge { font-size: 9px; top: 10px; left: 10px; padding: 4px 6px; }
.mypage-grid .favorite-button { top: 9px; right: 9px; }
.mypage-unavailable-image { display: grid; align-content: center; justify-items: center; gap: 11px; color: #ac9bb5; background: #f0eaf4; }
.mypage-unavailable-image svg { width: 29px; height: 29px; stroke-width: 1.1; }
.mypage-unavailable-image span { font-size: 10px; letter-spacing: .1em; }
.mypage-unavailable h3 { color: #8c7c95; }
.mypage-unavailable p { margin: 5px 0 0; color: #a092a6; font-size: 11px; }
.mypage-empty { padding: 68px 28px 76px; text-align: center; border: 1px dashed #e2d9e9; border-radius: 18px; background: #f8f5fa; }
.mypage-empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid #ebdfeb; border-radius: 50%; background: #fff9; color: #c797b3; margin-bottom: 17px; }
.mypage-empty-icon svg { width: 25px; height: 25px; stroke-width: 1.2; }
.mypage-empty h3 { margin: 0 0 9px; font-weight: 500; font-size: 20px; letter-spacing: -.025em; }
.mypage-empty p { margin: 0 auto; max-width: 320px; color: #97869f; font-size: 13px; line-height: 1.85; }
.mypage-explore { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; margin-top: 25px; border-radius: 999px; background: #e9dfee; padding: 10px 20px; font-size: 12px; font-weight: 500; color: #745883; }
.mypage-explore svg { width: 15px; height: 15px; stroke-width: 1.5; }
.mypage-explore:hover { background: #e3d4e9; }
.mypage-error { border: 1px solid #e8cfdb; border-radius: 12px; background: #fff8fc; color: #965477; padding: 18px 20px; font-size: 14px; }
.mypage-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; padding-top: 38px; font-size: 12px; color: #8c779b; }
.mypage-pagination a { display: inline-flex; min-height: 44px; align-items: center; border: 1px solid #e7dfea; border-radius: 999px; padding: 8px 16px; }
.mypage-pagination a:hover { background: #f0e8f5; }
.mypage-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; border-top: 1px solid #e9e3ec; }
.mypage-footer p { margin: 0; color: #a292ad; font-size: 10px; line-height: 1.8; text-align: right; }
@media (max-width: 1100px) {
  .header-auth:has(.account-mypage) .account-name { display: none; }
  .mypage-layout { grid-template-columns: 244px minmax(0, 1fr); gap: 28px; }
  .mypage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mypage-main { padding-block: 25px 56px; }
  .mypage-intro { margin-top: 25px; margin-bottom: 26px; align-items: flex-start; }
  .mypage-intro-note { display: none; }
  .mypage-layout { grid-template-columns: minmax(0, 1fr); gap: 35px; }
  .mypage-profile { position: static; padding: 23px; }
  .mypage-profile dl { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 22px; margin-top: 20px; gap: 20px; }
  .mypage-profile h2 { font-size: 16px; }
  .mypage-grid { gap: 26px 15px; }
  .mypage-grid .card-image-wrap { aspect-ratio: 1.14; }
}
@media (max-width: 640px) {
  .account-mypage { font-size: 12px; }
  .mypage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mypage-grid .sample-badge { position: static; display: inline-flex; margin-top: 8px; background: #f4eff7; border-color: #eee7f2; }
  .mypage-grid .card-image-wrap .sample-badge { position: absolute; top: auto; bottom: 7px; left: 7px; margin: 0; background: #ffffffe8; }
  .mypage-grid .favorite-button { top: 5px; right: 5px; }
  .mypage-grid .provider-card h3 { font-size: 14px; }
  .mypage-grid .card-category { font-size: 9px; margin-top: 11px; }
  .mypage-grid .card-category svg { width: 12px; }
  .mypage-grid .card-location { gap: 3px; font-size: 10px; }
  .mypage-grid .card-tags { display: none; }
  .mypage-saved-heading h2 { font-size: 19px; }
  .mypage-saved-heading { margin-bottom: 20px; }
  .mypage-empty { padding: 47px 20px; }
  .mypage-empty h3 { font-size: 19px; }
  .mypage-footer .wordmark-text { font-size: 25px; }
  .favorite-feedback { bottom: max(20px, env(safe-area-inset-bottom)); padding: 12px 17px; font-size: 13px; }
  .studio-page .favorite-feedback { bottom: calc(94px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359px) {
  .mypage-profile { padding: 20px; }
  .mypage-profile dl { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .mypage-grid { gap: 25px 12px; }
  .mypage-grid .card-image-wrap { aspect-ratio: 1; }
  .mypage-grid .favorite-button { top: 3px; right: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .favorite-button { transition: none; }
}
