/* =========================================================
   Art4Point User MyPage
   - Profile hero
   - Creator / Reviewer status cards
   - Keep JS ids in template unchanged
========================================================= */

.mypage {
  width: 100%;
}

.mypage_head {
  margin-bottom: 18px;
}

/* =========================================================
   Profile Hero Layout
========================================================= */

.user_profile_area.profile-hero {
  align-items: stretch;
  gap: 18px;
  margin-bottom: 26px;
}

.profile-main-card,
.role-status-card {
  min-height: 220px;
  margin: 0;
}

/* =========================================================
   Profile Main Card - 미묘한 그라데이션
========================================================= */

.profile-main-card {
  position: relative;
  padding: 0;
  border: 1px solid #eef2f6;
  background: linear-gradient(145deg, #fafcff 0%, #f0f4fe 100%);
  box-shadow: 
    0 2px 12px rgba(0, 0, 0, 0.03),
    0 1px 2px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease;
}

.profile-main-card:hover {
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(0, 0, 0, 0.02);
}

.profile-main-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
  padding: 28px 30px;
}

.profile-main-avatar {
  position: relative;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
}

.profile-main-avatar img,
.profile-main-avatar .avatar__fallback {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.08);
}

.profile-main-avatar::after {
  content: "\F42A";
  font-family: "bootstrap-icons";
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  font-size: 13px;
}

.profile-main-meta {
  min-width: 0;
  flex: 1;
}

.profile-main-kicker {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #6b7280;
  text-transform: uppercase;
}

.profile-main-email {
  max-width: 100%;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-main-id {
  margin-top: 4px;
  font-size: 13px;
  color: #9ca3af;
}

.profile-main-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-main-actions .btn {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}

.profile-main-actions .btn-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.profile-main-actions .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}

.profile-main-actions .btn-outline-secondary {
  color: #4b5563;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid #e5e7eb;
}

.profile-main-actions .btn-outline-secondary:hover {
  background: #ffffff;
  border-color: #d1d5db;
}

/* =========================================================
   Role Status Card - 미묘한 그라데이션
========================================================= */

.role-status-card {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  border: 1px solid #eef2f6;
  background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.role-status-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

/* 창작자/심사자 구분 - 미묘한 톤 차이 */
.role-card--creator {
  background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
  border-color: #ede9fe;
}

.role-card--reviewer {
  background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
  border-color: #dbeafe;
}

.role-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.role-card__head-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.role-card__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.role-card__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.role-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 20px;
}

.role-card--creator .role-card__icon {
  color: #7c3aed;
  background: linear-gradient(135deg, #f5f0ff, #ede9fe);
}

.role-card--reviewer .role-card__icon {
  color: #2563eb;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.role-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

.role-card__badge {
  flex: 0 0 auto;
  margin-top: 0;
}

/* =========================================================
   Badge
========================================================= */

.role-card__header .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.role-card__header .badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.badge--none {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.badge--pending {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.badge--approved {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.badge--rejected {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.badge--revoked {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

/* =========================================================
   Role Body
========================================================= */

.role-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

.role-card__summary-row {
  display: block;
}

.role-card__summary {
  flex: 1;
  min-height: 60px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

.role-card__summary strong,
.role-card__summary b {
  color: #111827;
  font-weight: 700;
}

.role-card__empty-helper {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

/* summary 표시 시 기본 안내문 숨김 */
.role-card__summary:not([style*="display:none"]) + .role-card__profile-btn + .role-card__empty-helper,
.role-card__summary:not([hidden]) + .role-card__profile-btn + .role-card__empty-helper {
  display: none;
}

.role-card__profile-btn {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 8px;
  font-size: 14px;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border: 1px solid #e5e7eb;
  align-items: center;
  justify-content: center;
}

.role-card__profile-btn:hover {
  background: #ffffff;
  border-color: #d1d5db;
}

/* =========================================================
   Role Button
========================================================= */

.role-card__actions-wrap {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.role-card__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.role-card__btn {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.role-card__btn-arrow {
  margin-left: 2px;
  transition: transform 0.15s ease;
}

.role-card__btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.role-card__btn:hover .role-card__btn-arrow {
  transform: translateX(3px);
}

.role-card__btn.btn-outline-secondary {
  color: #4b5563;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border: 1.5px solid #e5e7eb;
}

.role-card--creator .role-card__btn.btn-outline-secondary {
  color: #6d28d9;
  border-color: #ede9fe;
}

.role-card--reviewer .role-card__btn.btn-outline-secondary {
  color: #1d4ed8;
  border-color: #dbeafe;
}

.role-card__btn.btn-outline-secondary:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.role-card__btn--dashboard {
  color: #ffffff;
  border: 0;
}

.role-card--creator .role-card__btn--dashboard {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.role-card--reviewer .role-card__btn--dashboard {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.role-card__btn--dashboard:hover {
  transform: translateY(-1px);
}

/* =========================================================
   Current Overview / Hub
========================================================= */

.mypage .card .actions {
  display: flex;
  align-items: center;
}

.mypage .card[aria-label="Current overview"],
.mypage .card[aria-label="My menu hub"] {
  overflow: hidden;
}

/* =========================================================
   Panel blocks under hero - 미묘한 그라데이션
========================================================= */

.mypage-panel {
  border: 1px solid #eef2f6;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #fafcff 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  margin: 0;
}

.mypage-panel__header {
  margin: 0;
  padding: 18px 20px 10px;
  border: 0;
  background: transparent;
}

.mypage-panel__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mypage-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 18px;
  color: #4f46e5;
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

.mypage-panel__body {
  padding: 0 20px 20px;
}

/* =========================================================
   Overview tiles
========================================================= */

.overview-grid {
  row-gap: 12px;
}

.overview-card {
  margin: 0;
  min-height: 80px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: none;
  padding: 0;
  background: linear-gradient(145deg, #ffffff, #fafcff);
}

.overview-card:hover {
  transform: none;
  box-shadow: none;
}

.overview-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 80px;
  padding: 0 16px;
}

.overview-card__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 14px;
  color: #6d28d9;
  background: linear-gradient(135deg, #f5f0ff, #ede9fe);
}

.overview-card__label {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
}

.overview-card__value {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.hub-info-card {
  margin: 0;
  min-height: 190px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: none;
  background: linear-gradient(145deg, #ffffff, #fafcff);
}

.hub-info-card:hover {
  transform: none;
  box-shadow: none;
}

.hub-info-card__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}

.hub-info-card__headline {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.hub-info-card__sub {
  margin-top: 4px;
  font-size: 13px;
  color: #9ca3af;
}

.hub-info-card__stack {
  margin-top: 10px;
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: #4b5563;
}

.hub-info-card__help {
  margin-top: 10px;
  min-height: 36px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.hub-info-card__actions {
  margin-top: 10px;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-info-card__actions .btn {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* =========================================================
   Quick menu
========================================================= */

.quick-menu-grid {
  row-gap: 10px;
}

.quick-menu-item {
  margin: 0;
  min-height: 68px;
  border-radius: 12px;
  border: 1px solid #eef2f6;
  box-shadow: none;
  background: linear-gradient(145deg, #ffffff, #fafcff);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.quick-menu-item:hover {
  border-color: #dbeafe;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.06);
}

.quick-menu-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 16px;
  color: #6b7280;
  background: #f3f4f6;
}

.quick-menu-item__text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.quick-menu-item__chip {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: #ef4444;
}

.quick-menu-item__arrow {
  color: #d1d5db;
  font-size: 14px;
}

.quick-menu-item:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* =========================================================
   Modal compatibility
========================================================= */

.modal__dialog.gap-10 {
  gap: 10px;
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1100px) {
  .profile-main-card {
    grid-column: span 12;
  }

  .role-status-card {
    grid-column: span 6;
  }
}

@media (max-width: 768px) {
  .user_profile_area.profile-hero {
    gap: 14px;
  }

  .profile-main-card,
  .role-status-card {
    grid-column: span 12;
    min-height: auto;
  }

  .profile-main-inner {
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }

  .profile-main-avatar {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .profile-main-avatar img,
  .profile-main-avatar .avatar__fallback {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .profile-main-email {
    font-size: 18px;
  }

  .profile-main-actions {
    margin-top: 14px;
  }

  .role-status-card {
    padding: 20px;
  }

  .overview-card,
  .hub-info-card,
  .quick-menu-item {
    grid-column: span 12;
  }

  .mypage-panel__header,
  .mypage-panel__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quick-menu-item {
    min-height: 60px;
  }

  .quick-menu-item__text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .profile-main-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-main-actions {
    width: 100%;
    flex-direction: column;
  }

  .profile-main-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .role-card__header {
    align-items: flex-start;
  }

  .role-card__title-wrap {
    align-items: flex-start;
  }

  .role-card__summary-row {
    display: block;
  }

  .role-card__profile-btn {
    width: auto;
  }

  .role-card__head-actions {
    width: 100%;
    justify-content: flex-start;
    margin-top: 6px;
  }

  .role-card__btn {
    min-height: 42px;
    font-size: 13px;
  }
}
/* =========================================================
   My Activity Summary
========================================================= */

.my-activity-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.my-activity-summary__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 104px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #111827;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.my-activity-summary__card:hover,
.my-activity-summary__card:focus-visible {
  border-color: #93c5fd;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.my-activity-summary__card.is-active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.my-activity-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 19px;
}

.my-activity-summary__icon--sponsor {
  color: #dc2626;
  background: #fef2f2;
}

.my-activity-summary__icon--reward {
  color: #7c3aed;
  background: #f5f3ff;
}

.my-activity-summary__icon--revenue {
  color: #047857;
  background: #ecfdf5;
}

.my-activity-summary__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.my-activity-summary__label {
  font-size: 13px;
  font-weight: 700;
  color: #4b5563;
}

.my-activity-summary__count {
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
}

.my-activity-summary__amount {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  color: #6b7280;
  word-break: keep-all;
}

@media (max-width: 900px) {
  .my-activity-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .my-activity-summary {
    grid-template-columns: 1fr;
  }

  .my-activity-summary__card {
    min-height: 88px;
  }
}


/* =========================================================
   Role mini stats / User flow cards
========================================================= */

.role-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.role-card__stats[hidden] {
  display: none;
}

.role-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.72);
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.role-card__stats b {
  color: #111827;
  font-size: 13px;
}

.user-flow-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.user-flow-card:hover,
.user-flow-card:focus-visible {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.user-flow-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #2563eb;
  background: #eff6ff;
  font-size: 18px;
  margin-bottom: 4px;
}

/* =========================================================
   Payment reserve cards
========================================================= */

.payment-reserve-cards {
  display: grid;
  gap: 12px;
}

.payment-reserve-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}


.payment-reserve-card__thumb {
  width: 112px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.payment-reserve-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-reserve-card__thumb--empty {
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 24px;
}

.payment-reserve-card__main,
.payment-reserve-card__side {
  min-width: 0;
}

.payment-reserve-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.payment-reserve-card__title {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 800;
  color: #111827;
}

.payment-reserve-card__title a {
  color: inherit;
  text-decoration: none;
}

.payment-reserve-card__title a:hover {
  text-decoration: underline;
}

.payment-reserve-card__context,
.payment-reserve-card__help,
.payment-reserve-card__date {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.payment-reserve-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.payment-reserve-card__amount {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
}

.payment-reserve-card__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 760px) {
  .payment-reserve-card {
    grid-template-columns: 1fr;
  }

  .payment-reserve-card__thumb {
    width: 100%;
    max-height: 180px;
  }

  .payment-reserve-card__side {
    align-items: flex-start;
    text-align: left;
  }

  .payment-reserve-card__actions {
    justify-content: flex-start;
  }
}


/* =========================================================
   Payment reserve detail
========================================================= */

.reserve-detail-hero {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(220px, 280px);
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
}

.reserve-detail-hero__thumb {
  width: 180px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

.reserve-detail-hero__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reserve-detail-hero__thumb--empty {
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-size: 28px;
}

.reserve-detail-hero__main,
.reserve-detail-hero__side {
  min-width: 0;
}

.reserve-detail-hero__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 800;
  color: #111827;
  word-break: keep-all;
}

.reserve-detail-hero__sub,
.reserve-detail-hero__help {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7280;
}

.reserve-detail-hero__help {
  color: #4b5563;
}

.reserve-detail-hero__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.reserve-detail-hero__amount {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
}

.reserve-detail-hero__captured {
  display: grid;
  gap: 2px;
  margin-top: 12px;
}

.reserve-detail-hero__captured strong {
  font-size: 15px;
  color: #111827;
}

.reserve-detail-hero__side .btn {
  margin-top: auto;
}

.reserve-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.reserve-detail-info {
  min-width: 0;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  background: #ffffff;
}

.reserve-detail-info span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}

.reserve-detail-info strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  color: #111827;
  overflow-wrap: anywhere;
}

.reserve-detail-info .btn {
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .reserve-detail-hero {
    grid-template-columns: 1fr;
  }

  .reserve-detail-hero__thumb {
    width: 100%;
    max-height: 240px;
  }

  .reserve-detail-hero__side {
    align-items: flex-start;
    text-align: left;
  }

  .reserve-detail-info-grid {
    grid-template-columns: 1fr;
  }
}
