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

.mypage {
  width: 100%;
}

.mypage_head {
  margin-bottom: 18px;
}

.mypage-head-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.mypage-public-profile-btn{flex:0 0 auto;gap:7px;margin-top:2px;background:#fff}
@media(max-width:640px){.mypage-head-actions{align-items:stretch;flex-direction:column}.mypage-public-profile-btn{align-self:flex-start}}

/* =========================================================
   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;
  padding-bottom : 10px;
  border-bottom : 1px solid #fff;
  border-bottom-color: rgba(255, 255, 255, 0.16);
}

.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__summary-line + .role-card__summary-line {
  margin-top: 7px;
}

.role-card__summary-line--genres {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 7px 8px;
}

.role-card__summary-line--genres b {
  flex: 0 0 auto;
  line-height: 24px;
}

.role-card__genre-list {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  flex: 1 1 140px;
}

.role-card__genre-badge {
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  border-color: rgba(37, 99, 235, 0.20);
  background: rgba(37, 99, 235, 0.08);
  color: #1e40af;
  line-height: 1;
  white-space: nowrap;
}

.role-card__genre-badge--more {
  border-color: rgba(100, 116, 139, 0.24);
  background: rgba(100, 116, 139, 0.10);
  color: #475569;
}

.role-card__genre-empty {
  line-height: 24px;
  color: inherit;
}

.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);
}



/* =========================================================
   Profile Hero - stronger visual surface
========================================================= */

.profile-main-card {
  overflow: hidden;
  border-color: rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(720px 260px at 8% -18%, rgba(59, 130, 246, 0.34), transparent 62%),
    radial-gradient(620px 260px at 95% 12%, rgba(14, 165, 233, 0.24), transparent 56%),
    linear-gradient(135deg, #0f172a 0%, #111827 45%, #1e293b 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.profile-main-card:hover {
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.24);
}

.profile-main-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 46%);
}

.profile-main-inner {
  position: relative;
  z-index: 1;
}

.profile-main-avatar img,
.profile-main-avatar .avatar__fallback {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.24);
}

.profile-main-kicker {
  color: rgba(191, 219, 254, 0.92);
}

.profile-main-email {
  color: #ffffff;
}

.profile-main-id {
  color: rgba(226, 232, 240, 0.76);
}

.profile-main-actions .btn-outline-secondary {
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.26);
  border-color: rgba(186, 230, 253, 0.34);
}

.profile-main-actions .btn-outline-secondary:hover {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(224, 242, 254, 0.56);
}

.role-status-card {
  overflow: hidden;
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
}

.role-status-card:hover {
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.15);
}

.role-card--creator {
  background:
    radial-gradient(520px 220px at 14% -16%, rgba(168, 85, 247, 0.28), transparent 60%),
    radial-gradient(420px 210px at 105% 6%, rgba(59, 130, 246, 0.18), transparent 58%),
    linear-gradient(135deg, #2e1065 0%, #4c1d95 50%, #312e81 100%);
  border-color: rgba(196, 181, 253, 0.30);
}

.role-card--reviewer {
  background:
    radial-gradient(520px 220px at 14% -16%, rgba(59, 130, 246, 0.30), transparent 60%),
    radial-gradient(420px 210px at 105% 6%, rgba(14, 165, 233, 0.20), transparent 58%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 54%, #0f766e 100%);
  border-color: rgba(147, 197, 253, 0.30);
}

.role-card__title,
.role-card__summary strong,
.role-card__summary b {
  color: #ffffff;
}

.role-card__summary,
.role-card__empty-helper {
  color: rgba(241, 245, 249, 0.82);
}

.role-status-card .role-card__genre-badge {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.role-status-card .role-card__genre-badge--more {
  border-color: rgba(191, 219, 254, 0.28);
  background: rgba(191, 219, 254, 0.14);
  color: #dbeafe;
}

.role-card--creator .role-card__icon,
.role-card--reviewer .role-card__icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.role-card__profile-btn,
.role-card__btn.btn-outline-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.role-card__profile-btn:hover,
.role-card__btn.btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
}

.role-card--creator .role-card__btn.btn-outline-secondary,
.role-card--reviewer .role-card__btn.btn-outline-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.role-card__actions-wrap {
  margin-top : 15px;
  border-top-color: rgba(255, 255, 255, 0.16);
}

.role-card__header .badge {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.role-card__header .badge.badge--approved {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(110, 231, 183, 0.44);
  color: #d1fae5;
}

.role-card__header .badge.badge--pending {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(252, 211, 77, 0.48);
  color: #fef3c7;
}

.role-card__header .badge.badge--rejected,
.role-card__header .badge.badge--revoked {
  background: rgba(248, 113, 113, 0.18);
  border-color: rgba(252, 165, 165, 0.42);
  color: #fee2e2;
}

.role-card__stats span {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
}

.role-card__stats b {
  color: #ffffff;
}

/* =========================================================
   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;
}

/* =========================================================
   Unified POINT overview
========================================================= */

.point-overview-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.point-overview-panel__icon {
  color: #0f766e;
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
}

.point-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.point-overview-card {
  display: flex;
  min-width: 0;
  min-height: 126px;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 13px;
  background: #fff;
}

.point-overview-card--primary {
  border-color: #bfdbfe;
  background: linear-gradient(145deg, #eff6ff, #eef2ff);
}

.point-overview-card--partner {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.point-overview-card--locked {
  border-color: #fde68a;
  background: #fffbeb;
}

.point-overview-card__label {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.point-overview-card__value {
  margin-top: 8px;
  color: #0f172a;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.point-overview-card--primary .point-overview-card__value { color: #1d4ed8; }
.point-overview-card--partner .point-overview-card__value { color: #047857; }
.point-overview-card--locked .point-overview-card__value { color: #b45309; }

.point-overview-card__help {
  margin-top: 7px;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.45;
}

/* =========================================================
   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__metrics {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.hub-info-card__metrics span {
  min-width: 0;
  min-height: 38px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f6;
}

.hub-info-card__metrics span:last-child {
  border-bottom: 0;
}

.hub-info-card__metrics b {
  min-width: 0;
  max-width: 62%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
  color: #111827;
}

.hub-info-card__metrics em {
  flex: 0 0 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  color: #64748b;
}

.hub-info-card__metrics.is-loading b {
  color: #94a3b8;
}

.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 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 4px 0 2px;
}

.quick-menu-item {
  grid-column: auto !important;
  margin: 0;
  min-height: 74px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  background: #ffffff;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.quick-menu-item:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.07);
  transform: translateY(-1px);
}

.quick-menu-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 15px;
  color: #2563eb;
  background: #eff6ff;
}

.quick-menu-item__text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  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: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: 1180px) {
  .quick-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@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;
  }

  .point-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

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

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

@media (max-width: 480px) {
  .point-overview-panel__header { align-items: flex-start; flex-direction: column; }
  .point-overview-grid { grid-template-columns: 1fr; }
  .point-overview-card { min-height: 112px; }
  .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 Hero
========================================================= */

.my-activity-hero {
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(37, 99, 235, 0.54)),
    url("/static/img/open_back02.jpg") center/cover no-repeat;
  color: #ffffff;
}

.my-activity-hero__inner {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.my-activity-hero__eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.my-activity-hero__title {
  max-width: 720px;
  margin: 0;
  color: #ffffff;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

.my-activity-hero__desc {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.7;
}

.my-activity-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.my-activity-hero__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .my-activity-hero,
  .my-activity-hero__inner {
    min-height: 260px;
  }

  .my-activity-hero__title {
    font-size: 34px;
  }

  .my-activity-hero__desc {
    font-size: 14px;
  }
}



.my-activity-hero--results {
  min-height: 300px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(124, 58, 237, 0.52)),
    url("/static/img/open_back05.jpg") center/cover no-repeat;
}

.my-activity-hero--results .my-activity-hero__inner {
  min-height: 300px;
}

.my-activity-hero--detail {
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(13, 148, 136, 0.56)),
    url("/static/img/open_back04.jpg") center/cover no-repeat;
}

.my-activity-hero--detail .my-activity-hero__inner {
  min-height: 280px;
}

.my-activity-detail-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.my-activity-detail-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #f8fbff 0%, #f8fafc 100%);
}

.my-activity-detail-card__header h1 {
  margin: 2px 0 4px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.my-activity-detail-card__header p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.my-activity-detail-card__eyebrow {
  color: #2563eb !important;
  font-size: 12px !important;
  font-weight: 800;
}

.my-activity-detail-hero-card {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
  padding: 30px 28px 26px;
  background: #ffffff;
}

.my-activity-detail-hero-card__thumb {
  min-height: 210px;
  overflow: hidden;
  border-radius: 14px;
  border: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  background: #f1f5f9;
}

.my-activity-detail-hero-card__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-activity-detail-hero-card:has(.my-activity-detail-hero-card__thumb[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}

.my-activity-detail-hero-card__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.my-activity-detail-hero-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.my-activity-detail-hero-card__title {
  margin: 0;
  color: #0f172a;
  font-size: 27px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  word-break: keep-all;
}

.my-activity-detail-hero-card__sub,
.my-activity-detail-hero-card__creator {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.my-activity-detail-hero-card__creator {
  color: #334155;
  font-weight: 700;
}

.my-activity-detail-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.my-activity-detail-amount,
.my-activity-detail-amounts .my-activity-detail-fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  padding: 15px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.my-activity-detail-amount span,
.my-activity-detail-amounts .my-activity-detail-fact span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.my-activity-detail-amount strong,
.my-activity-detail-amounts .my-activity-detail-fact strong {
  margin-top: 7px;
  color: #0f172a;
  font-size: 19px;
  font-weight: 900;
}

.my-activity-detail-amounts .my-activity-detail-amount--accent {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.my-activity-detail-amounts .my-activity-detail-amount--accent strong {
  color: #1d4ed8;
}

.my-activity-detail-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.my-activity-detail-fact {
  display: flex;
  min-width: 0;
  min-height: auto;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: transparent;
}

.my-activity-detail-fact span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.my-activity-detail-fact strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.my-activity-detail-fact--accent {
  background: transparent;
}

.my-activity-detail-fact--accent strong {
  color: #1d4ed8;
}

.my-activity-detail-fact--report {
  grid-column: span 2;
}

.my-activity-detail-hero-card__side {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.my-activity-detail-progress-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px 28px 28px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
}

.my-activity-detail-progress {
  padding: 0;
  border: 0;
  background: transparent;
}

.my-activity-detail-progress__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.my-activity-detail-progress__head span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.my-activity-detail-progress__head strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

.my-activity-detail-progress__track {
  height: 9px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8f0;
}

.my-activity-detail-progress__bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
}

.my-activity-detail-progress__bar--production {
  background: #2563eb;
}

.my-activity-detail-progress__bar--funding {
  background: #16a34a;
}

.my-activity-detail-progress p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .my-activity-detail-card__header {
    align-items: flex-start;
  }

  .my-activity-detail-hero-card {
    grid-template-columns: 1fr;
  }

  .my-activity-detail-hero-card__thumb {
    min-height: 220px;
  }

  .my-activity-detail-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .my-activity-detail-amounts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .my-activity-detail-progress-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .my-activity-detail-card__header {
    flex-direction: column;
  }

  .my-activity-detail-card__header .btn {
    width: 100%;
  }

  .my-activity-detail-hero-card,
  .my-activity-detail-progress-grid {
    padding-right: 16px;
    padding-left: 16px;
  }

  .my-activity-detail-facts {
    grid-template-columns: 1fr;
  }

  .my-activity-detail-fact--report {
    grid-column: auto;
  }

  .my-activity-detail-amounts {
    grid-template-columns: 1fr;
  }
}

/* Avatar drag & drop */
.avatar-upload [hidden] {
  display: none !important;
}

.avatar-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.avatar-upload__dropzone {
  position: relative;
  min-height: 230px;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.avatar-upload__dropzone:hover,
.avatar-upload__dropzone:focus-visible {
  border-color: #6b94f8;
  background: #f5f8ff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .09);
  outline: none;
}

.avatar-upload__dropzone.is-dragging {
  border-color: #3978f6;
  background: #edf4ff;
  box-shadow: 0 0 0 5px rgba(57, 120, 246, .12);
  transform: translateY(-2px);
}

.avatar-upload__dropzone.has-file {
  border-style: solid;
  border-color: #bfdbfe;
  background: #fff;
}

.avatar-upload__placeholder {
  text-align: center;
}

.avatar-upload__icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 16px;
  background: #e8f0ff;
  color: #3978f6;
  font-size: 27px;
}

.avatar-upload__placeholder strong {
  display: block;
  color: #172033;
  font-size: 17px;
}

.avatar-upload__placeholder p {
  margin: 7px 0 12px;
  color: #64748b;
  font-size: 13px;
}

.avatar-upload__formats {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .08);
}

.avatar-upload__preview {
  display: grid;
  width: 100%;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.avatar-upload__preview img {
  width: 112px;
  height: 112px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .16);
}

.avatar-upload__file-info {
  min-width: 0;
}

.avatar-upload__file-info strong,
.avatar-upload__file-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.avatar-upload__file-info strong {
  color: #172033;
  font-size: 15px;
}

.avatar-upload__file-info span {
  margin-top: 5px;
  color: #3978f6;
  font-size: 12px;
  font-weight: 700;
}

.avatar-upload__file-info p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.avatar-upload__remove {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #64748b;
  cursor: pointer;
}

.avatar-upload__remove:hover {
  border-color: #fecaca;
  background: #fff1f2;
  color: #dc2626;
}

.avatar-upload__guide {
  display: flex;
  gap: 7px;
  margin: 11px 2px 0;
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 560px) {
  .avatar-upload__dropzone {
    min-height: 210px;
    padding: 22px 18px;
  }

  .avatar-upload__preview {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .avatar-upload__remove {
    position: absolute;
    align-self: start;
    justify-self: end;
  }
}

/* =========================================================
   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 rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.role-card__stats b {
  color: #ffffff;
  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-summary {
  overflow: hidden;
}

.payment-reserve-summary__head {
  border-bottom: 0;
}

.payment-reserve-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 16px;
}

.payment-reserve-summary__card {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 126px;
  gap: 13px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.payment-reserve-summary__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 21px;
}

.payment-reserve-summary__content {
  min-width: 0;
}

.payment-reserve-summary__content > span,
.payment-reserve-summary__content > small {
  display: block;
}

.payment-reserve-summary__content > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.payment-reserve-summary__content > strong {
  display: block;
  margin-top: 6px;
  color: #0f172a;
  font-size: 23px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.payment-reserve-summary__card--total .payment-reserve-summary__content > strong,
.payment-reserve-summary__card--amount .payment-reserve-summary__content > strong {
  color: #2563eb;
}

.payment-reserve-summary__card--captured .payment-reserve-summary__content > strong {
  color: #dc2626;
}

.payment-reserve-summary__card--cancelable .payment-reserve-summary__content > strong {
  color: #ea580c;
}

.payment-reserve-summary__content > small {
  margin-top: 7px;
  overflow: hidden;
  color: #94a3b8;
  font-size: 11px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-reserve-summary__card--amount {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
}

.payment-reserve-summary__card--captured .payment-reserve-summary__icon {
  background: #d1fae5;
  color: #059669;
}

.payment-reserve-summary__card--cancelable .payment-reserve-summary__icon {
  background: #ffedd5;
  color: #ea580c;
}

.payment-reserve-filter-wrap {
  padding: 18px 12px 12px;
}

.payment-reserve-filter-grid {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    minmax(180px, 1fr)
    minmax(130px, 0.65fr)
    minmax(260px, 1.35fr)
    auto;
  align-items: end;
  gap: 10px;
}

.payment-reserve-filter-field {
  min-width: 0;
}

.payment-reserve-filter-field > label {
  display: block;
  margin: 0 0 6px;
}

.payment-reserve-filter-field .form-input {
  width: 100%;
  min-height: 44px;
}

.payment-reserve-filter-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.payment-reserve-filter-actions .btn {
  min-height: 44px;
}

@media (max-width: 1120px) {
  .payment-reserve-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .payment-reserve-filter-actions {
    justify-content: flex-end;
  }
}

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

  .payment-reserve-filter-actions .btn {
    flex: 1;
  }
}

@media (max-width: 1080px) {
  .payment-reserve-summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .payment-reserve-summary__card {
    min-height: 108px;
  }
}

.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__amount--reserved {
  color: #2563eb;
}

.payment-reserve-card__amount--captured,
.payment-reserve-card__amount--failed {
  color: #dc2626;
}

.payment-reserve-card__amount--released {
  color: #059669;
}

.payment-reserve-card__amount--expired {
  color: #64748b;
}

.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;
  }
}

/* Reserved payment detail visual hierarchy */
.reserve-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  gap: 24px;
  padding: 24px;
  grid-template-columns: 180px minmax(0, 1fr) minmax(290px, 320px);
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: 16px;
  background:
    radial-gradient(circle at 84% 8%, rgba(167, 139, 250, 0.34), transparent 31%),
    radial-gradient(circle at 42% 115%, rgba(59, 130, 246, 0.25), transparent 36%),
    linear-gradient(132deg, #111827 0%, #263b79 57%, #5b3fa3 100%);
  box-shadow: 0 16px 38px rgba(30, 41, 92, 0.2);
}

.reserve-detail-hero::before,
.reserve-detail-hero::after {
  display: none;
}

.reserve-detail-hero__thumb,
.reserve-detail-hero__main,
.reserve-detail-hero__side {
  position: relative;
  z-index: 1;
}

.reserve-detail-hero__thumb {
  border-color: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(4, 30, 27, 0.22);
}

.reserve-detail-hero__title {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(5, 35, 31, 0.2);
}

.reserve-detail-hero__sub,
.reserve-detail-hero__help {
  color: rgba(255, 255, 255, 0.76);
}

.reserve-detail-hero__help {
  color: rgba(255, 255, 255, 0.9);
}

.reserve-detail-hero .payment-reserve-card__badges .badge {
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.14);
}

.reserve-detail-hero .payment-reserve-card__badges .badge--muted {
  border-color: #cbd5e1;
  background: rgba(248, 250, 252, 0.94);
  color: #334155;
}

.reserve-detail-hero .payment-reserve-card__badges .badge--info {
  border-color: #93c5fd;
  background: #dbeafe;
  color: #1d4ed8;
}

.reserve-detail-hero .payment-reserve-card__badges .badge--warning {
  border-color: #fdba74;
  background: #ffedd5;
  color: #c2410c;
}

.reserve-detail-hero .payment-reserve-card__badges .badge--success {
  border-color: #86efac;
  background: #dcfce7;
  color: #15803d;
}

.reserve-detail-hero .payment-reserve-card__badges .badge--danger {
  border-color: #fca5a5;
  background: #fee2e2;
  color: #b91c1c;
}

.reserve-detail-hero__side {
  align-items: stretch;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 10px 28px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(9px);
  text-align: left;
}

.reserve-detail-hero__amount-label {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.reserve-detail-hero__amount {
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.reserve-detail-hero__amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.reserve-detail-hero__amount-row .btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.reserve-detail-hero__cancel {
  width: 100%;
  margin-top: 14px !important;
  justify-content: center;
}

.reserve-detail-hero__captured {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.reserve-detail-hero__captured strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.reserve-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
}

.reserve-detail-layout[hidden] {
  display: none;
}

.reserve-detail-section {
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.045);
}

.reserve-detail-section--history,
.reserve-detail-section--guide {
  grid-column: auto;
}

.reserve-detail-section__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #f8fafc;
}

.reserve-detail-section__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #e0e7ff;
  color: #4f46e5;
  font-size: 19px;
}

.reserve-detail-section--amount .reserve-detail-section__icon {
  background: #d1fae5;
  color: #059669;
}

.reserve-detail-section--history .reserve-detail-section__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.reserve-detail-section--guide .reserve-detail-section__icon {
  background: #ffedd5;
  color: #ea580c;
}

.reserve-detail-section .reserve-detail-info-grid {
  gap: 12px;
  padding: 18px;
}

.reserve-detail-section--participation .reserve-detail-info-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reserve-detail-section--participation .reserve-detail-info.reserve-detail-info--line {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 0;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
}

.reserve-detail-section--participation .reserve-detail-info.reserve-detail-info--line span {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.reserve-detail-section--participation .reserve-detail-info.reserve-detail-info--line strong {
  min-width: 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.reserve-detail-section--participation .reserve-detail-info.reserve-detail-info--line + .reserve-detail-info--line {
  margin-top: -12px;
}

.reserve-detail-section .reserve-detail-info {
  min-height: 94px;
  padding: 18px;
  border-radius: 10px;
  background: #fbfdff;
}

.reserve-detail-section .reserve-detail-info strong {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 800;
}

.reserve-detail-section--amount .reserve-detail-info {
  border-color: #d1fae5;
  background: #f0fdf4;
}

.reserve-detail-section--amount .reserve-detail-info strong {
  color: #047857;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.reserve-detail-section--history .reserve-detail-info strong {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.reserve-detail-section--guide .reserve-detail-info {
  background: #fffaf5;
}

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

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

  .reserve-detail-hero__amount-row {
    justify-content: space-between;
  }

  .reserve-detail-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reserve-detail-section--history,
  .reserve-detail-section--guide {
    grid-column: auto;
  }

  .reserve-detail-section--participation .reserve-detail-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }
}

@media (max-width: 560px) {
  .reserve-detail-section--participation .reserve-detail-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Reserved payment cancellation confirmation */
body.reserve-modal-open {
  overflow: hidden;
}

.reserve-cancel-modal[hidden] {
  display: none;
}

.reserve-cancel-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.reserve-cancel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.64);
  backdrop-filter: blur(4px);
}

.reserve-cancel-modal__dialog {
  position: relative;
  width: min(500px, 100%);
  overflow: hidden;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
}

.reserve-cancel-modal__accent {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #4f7df3, #ef4444, #f59e0b);
}

.reserve-cancel-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #64748b;
  cursor: pointer;
}

.reserve-cancel-modal__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 12px;
  background: #fff1f2;
  color: #e11d48;
  font-size: 21px;
}

.reserve-cancel-modal__kicker {
  margin-bottom: 7px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}

.reserve-cancel-modal h2 {
  margin: 0;
  color: #0f172a;
  font-size: 23px;
  line-height: 1.35;
}

.reserve-cancel-modal__description {
  margin: 8px 0 20px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}

.reserve-cancel-modal__summary {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.reserve-cancel-modal__summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
}

.reserve-cancel-modal__summary > div + div {
  border-top: 1px solid #e2e8f0;
}

.reserve-cancel-modal__summary span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 12px;
}

.reserve-cancel-modal__summary strong {
  color: #1e293b;
  font-size: 14px;
  text-align: right;
}

.reserve-cancel-modal__summary .reserve-cancel-modal__amount {
  background: #fff7f7;
}

.reserve-cancel-modal__amount strong {
  color: #dc2626;
  font-size: 21px;
  font-weight: 900;
}

.reserve-cancel-modal__notice {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7e8;
  color: #a05b0a;
  font-size: 12px;
  line-height: 1.5;
}

.reserve-cancel-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 10px;
  margin-top: 24px;
}

.reserve-cancel-modal__actions .btn {
  width: 100%;
  min-height: 48px;
  font-weight: 800;
}

@media (max-width: 560px) {
  .reserve-cancel-modal {
    padding: 12px;
  }

  .reserve-cancel-modal__dialog {
    padding: 24px 20px 20px;
  }

  .reserve-cancel-modal__summary > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .reserve-cancel-modal__summary strong {
    text-align: left;
  }
}
.culture-taste-panel__icon{background:#fff0f5!important;color:#e5487d!important}
.culture-taste-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.culture-taste-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:74px;padding:14px 16px;border:1px solid #e4e7ec;border-radius:14px;background:#fff;color:#1d2939;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s}
.culture-taste-card:hover{border-color:#b2ccff;box-shadow:0 7px 18px rgba(15,23,42,.06);transform:translateY(-1px)}
.culture-taste-card__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f2f4f7;color:#667085;font-size:17px}
.culture-taste-card--like .culture-taste-card__icon{background:#fff1f3;color:#e5484d}.culture-taste-card--bookmark .culture-taste-card__icon{background:#edf4ff;color:#3478f6}.culture-taste-card--creator .culture-taste-card__icon{background:#ecfdf3;color:#039855}
.culture-taste-card__body{display:grid;gap:2px;min-width:0}.culture-taste-card__body small{color:#98a2b3;font-size:11px;font-weight:700}.culture-taste-card__body strong{overflow:hidden;color:#344054;font-size:14px;white-space:nowrap;text-overflow:ellipsis}
.culture-taste-card>b{color:#172033;font-size:19px;font-weight:850;white-space:nowrap}.culture-taste-card__arrow{color:#b7c0ce;font-size:12px}
@media(max-width:760px){.culture-taste-grid{grid-template-columns:1fr}.culture-taste-card{min-height:66px}}
