/* Nova Shop + Profile Repair v1 */
.shop2-shell,
.profile5-shell {
  display: grid;
  gap: 16px;
}

.shop2-hero,
.profile5-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 234, 212, .26);
  border-radius: 23px;
  background:
    radial-gradient(circle at 88% 10%, rgba(0,234,212,.13), transparent 24rem),
    linear-gradient(135deg, rgba(8,31,42,.98), rgba(3,11,17,.99));
  box-shadow: 0 24px 68px rgba(0,0,0,.26);
}

.shop2-hero {
  min-height: 280px;
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(260px,360px);
  gap: 25px;
  align-items: center;
}

.shop2-kicker,
.profile5-kicker,
.profile5-card header > span {
  color: #00ead4;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .17em;
}

.shop2-hero h1 {
  margin: 8px 0 13px;
  font-size: clamp(39px,5vw,67px);
  letter-spacing: -.055em;
}

.shop2-hero p {
  max-width: 730px;
  color: #91afbb;
  line-height: 1.7;
}

.shop2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.shop2-wallet {
  padding: 23px;
  border: 1px solid rgba(0,234,212,.23);
  border-radius: 18px;
  background: rgba(2,13,19,.78);
  text-align: center;
}

.shop2-wallet span,
.shop2-wallet small {
  display: block;
  color: #88a7b4;
}

.shop2-wallet strong {
  display: block;
  margin: 8px 0 3px;
  color: #fff;
  font-size: 48px;
  letter-spacing: -.05em;
}

.shop2-stats,
.profile5-stat-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 11px;
}

.shop2-stats article,
.profile5-stat-grid article {
  padding: 17px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 14px;
  background: linear-gradient(145deg,rgba(7,24,34,.92),rgba(3,12,18,.98));
}

.shop2-stats strong,
.shop2-stats span,
.profile5-stat-grid strong,
.profile5-stat-grid span,
.profile5-stat-grid small {
  display: block;
}

.shop2-stats strong,
.profile5-stat-grid strong {
  font-size: 25px;
}

.shop2-stats span,
.profile5-stat-grid span {
  color: #89a8b4;
  font-size: 11px;
}

.profile5-stat-grid small {
  margin-top: 4px;
  color: #627f8b;
  font-size: 9px;
}

.shop2-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 13px 15px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 14px;
  background: rgba(5,20,29,.88);
}

.shop2-toolbar > label {
  min-width: min(360px,40vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid rgba(78,159,177,.20);
  border-radius: 10px;
  background: #05131b;
}

.shop2-toolbar > label input {
  border: 0!important;
  box-shadow: none!important;
  background: transparent!important;
}

.shop2-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.shop2-filters button {
  min-height: 35px!important;
  padding: 7px 10px!important;
}

.shop2-filters button.is-active {
  color: #00130f!important;
  background: #00d7c1!important;
}

.shop2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(275px,1fr));
  gap: 13px;
}

.shop2-card {
  overflow: hidden;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 17px;
  background: linear-gradient(145deg,rgba(7,24,34,.93),rgba(3,12,18,.99));
  transition: transform .18s ease,border-color .18s ease;
}

.shop2-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,234,212,.38);
}

.shop2-preview {
  position: relative;
  height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle,rgba(0,234,212,.13),transparent 52%),
    linear-gradient(135deg,#08242f,#041016);
}

.shop2-preview > span {
  position: relative;
  z-index: 1;
  color: #00ead4;
  font-size: 55px;
  font-weight: 950;
  text-shadow: 0 0 26px rgba(0,234,212,.35);
}

.shop2-preview > i {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(0,234,212,.20);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(0,234,212,.025),
    0 0 0 55px rgba(0,234,212,.014);
}

.shop2-card-body {
  padding: 17px;
}

.shop2-category {
  color: #00ead4;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .10em;
}

.shop2-card h2 {
  margin: 7px 0;
}

.shop2-card p {
  min-height: 55px;
  color: #83a1ad;
  line-height: 1.6;
}

.shop2-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 15px;
}

.shop2-card footer strong,
.shop2-card footer small {
  display: block;
}

.shop2-card footer small {
  color: #65838f;
  font-size: 9px;
}

.shop2-empty {
  padding: 45px;
  text-align: center;
  color: #7896a2;
}

/* Profile */
.profile5-hero {
  min-height: 315px;
}

.profile5-banner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,#0b2c35,#281b56 55%,#0c4543);
  background-size: cover;
  background-position: center;
  opacity: .70;
}

.profile5-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,rgba(3,12,18,.95),rgba(3,12,18,.40) 65%,rgba(3,12,18,.80)),
    linear-gradient(0deg,rgba(3,12,18,.98),transparent 70%);
}

.profile5-main {
  position: relative;
  z-index: 1;
  min-height: 315px;
  padding: clamp(28px,5vw,55px);
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: end;
  gap: 22px;
}

.profile5-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 5px solid #06131c;
  border-radius: 50%;
  color: #001411;
  background: linear-gradient(135deg,#7df8ed,#00cdb9);
  box-shadow:
    0 0 0 2px rgba(0,234,212,.46),
    0 0 35px rgba(0,234,212,.18);
}

.profile5-avatar > span {
  font-size: 45px;
  font-weight: 950;
}

.profile5-avatar img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #06131c;
}

.profile5-avatar img.is-broken {
  display: none;
}

.profile5-avatar > i {
  position: absolute;
  z-index: 3;
  right: 5px;
  bottom: 8px;
  width: 21px;
  height: 21px;
  border: 4px solid #06131c;
  border-radius: 50%;
  background: #627985;
}

.profile5-avatar > i.status-online,
.profile5-status-dot.status-online {
  background: #45df9a;
  box-shadow: 0 0 13px rgba(69,223,154,.55);
}

.profile5-avatar > i.status-away,
.profile5-status-dot.status-away {
  background: #ffbe50;
}

.profile5-avatar > i.status-busy,
.profile5-status-dot.status-busy {
  background: #ff5f78;
}

.profile5-identity h1 {
  margin: 5px 0 8px;
  font-size: clamp(32px,4vw,52px);
  letter-spacing: -.04em;
}

.profile5-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile5-badges > span {
  padding: 5px 9px;
  border: 1px solid rgba(0,234,212,.20);
  border-radius: 999px;
  color: #a9c3cc;
  background: rgba(0,234,212,.05);
  font-size: 9px;
  font-weight: 900;
}

.profile5-status.status-online {
  color: #74edb7;
}

.profile5-xp {
  max-width: 650px;
  margin-top: 17px;
}

.profile5-xp > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #829faa;
  font-size: 10px;
}

.profile5-xp-track {
  height: 7px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.profile5-xp-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#00bea9,#71f8eb);
  box-shadow: 0 0 14px rgba(0,234,212,.30);
}

.profile5-edit-button {
  align-self: end;
}

.profile5-layout {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr);
  gap: 14px;
}

.profile5-layout main,
.profile5-layout aside {
  display: grid;
  align-content: start;
  gap: 14px;
}

.profile5-card {
  padding: 20px;
  border: 1px solid rgba(78,159,177,.18);
  border-radius: 16px;
  background: linear-gradient(145deg,rgba(7,24,34,.93),rgba(3,12,18,.99));
}

.profile5-card header h2 {
  margin: 5px 0 0;
}

.profile5-bio {
  margin: 16px 0 0;
  color: #a4bec8;
  white-space: pre-wrap;
  line-height: 1.75;
}

.profile5-social-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  margin-top: 15px;
}

.profile5-social-grid > div {
  padding: 12px;
  border: 1px solid rgba(78,159,177,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.015);
}

.profile5-social-grid strong,
.profile5-social-grid span {
  display: block;
}

.profile5-social-grid span {
  margin-top: 4px;
  color: #7f9da8;
  overflow-wrap: anywhere;
}

.profile5-empty {
  margin-top: 15px;
  padding: 22px;
  border: 1px dashed rgba(78,159,177,.22);
  border-radius: 11px;
  color: #718f9b;
  text-align: center;
}

.profile5-status-info {
  margin-top: 15px;
}

.profile5-status-info > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.profile5-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #627985;
}

.profile5-status-info p {
  color: #7896a2;
}

.profile5-links {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.profile5-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px;
  border: 1px solid rgba(78,159,177,.16);
  border-radius: 10px;
  color: #bcd1d9!important;
  background: rgba(255,255,255,.014);
  text-decoration: none!important;
}

.profile5-links a:hover {
  border-color: rgba(0,234,212,.34);
  color: #fff!important;
  background: rgba(0,234,212,.05);
}

@media (max-width: 1000px) {
  .shop2-hero {
    grid-template-columns: 1fr;
  }

  .profile5-main {
    grid-template-columns: auto minmax(0,1fr);
  }

  .profile5-edit-button {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .profile5-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .shop2-stats,
  .profile5-stat-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .shop2-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .shop2-toolbar > label {
    min-width: 0;
  }

  .profile5-main {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .profile5-avatar {
    width: 105px;
    height: 105px;
  }

  .profile5-social-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .shop2-stats,
  .profile5-stat-grid {
    grid-template-columns: 1fr;
  }

  .shop2-grid {
    grid-template-columns: 1fr;
  }
}