/**
 * PeThoria Match — Tinder-style swipe deck (isolated from shared .card styles)
 */
.match-page {
  background: #f8fafc;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
  color: #1f2937;
  display: flex;
  flex-direction: column;
}

.match-app-shell {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: 28rem;
  margin: 0 auto;
  width: 100%;
}

.match-header-app {
  flex-shrink: 0;
  z-index: 40;
}

.match-icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
}

.match-type-row .filter-pill {
  padding: 8px 10px;
  font-size: 13px;
}

.match-tools-panel {
  flex-shrink: 0;
  max-height: 42vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.match-tools-panel.hidden {
  display: none !important;
}

.match-app-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

.match-split-layout {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.match-photo-stage {
  flex: 0 0 38vh;
  height: 38vh;
  max-height: 38vh;
  position: relative;
  padding: 0 10px 0;
  overflow: hidden;
}

.match-page .swipe-container {
  perspective: 1000px;
  width: 100%;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  position: relative;
  touch-action: none;
  margin-bottom: 0 !important;
  overflow: hidden;
}

.match-details-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
  background: #fff;
  border-radius: 22px 22px 0 0;
  margin-top: -12px;
  z-index: 12;
  box-shadow: 0 -10px 32px rgba(15, 23, 42, 0.1);
  position: relative;
  pointer-events: auto;
}

.match-details-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.match-details-scroll-hint i {
  animation: matchScrollHintBounce 1.6s ease-in-out infinite;
}

@keyframes matchScrollHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.match-empty-state {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.96);
}

.match-empty-state.hidden {
  display: none !important;
}

.match-app-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  position: relative;
  overflow: hidden;
}

.match-details-view-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 14px;
  margin-bottom: 12px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdf2f8, #ede9fe);
  color: #7c3aed;
  font-size: 0.9rem;
  font-weight: 700;
}

.match-details-photo-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.match-details-photo-strip img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}

.match-photo-stage .profiles-loading-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.match-page .swipe-container {
  height: 100% !important;
  max-height: 100% !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  touch-action: none;
  overflow: hidden;
}

.match-page .swipe-card.match-photo-card {
  border-radius: 18px;
}

.match-photo-img,
.match-photo-carousel,
.match-photo-carousel .carousel-images {
  width: 100%;
  height: 100%;
}

.match-photo-carousel .carousel-images {
  position: relative;
}

.match-photo-carousel .carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-photo-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  z-index: 10;
  pointer-events: none;
}

.match-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 15;
  color: #fff;
  pointer-events: none;
}

.match-photo-caption-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.match-photo-name {
  font-size: 1.35rem;
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.match-photo-sub {
  font-size: 0.85rem;
  opacity: 0.92;
  margin-top: 2px;
}

.match-photo-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.match-photo-tag.world {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}

.match-photo-tag.verified {
  background: #1d9bf0;
  width: 22px;
  height: 22px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.match-details-inner {
  padding: 0.35rem 1rem 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.match-details-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.match-details-age {
  font-weight: 400;
  color: #6b7280;
  margin-left: 4px;
}

.match-details-meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
  line-height: 1.4;
}

.match-details-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}

.match-details-chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fdf2f8;
  color: #be185d;
  font-size: 12px;
  font-weight: 600;
}

.match-details-section {
  margin-top: 1rem;
  padding-top: 0.25rem;
}

.match-details-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.match-details-bio {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #374151;
}

.match-details-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.match-details-gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.match-owner-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.match-owner-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.match-pet-mini {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f9fafb;
  margin-bottom: 8px;
}

.match-pet-mini-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.match-pet-mini-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  font-size: 1.25rem;
}

.match-facts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.match-fact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #f3f4f6;
  font-size: 0.8rem;
  color: #374151;
  font-weight: 600;
}

.match-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.match-badge-verified { background: #dbeafe; color: #1d4ed8; }
.match-badge-premium { background: #fef3c7; color: #92400e; }
.match-badge-world { background: #ede9fe; color: #6d28d9; }

.match-details-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.match-details-msg-btn,
.match-details-profile-btn {
  padding: 12px 10px;
  border-radius: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.match-details-msg-btn {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  color: #fff;
}

.match-details-profile-btn {
  background: #f3f4f6;
  color: #374151;
}

.match-action-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 12px 8px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.match-action-bar .tinder-btn {
  width: 52px;
  height: 52px;
}

.match-empty-state {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(248, 250, 252, 0.96);
}

.match-empty-state.hidden {
  display: none !important;
}

.match-page .match-bottom-nav {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.match-photo-skeleton {
  height: 100%;
  border-radius: 18px;
}

.match-page .swipe-card-skeleton.match-photo-skeleton .swipe-card-skeleton-media {
  height: 100%;
  flex: 1;
}

@media (min-width: 768px) {
  .match-app-shell {
    max-width: 26rem;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
  }
}


.match-page .match-header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.match-page .filter-pill {
  background: rgba(59, 130, 246, 0.08);
  border: 2px solid #3b82f6;
  color: #3b82f6;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.match-page .filter-pill.active {
  background: #3b82f6;
  color: #fff;
}

.match-page .match-location-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.match-page .location-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.match-page .location-tab {
  flex: 1;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.match-page .location-tab.active {
  color: #ec4899;
  background: #fff;
  box-shadow: inset 0 -2px 0 #ec4899;
}

.match-page .location-panel.hidden {
  display: none;
}

.match-page .address-autocomplete-wrap {
  flex: 1;
  min-width: 0;
}

.match-page .address-autocomplete-dropdown {
  z-index: 1200;
}

.match-page .address-autocomplete-item.selected,
.match-page .address-autocomplete-item:hover {
  background: #fdf2f8 !important;
}

.match-page .match-location-row {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.match-page .match-filters-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 9999px;
  border: 1px dashed #cbd5e1;
  background: #fff;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
}

.match-page .match-filters-panel {
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.match-page .match-filters-panel.hidden {
  display: none !important;
}

/* Swipe deck — single card in photo stage */
.match-page .swipe-container.duplicate-rule-removed {
  perspective: 1000px;
  width: 100%;
  position: relative;
}

.match-page .swipe-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  cursor: grab;
  transform-origin: center center;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.3s ease-out;
  border: none !important;
  margin: 0 !important;
}

.match-page .swipe-card:active { cursor: grabbing; }
.match-page .swipe-card.dragging { transition: none !important; }
.match-page .swipe-card.animate-out {
  transition: transform 0.55s ease-out, opacity 0.55s ease-out !important;
}
.match-page .swipe-card.swipe-right {
  transform: translateX(120vw) rotate(28deg) !important;
  opacity: 0;
}
.match-page .swipe-card.swipe-left {
  transform: translateX(-120vw) rotate(-28deg) !important;
  opacity: 0;
}
.match-page .swipe-card.swipe-up {
  transform: translateY(-120vh) scale(0.85) !important;
  opacity: 0;
}
.match-page .swipe-card.snap-back {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Loading skeleton while profiles fetch */
.match-page .swipe-card-skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.match-page .swipe-card-skeleton-media {
  flex: 1;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: matchSkeletonShimmer 1.2s ease-in-out infinite;
}

.match-page .swipe-card-skeleton-body {
  padding: 1.25rem 1rem 1.5rem;
}

.match-page .swipe-card-skeleton-line {
  height: 14px;
  border-radius: 8px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
  background-size: 200% 100%;
  animation: matchSkeletonShimmer 1.2s ease-in-out infinite;
}

.match-page .swipe-card-skeleton-line.title { width: 55%; height: 22px; margin-bottom: 14px; }
.match-page .swipe-card-skeleton-line.short { width: 40%; }
.match-page .swipe-card-skeleton-line.medium { width: 72%; }
.match-page .swipe-card-skeleton-line.long { width: 90%; }

.match-page .profiles-loading-label {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 0.75rem;
}

.match-page .filter-pill:disabled {
  opacity: 0.55;
  cursor: wait;
}

.match-page .tinder-actions.loading-disabled {
  opacity: 0.45;
  pointer-events: none;
}

@keyframes matchSkeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.match-page .swipe-card:nth-child(2) {
  transform: scale(0.96) translateY(10px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.match-page .swipe-card:nth-child(3) {
  transform: scale(0.92) translateY(20px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.match-page .like-indicator,
.match-page .nope-indicator,
.match-page .super-like-indicator {
  position: absolute;
  z-index: 25;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  border: 3px solid #fff;
  border-radius: 15px;
  transition: opacity 0.05s linear;
}

.match-page .like-indicator {
  top: 50%;
  right: 20px;
  transform: translateY(-50%) rotate(15deg);
  background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
  color: #fff;
  padding: 15px 25px;
  font-size: 22px;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.35);
}

.match-page .nope-indicator {
  top: 50%;
  left: 20px;
  transform: translateY(-50%) rotate(-15deg);
  background: linear-gradient(45deg, #6c5ce7, #a29bfe);
  color: #fff;
  padding: 15px 25px;
  font-size: 22px;
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.35);
}

.match-page .super-like-indicator {
  top: 20px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  background: linear-gradient(45deg, #00b894, #00cec9);
  color: #fff;
  padding: 12px 22px;
  font-size: 18px;
  box-shadow: 0 5px 15px rgba(0, 184, 148, 0.35);
}

.match-page .gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  z-index: 10;
  pointer-events: none;
}

.match-page .swipe-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem 1rem;
  color: #fff;
  z-index: 15;
}

.match-page .swipe-card-name {
  color: #9333ea;
  -webkit-text-stroke: 0.75px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px #fff,
    0 0 2px #fff,
    0 1px 4px rgba(0, 0, 0, 0.65);
  font-weight: 700;
}

.match-page .swipe-card-owner-name {
  color: #7e22ce;
  font-weight: 600;
  -webkit-text-stroke: 0.5px rgba(255, 255, 255, 0.9);
  paint-order: stroke fill;
  text-shadow:
    0 0 1px #fff,
    0 1px 3px rgba(0, 0, 0, 0.55);
}

.match-page .swipe-card-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.match-page .swipe-card-actions button {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  border: none;
}

.match-page .match-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  z-index: 100100;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  max-width: 320px;
  width: 90%;
}

.match-page #matchNotification.hidden,
.match-page #matchBackdrop.hidden {
  display: none !important;
}

.match-page .match-notification-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 100090;
}

.match-page .match-filter-section {
  margin-bottom: 0.875rem;
}

.match-page .match-filter-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.match-page .filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.match-page .filter-chip,
.match-page .filter-any-btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-weight: 600;
  transition: all 0.15s ease;
}

.match-page .filter-chip:hover,
.match-page .filter-any-btn:hover {
  border-color: #f472b6;
  color: #db2777;
}

.match-page .filter-chip.active,
.match-page .filter-any-btn.active {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  border-color: transparent;
  color: #fff;
}

.match-page.dark .filter-chip,
.match-page.dark .filter-any-btn {
  background: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

.match-page .match-bottom-nav {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  z-index: 50;
}

/* Floating hamburger (PeThoria World style) — above bottom nav on match page */
.match-page .pt-float-nav-fab {
  z-index: 10050;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.match-page .pt-float-nav-backdrop {
  z-index: 10040;
}

.match-page .pt-float-nav-panel {
  z-index: 10045;
}


.match-page .floating-hearts {
  position: fixed;
  pointer-events: none;
  font-size: 28px;
  z-index: 9999;
  animation: matchFloatUp 1.8s ease-out forwards;
}

@keyframes matchFloatUp {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-120px) scale(1.35); }
}

.match-page .pulse-ring {
  animation: matchPulseRing 2s infinite;
}

@keyframes matchPulseRing {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.65); }
  70% { box-shadow: 0 0 0 12px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

/* Facebook Dating–style profile sheet */
.match-profile-sheet {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.match-profile-sheet.open {
  display: flex;
}

.match-profile-sheet-panel {
  width: min(520px, 100%);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
  animation: sheetSlideUp 0.28s ease;
}

@keyframes sheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.match-profile-hero {
  position: relative;
  height: 320px;
  background: #111827;
}

.match-profile-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-profile-hero-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.match-profile-hero-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.match-profile-hero-dots span.active {
  background: #fff;
  width: 22px;
}

.match-profile-body {
  padding: 1.25rem 1.25rem 2rem;
}

.match-profile-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 1rem 0;
}

.match-profile-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

.match-profile-chip {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  background: #fce7f3;
  color: #be185d;
  font-size: 12px;
  font-weight: 600;
}

.match-profile-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}
