/**
 * Perfil público — layout clásico centrado (sin sidebar ni paneles)
 */

.profile-page--classic {
  background: transparent;
  min-height: 100vh;
}

.profile-page--classic .profile-content,
.profile-page--classic .container,
.profile-page--classic .profile-classic__cards-section {
  background: transparent !important;
  box-shadow: none !important;
}

.profile-page--classic .profile-content {
  padding-top: 10rem;
  padding-bottom: 2rem;
}

.profile-page--classic .profile-image {
  transform: translate3d(0, -50%, 0);
}

.profile-page--classic .profile-nickname {
  font-size: 1.5rem;
  font-weight: 700;
}

.profile-page--classic .profile-nickname .nav-link {
  display: inline-block;
  padding: 0;
  margin: 0;
  color: #4267b2;
  font-size: 1.35rem;
  line-height: 1;
  vertical-align: middle;
}

.profile-page--classic .profile-classic__rank {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.32rem 0.82rem;
  border-radius: 999px;
  line-height: 1.2;
}

.profile-page--classic .profile-classic__qr-btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.profile-page--classic .profile-classic__stats {
  margin-top: 2.5rem;
}

.profile-page--classic .profile-classic__stats .title {
  font-weight: 600;
}

.profile-page--classic .profile-classic__divider {
  margin: 2rem 0 1.75rem;
  border-color: rgba(255, 255, 255, 0.18);
}

/* —— Insignias —— */
.profile-page--classic .profile-classic__badges {
  margin-bottom: 0.5rem;
  overflow: visible;
}

.profile-page--classic .profile-featured-badges {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.profile-page--classic .profile-featured-badges__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
}

.profile-page--classic .profile-featured-badges__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}

.profile-page--classic .profile-featured-badges__title-icon {
  font-size: 1.35rem !important;
  color: #ffc107;
}

.profile-page--classic .profile-featured-badges__nav {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.profile-page--classic .profile-featured-badges__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.profile-page--classic .profile-featured-badges__nav-btn .material-icons {
  font-size: 1.3rem;
}

.profile-page--classic .profile-featured-badges__dots {
  display: none;
}

.profile-page--classic .profile-featured-badges__scroll {
  overflow-x: auto;
  overflow-y: visible;
  padding: 1.75rem 0.5rem 0.5rem;
  scrollbar-width: none;
}

.profile-page--classic .profile-featured-badges__scroll::-webkit-scrollbar {
  display: none;
}

.profile-page--classic .profile-featured-badges__grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: 0.55rem;
  overflow: visible;
  scroll-behavior: smooth;
  padding: 0;
  justify-content: center;
}

.profile-page--classic .profile-featured-badges__grid::-webkit-scrollbar {
  display: none;
}

.profile-page--classic .profile-featured-badges__grid > li {
  flex: 0 0 auto;
  width: 100px;
  min-width: 100px;
  overflow: visible;
}

.profile-page--classic .profile-featured-badges__item {
  width: 100%;
  min-height: 0;
  padding: 0.45rem 0.3rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  text-align: center;
  overflow: visible;
  position: relative;
  transition:
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.profile-page--classic .profile-featured-badges__item:hover,
.profile-page--classic .profile-featured-badges__item:focus {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: color-mix(in srgb, var(--badge-accent) 55%, transparent);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 20px var(--badge-accent-soft);
  z-index: 8;
}

.profile-page--classic .profile-featured-badges__rarity {
  order: 0;
  margin: 0;
  font-size: 0.46rem;
  padding: 0.1rem 0.34rem;
  max-width: 100%;
  line-height: 1.2;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.profile-page--classic .profile-featured-badges__icon-slot {
  flex: 0 0 5.5rem;
  height: 5.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.profile-page--classic .profile-featured-badges__icon-wrap.profile-badge-tile__icon-wrap {
  position: relative;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  max-width: none !important;
  min-height: 2rem !important;
  max-height: none !important;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  overflow: visible !important;
  transition: box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.profile-page--classic .profile-featured-badges__icon-wrap img.profile-featured-badges__img,
.profile-page--classic .profile-featured-badges__icon-wrap img.profile-badge-tile__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 3.5rem !important;
  height: 3.5rem !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1),
    filter 0.32s ease;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

.profile-page--classic .profile-featured-badges__icon-wrap .profile-featured-badges__mi {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  line-height: 1;
  transition:
    transform 0.32s cubic-bezier(0.34, 1.45, 0.64, 1),
    filter 0.32s ease;
}

.profile-page--classic .profile-featured-badges__item:hover img.profile-featured-badges__img,
.profile-page--classic .profile-featured-badges__item:focus img.profile-featured-badges__img,
.profile-page--classic .profile-featured-badges__item:hover img.profile-badge-tile__img,
.profile-page--classic .profile-featured-badges__item:focus img.profile-badge-tile__img {
  z-index: 4;
  transform: translate(-50%, -50%) scale(1.85);
  filter:
    drop-shadow(0 12px 28px var(--badge-accent-soft))
    drop-shadow(0 0 22px color-mix(in srgb, var(--badge-accent) 72%, transparent))
    brightness(1.14)
    saturate(1.12)
    contrast(1.06);
}

.profile-page--classic .profile-featured-badges__item:hover .profile-featured-badges__mi,
.profile-page--classic .profile-featured-badges__item:focus .profile-featured-badges__mi {
  transform: translate(-50%, -50%) scale(1.65);
  filter:
    drop-shadow(0 10px 24px var(--badge-accent-soft))
    drop-shadow(0 0 18px color-mix(in srgb, var(--badge-accent) 65%, transparent))
    brightness(1.12);
}

.profile-page--classic .profile-featured-badges__item:hover .profile-featured-badges__icon-wrap,
.profile-page--classic .profile-featured-badges__item:focus .profile-featured-badges__icon-wrap {
  transform: none;
  box-shadow: 0 0 18px var(--badge-accent-soft);
  overflow: visible !important;
}

.profile-page--classic .profile-featured-badges__name,
.profile-page--classic .profile-featured-badges__refrain,
.profile-page--classic .profile-featured-badges__content {
  display: none !important;
}

/* —— Cartas —— */
.profile-page--classic .profile-classic__cards-section {
  margin-top: 0.25rem;
}

.profile-page--classic .profile-classic__tabs--top {
  margin-bottom: 1.25rem;
}

.profile-page--classic .profile-classic__cards-tabs {
  margin-top: 0;
}

.profile-page--classic .profile-classic__cards-layout {
  align-items: flex-start;
}

.profile-page--classic .profile-classic__filters .card-refine {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.profile-page--classic .filter-clear-btn {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.profile-page--classic .profile-classic__cards-tabs,
.profile-page--classic .profile-classic__cards-tabs .tab-pane,
.profile-page--classic .profile-classic__cards-layout,
.profile-page--classic .profile-classic__cards-layout > [class*="col-"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.profile-page--classic .profile-classic__card-area {
  position: relative;
  min-height: 0;
  background: transparent !important;
  overflow: visible;
}

.profile-page--classic .profile-classic__card-grid {
  margin: 0 -0.25rem;
}

.profile-page--classic .profile-classic__card-preview {
  width: 100%;
  max-width: 168px;
}

.profile-page--classic .profile-classic__section-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.85rem;
}

.profile-page--classic .profile-classic__deck-preview {
  max-width: 180px;
}

.profile-page--classic .profile-classic__deck-back {
  width: 168px !important;
  height: 236px;
  padding-top: 1.6rem;
  margin: 0 auto;
}

.profile-page--classic .profile-classic__deck-face {
  width: 126px !important;
  height: 174px;
  margin: 0 auto;
}

.profile-page--classic .profile-classic__deck-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.25;
  margin-top: 0.45rem;
}

.profile-page--classic .profile-classic__tabs {
  margin-bottom: 1rem;
}

.profile-page--classic .profile-classic__cards .card-refine {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* —— Estado vacío: sin capa local; usa solo el overlay global del body —— */
.profile-page--classic .profile-classic__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 2.5rem 1rem 4rem;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.profile-page--classic .profile-classic__empty-icon {
  font-size: 2.35rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.75rem;
}

.profile-page--classic .profile-classic__empty-message {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.01em;
}

.profile-page--classic .profile-collection-empty {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem 1rem 2rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.profile-page--classic .profile-collection-empty__hero {
  display: none;
}

.profile-page--classic .profile-collection-empty__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
  max-width: 420px;
}

.profile-page--classic .profile-collection-empty__chips {
  display: none;
}

.profile-page--classic .profile-collection-empty__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.profile-page--classic .profile-collection-empty__subtitle {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.profile-page--classic .profile-collection-empty__cta {
  border: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  color: #fff;
}

@media (max-width: 767px) {
  .profile-page--classic .profile-classic__stats {
    margin-top: 0;
  }

  .profile-page--classic .profile-featured-badges__nav {
    position: static;
    transform: none;
    justify-content: center;
    width: 100%;
    margin-top: 0.35rem;
  }

  .profile-page--classic .profile-featured-badges__header {
    flex-wrap: wrap;
  }

  .profile-page--classic .profile-featured-badges__grid {
    justify-content: flex-start;
  }
}
