.hs-profile-form{
  max-width: 640px;
}

.hs-card{
  background:#fff;
  border:1px solid #E5E7EB;
  border-radius:16px;
  padding:20px;
  margin-bottom:20px;
}

.hs-card h3{
  font-size:18px;
  font-weight:700;
  margin-bottom:16px;
}

.hs-form-row{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:14px;
}

.hs-form-row label{
  font-size:14px;
  font-weight:600;
}

.hs-form-row input{
  height:42px;
  padding:0 12px;
  border:1px solid #d1d5db;
  border-radius:10px;
  font-size:14px;
}

.hs-checkbox{
  margin-top:10px;
  font-size:14px;
}

.hs-actions{
  display:flex;
  justify-content:flex-end;
}

.hs-btn-save{
  padding:5px 40px;
  background:#7D28D4;
  color:#fff;
  border:none;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  margin:0;
}

/* ==============================
   KAKAO EXISTING MEMBER CARD
============================== */

.hs-kakao-existing-card {
  border-color: #FACC15;
  background: #FFFBEB;
}

.hs-kakao-existing-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hs-kakao-badge {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FDE68A;
  color: #92400E;
  font-size: 12px;
  font-weight: 700;
}

.hs-kakao-existing-head h3 {
  margin-bottom: 0;
}

.hs-kakao-existing-head p {
  margin: 0;
  font-size: 14px;
  color: #6B7280;
  line-height: 1.6;
}

.hs-kakao-candidate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.hs-kakao-candidate {
  padding: 12px;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  background: #fff;
}

.hs-kakao-candidate-reason {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.hs-kakao-candidate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
  font-size: 13px;
  color: #6B7280;
}

.hs-kakao-existing-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hs-btn-link,
.hs-btn-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hs-btn-link {
  background: #111827;
  color: #fff;
  border: 1px solid #111827;
}

.hs-btn-muted {
  background: #fff;
  color: #374151;
  border: 1px solid #D1D5DB;
}

.hs-kakao-empty {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #fff;
  color: #6B7280;
  font-size: 14px;
}

@media (max-width: 768px) {
  .hs-kakao-existing-actions {
    flex-direction: column;
  }

  .hs-btn-link,
  .hs-btn-muted {
    width: 100%;
  }
}

/* ==============================
   KAKAO CONNECT MODAL
============================== */

.hs-kakao-modal[hidden] {
  display: none;
}

.hs-kakao-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.hs-kakao-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.hs-kakao-modal__box {
  position: relative;
  width: min(420px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.hs-kakao-modal__box h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.hs-kakao-modal__desc {
  margin: 0 0 18px;
  color: #6B7280;
  font-size: 14px;
  line-height: 1.6;
}

.hs-kakao-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: #F3F4F6;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hs-kakao-modal__message {
  min-height: 20px;
  margin-top: 8px;
  font-size: 13px;
}

.hs-kakao-modal__message.is-error {
  color: #DC2626;
}

.hs-kakao-modal__message.is-success {
  color: #059669;
}

.hs-kakao-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .hs-kakao-modal__box {
    margin-top: 8vh;
  }

  .hs-kakao-modal__actions {
    flex-direction: column;
  }
}

.hs-kakao-modal__help {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
}

.hs-kakao-modal__help strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.hs-kakao-modal__help p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6B7280;
}

.hs-kakao-channel-link {
  display: inline-flex;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #7D28D4;
  text-decoration: underline;
}

/* ==============================
   KAKAO CONNECTED CARD
============================== */

.hs-kakao-connected-card {
  padding: 0;
  overflow: hidden;
  border-color: #DBEAFE;
  background: #F8FAFC;
}

.hs-kakao-connected-summary {
  width: 100%;
  min-height: 56px;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  margin:0;
}

.hs-kakao-connected-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.hs-kakao-connected-title strong {
  color: #2563EB;
}

.hs-kakao-connected-arrow {
  font-size: 12px;
  color: #6B7280;
  transition: transform .2s ease;
}

.hs-kakao-connected-card.is-open .hs-kakao-connected-arrow {
  transform: rotate(180deg);
}

.hs-kakao-connected-detail {
  padding: 0 20px 20px;
}

.hs-kakao-connected-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
}

.hs-kakao-connected-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #E5E7EB;
  font-size: 14px;
}

.hs-kakao-connected-row span {
  color: #6B7280;
}

.hs-kakao-connected-row strong {
  color: #111827;
  text-align: right;
  word-break: break-all;
}

.hs-kakao-connected-help {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E5E7EB;
}

.hs-kakao-connected-help strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.hs-kakao-connected-help p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6B7280;
}

@media (max-width: 768px) {
  .hs-kakao-connected-row {
    flex-direction: column;
    gap: 4px;
  }

  .hs-kakao-connected-row strong {
    text-align: left;
  }
}

/* ==============================
   PROFILE RESERVATION INFO
============================== */

.hs-profile-page {
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
}

.hs-profile-form {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.hs-profile-hero {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}

.hs-profile-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  color: #7D28D4;
  letter-spacing: 0.04em;
}

.hs-profile-hero h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #111827;
}

.hs-profile-hero p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6B7280;
}

.hs-profile-card {
  border-radius: 20px;
}

.hs-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.hs-card-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #111827;
}

.hs-card-head p {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #6B7280;
}

.hs-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hs-form-row--full {
  grid-column: 1 / -1;
}

.hs-form-row input {
  width: 100%;
  box-sizing: border-box;
}

.hs-profile-help {
  margin: 8px 0 0;
  font-size: 12px;
  color: #6B7280;
}

.hs-verification-card {
  background: #fff;
}

.hs-verification-card.is-pending {
  border-color: #FDE68A;
  background: #FFFBEB;
}

.hs-verification-card.is-approved {
  border-color: #BBF7D0;
  background: #F0FDF4;
}

.hs-verification-card.is-rejected {
  border-color: #FECACA;
  background: #FEF2F2;
}

.hs-verification-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #F3F4F6;
  color: #374151;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.hs-verification-card.is-pending .hs-verification-status {
  background: #FDE68A;
  color: #92400E;
}

.hs-verification-card.is-approved .hs-verification-status {
  background: #DCFCE7;
  color: #166534;
}

.hs-verification-card.is-rejected .hs-verification-status {
  background: #FEE2E2;
  color: #991B1B;
}

.hs-verification-request-btn {
  min-height: 44px;
  margin: 0 !important;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #7D28D4;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.hs-verification-request-btn:hover {
  background: #6D20BE;
}

.hs-verification-help {
  padding: 14px;
  border: 1px solid #FDE68A;
  border-radius: 14px;
  background: #fff;
  color: #78350F;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

.hs-title-select {
  padding: 14px;
  border: 1px solid #BBF7D0;
  border-radius: 16px;
  background: #fff;
}

.hs-title-select > label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 900;
  color: #166534;
}

.hs-title-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-title-option {
  cursor: pointer;
}

.hs-title-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hs-title-option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #D1D5DB;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.hs-title-option input:checked + span {
  border-color: #16A34A;
  background: #DCFCE7;
  color: #166534;
}

@media (max-width: 768px) {
  .hs-profile-grid {
    grid-template-columns: 1fr;
  }

  .hs-form-row--full {
    grid-column: auto;
  }

  .hs-card-head {
    flex-direction: column;
  }

  .hs-verification-status {
    align-self: flex-start;
  }
}

/* ==============================
   MyPage profile inputs - reservation style
============================== */

.hs-profile-form input[type='text'],
.hs-profile-form input[type='email'],
.hs-profile-form input[type='tel'],
.hs-profile-form input[type='password'],
.hs-profile-form select,
.hs-profile-form textarea {
  width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04) !important;
  box-sizing: border-box;
}

.hs-profile-form input::placeholder,
.hs-profile-form textarea::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

.hs-profile-form input:focus,
.hs-profile-form select:focus,
.hs-profile-form textarea:focus {
  outline: none !important;
  border-color: #984ee2 !important;
  box-shadow: 0 0 0 3px rgba(152, 78, 226, 0.14) !important;
}

.hs-profile-form .hs-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hs-profile-form .hs-form-row label {
  margin: 0 !important;
  font-size: 13px;
  font-weight: 900;
  color: #374151;
}

.hs-profile-form .hs-card {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

/* 마이페이지 Place Card V2 버튼 폭 보정 */
.hs-profile-form #hs-affiliation-field-wrap {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
}

.hs-profile-form #hs-affiliation-field-wrap .hs-v2-inline-wrap {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.hs-profile-form #hs-affiliation-open-btn {
  width: 100% !important;
  max-width: none !important;
  justify-content: center;
}

.hs-profile-form #hs-affiliation-preview-wrap .hs-v2-aff-card {
  width: 100%;
  box-sizing: border-box;
}

.hs-profile-form #hs-affiliation-preview-wrap .hs-v2-aff-card__main {
  min-width: 0;
}

.hs-profile-form #hs-affiliation-preview-wrap .hs-v2-aff-card__side {
  flex: 0 0 auto;
}

.hs-affiliation-change-help {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

/* ==============================
   MyPage Home Dashboard
============================== */

.hs-home-dashboard {
  width: 100%;
  max-width: 860px;
}

.hs-home-hero {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid #e9d5ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hs-home-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 900;
  color: #7d28d4;
  letter-spacing: 0.04em;
}

.hs-home-hero h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #111827;
}

.hs-home-hero p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.hs-home-edit-link,
.hs-home-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: #7d28d4;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.hs-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hs-home-card {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  margin-bottom: 16px;
}

.hs-home-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.hs-home-card-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #111827;
}

.hs-home-card-head p,
.hs-home-card-desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #6b7280;
}

.hs-home-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hs-home-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.hs-home-info-row:last-child {
  border-bottom: 0;
}

.hs-home-info-row span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
}

.hs-home-info-row strong {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  text-align: right;
  word-break: break-all;
}

.hs-home-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.hs-home-status-badge.is-pending {
  background: #fef3c7;
  color: #92400e;
}

.hs-home-status-badge.is-approved {
  background: #dcfce7;
  color: #166534;
}

.hs-home-status-badge.is-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.hs-home-notice {
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 700;
}

.hs-home-verification-form {
  margin: 0;
}

.hs-home-verification-btn {
  min-height: 44px;
  margin: 0 !important;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: #7d28d4;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.hs-home-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hs-home-shortcut {
  min-height: 42px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.hs-home-shortcut:hover {
  border-color: #d8b4fe;
  background: #faf5ff;
  color: #7d28d4;
}

@media (max-width: 768px) {
  .hs-home-hero {
    flex-direction: column;
  }

  .hs-home-grid {
    grid-template-columns: 1fr;
  }

  .hs-home-edit-link,
  .hs-home-primary-link,
  .hs-home-verification-btn,
  .hs-home-shortcut {
    width: 100%;
  }

  .hs-home-info-row {
    flex-direction: column;
    gap: 4px;
  }

  .hs-home-info-row strong {
    text-align: left;
  }
}

/* ==============================
   Title custom input
============================== */

.hs-title-custom-wrap {
  margin-top: 12px;
}

.hs-title-custom-wrap.is-hidden {
  display: none;
}

.hs-title-custom-wrap > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 900;
  color: #374151;
}

.hs-title-custom-wrap input {
  max-width: 220px;
}

/* ==============================
   Admin log name on MyPage Home
============================== */

.hs-home-admin-log-card {
  border-color: #dbeafe;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.hs-home-admin-log-card .hs-home-card-head h3 {
  color: #1e3a8a;
}

.hs-home-admin-log-edit {
  margin-top: 14px;
}

/* ==============================
   Soft Withdraw
============================== */

.hs-withdraw-card {
  width: 100%;
  margin-top: 80px;
  border-color: #fecaca;
  background: #fff;
  box-sizing: border-box;
}

.hs-withdraw-card .hs-card-head h3 {
  color: #991b1b;
}

.hs-withdraw-notice {
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid #fee2e2;
  border-radius: 14px;
  background: #fef2f2;
}

.hs-withdraw-notice strong {
  display: block;
  margin-bottom: 4px;
  color: #991b1b;
  font-size: 13px;
  font-weight: 900;
}

.hs-withdraw-notice p {
  margin: 0;
  color: #7f1d1d;
  font-size: 13px;
  line-height: 1.6;
  word-break: keep-all;
}

.hs-withdraw-open-btn {
  min-height: 42px;
  margin: 0 !important;
  padding: 0 16px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: #fff;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.hs-withdraw-open-btn:hover {
  background: #fef2f2;
}

.hs-withdraw-modal[hidden] {
  display: none !important;
}

.hs-withdraw-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.hs-withdraw-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
}

.hs-withdraw-modal__box {
  position: relative;
  width: min(440px, calc(100% - 32px));
  margin: 12vh auto 0;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.hs-withdraw-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  margin: 0 !important;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.hs-withdraw-modal__box h3 {
  margin: 0 0 8px;
  color: #991b1b;
  font-size: 20px;
  font-weight: 900;
}

.hs-withdraw-modal__desc {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
  word-break: keep-all;
}

.hs-withdraw-modal__desc strong {
  color: #991b1b;
}

.hs-withdraw-confirm-input {
  width: 100%;
  min-height: 44px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 12px !important;
  font-size: 14px;
  font-weight: 700;
  box-sizing: border-box;
}

.hs-withdraw-confirm-input:focus {
  outline: none !important;
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.hs-withdraw-modal__message {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.hs-withdraw-modal__message.is-error {
  color: #dc2626;
}

.hs-withdraw-modal__message.is-success {
  color: #059669;
}

.hs-withdraw-modal__actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.hs-withdraw-submit-btn {
  min-height: 40px;
  margin: 0 !important;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #b91c1c;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.hs-withdraw-submit-btn:hover {
  background: #991b1b;
}

.hs-withdraw-submit-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 768px) {
  .hs-withdraw-modal__box {
    margin-top: 8vh;
  }

  .hs-withdraw-modal__actions {
    flex-direction: column;
  }

  .hs-withdraw-modal__actions button {
    width: 100%;
  }

  .hs-withdraw-card {
    margin-top: 40px;
  }
}

/* ==============================
   Profile main grouped card
============================== */

.hs-profile-main-card {
  width: 100%;
  border: 1px solid #e9d5ff;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.hs-profile-main-card .hs-profile-hero {
  margin-bottom: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #e9d5ff;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}

.hs-profile-main-card > .hs-card {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #f3f4f6;
}

.hs-profile-main-card > .hs-card:last-of-type {
  border-bottom: 0;
}

.hs-profile-main-card .hs-actions {
  padding: 20px;
  background: #fff;
}

/* ==============================
   Title optional label
============================== */

.hs-title-optional {
  margin-left: 6px;
  color: #16a34a;
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
}

/* ==============================
   Profile title options - compact chips
============================== */

.hs-title-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-title-option {
  flex: 0 0 auto;
}

.hs-title-option span {
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .hs-title-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hs-title-option span {
    width: auto;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ==============================
   MyPage Home affiliation verification
============================== */

.hs-home-affiliation-card .hs-home-card-head {
  margin-bottom: 12px;
}

.hs-home-affiliation-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.hs-home-inline-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.hs-home-inline-badge.is-approved {
  background: #dcfce7;
  color: #166534;
}

.hs-home-inline-badge.is-pending {
  background: #fef3c7;
  color: #92400e;
}

.hs-home-inline-badge.is-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.hs-home-verification-inline {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}

.hs-home-verification-inline .hs-home-verification-form {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .hs-home-affiliation-value {
    justify-content: flex-start;
  }
}

/* ==============================
   Mobile fixed profile save
   - 프로필 탭에서만 화면 하단에 저장 버튼 고정
============================== */

@media (max-width: 768px) {
  #tab-profile.active .hs-profile-main-card .hs-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;

    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);

    display: flex;
    justify-content: center;
    box-sizing: border-box;
  }

  #tab-profile.active .hs-profile-main-card .hs-btn-save {
    width: min(100%, 420px);
    min-height: 48px;
    margin: 0 !important;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
  }

  #tab-profile.active .hs-profile-form {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
}