/* Keep profile labels readable after the shared site themes load. */
body.page-profil .profile-top .badge {
  background: #173b35 !important;
  border: 1px solid #68caa9 !important;
  border-radius: 8px;
  color: #dcfff0 !important;
  font-size: 12px;
  letter-spacing: .02em;
}

body.page-profil .profile-top .badge.offline {
  background: #213746 !important;
  border-color: #6f91a8 !important;
  color: #edf5fb !important;
}

body.page-profil .profile-top .discord {
  background: #19364a !important;
  border: 1px solid #47718d !important;
  border-radius: 10px;
  color: #f4f9ff !important;
  font-size: 14px;
  font-weight: 650;
}

body.page-profil .profile-top .discord:before { color: #83d8fd !important; }
body.page-profil .profile-top .discord span { color: #f4f9ff !important; }

body.page-profil .profile-top .identity .id {
  background: #1c3b4d !important;
  border: 1px solid #638ba3 !important;
  border-radius: 6px;
  color: #e9f8ff !important;
}

body.page-profil .profile-top .account-note {
  color: #c8d9e6 !important;
  font-size: 13px;
  line-height: 1.6;
}

/* Profile content uses compact headings and dark tiles regardless of older site themes. */
body.page-profil #profile .card > h2,
body.page-profil #hub .hub-head h2 {
  color: #f3f8fd !important;
  font-size: clamp(23px, 2.2vw, 30px) !important;
  line-height: 1.2;
  letter-spacing: -.035em;
  text-transform: none !important;
  overflow-wrap: anywhere;
}

body.page-profil #profile .section-grid .card {
  min-height: 0;
}

body.page-profil #profile .section-grid h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid #476780 !important;
}

body.page-profil #profile .plots {
  gap: 12px;
  margin-top: 16px !important;
}

body.page-profil #profile .plot {
  min-width: 0;
  min-height: 84px;
  padding: 14px 16px 14px 49px;
  border: 1px solid #41617c !important;
  border-radius: 10px !important;
  background: #17344a !important;
  box-shadow: none !important;
  color: #f1f7fc !important;
}

body.page-profil #profile .plot:before {
  left: 16px;
  color: #80caff !important;
}

body.page-profil #profile .plot strong {
  display: block;
  color: #f6fbff !important;
  font-size: 14px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.page-profil #profile .plot small {
  display: block;
  margin-top: 4px;
  color: #b9d0e1 !important;
  font: 600 11px/1.4 Inter, 'Segoe UI', Arial, sans-serif;
  text-transform: none;
  overflow-wrap: anywhere;
}

body.page-profil #profile #gallery-plots {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

body.page-profil .profile-sections {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

body.page-profil .profile-section-link {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  min-height: 83px;
  padding: 15px;
  border: 1px solid #355771;
  border-radius: 12px;
  background: #122b40;
  color: #f2f8fd;
  text-decoration: none;
  transition: border-color .18s, background .18s;
}

body.page-profil .profile-section-link:hover,
body.page-profil .profile-section-link:focus-visible {
  border-color: #75c6f4;
  background: #1a3b54;
}

body.page-profil .profile-section-link > span:nth-child(2) { min-width: 0; flex: 1; }
body.page-profil .profile-section-link strong { display: block; font-size: 14px; }
body.page-profil .profile-section-link small { display: block; margin-top: 3px; color: #b5ccdc; font-size: 11px; line-height: 1.35; }
body.page-profil .profile-section-link > span:last-child { color: #9ed8f7; }
body.page-profil .profile-section-icon { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 8px; background: #24506b; color: #b8e9ff; font-size: 18px; }
body.page-profil #daily-quests,
body.page-profil #profile-plots,
body.page-profil #hub { scroll-margin-top: 125px; }

@media (max-width: 900px) {
  body.page-profil .profile-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  body.page-profil .profile-sections { grid-template-columns: 1fr; }
  body.page-profil .profile-section-link { min-height: 64px; }
}

body.page-profil #hub .hub-row .hub-price { color: #9edcff !important; }
body.page-profil #hub .hub-tabs button.active {
  border-color: #71c3f2 !important;
  background: #50aef3 !important;
  color: #082038 !important;
}
body.page-profil #hub .hub-offer-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
body.page-profil #hub .hub-offer-controls button,
body.page-profil #hub .hub-price-form button { border: 1px solid #5d92b5; border-radius: 8px; background: #214862; color: #f3faff; padding: 8px 12px; font-size: 12px; font-weight: 750; }
body.page-profil #hub .hub-offer-controls button:hover,
body.page-profil #hub .hub-price-form button:hover { border-color: #90d5fc; background: #2d607f; }
body.page-profil #hub .hub-own-offer { flex-wrap: wrap; }
body.page-profil #hub .hub-price-form { display: flex; align-items: end; gap: 9px; flex-basis: 100%; padding-top: 10px; border-top: 1px solid #355873; }
body.page-profil #hub .hub-price-form[hidden] { display: none; }
body.page-profil #hub .hub-price-form label { display: grid; gap: 5px; min-width: 185px; margin: 0; color: #d2e7f5; font-size: 12px; }
body.page-profil #hub .hub-price-form input { width: 100%; min-height: 38px; padding: 7px 10px; }
body.page-profil #hub .hub-price-form button { min-height: 38px; }
@media (max-width: 560px) {
  body.page-profil #hub .hub-price-form { flex-wrap: wrap; }
  body.page-profil #hub .hub-price-form label { flex-basis: 100%; }
}
.intro-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:18px 0}.intro-step{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#173249;border:1px solid #42617a;border-radius:10px;padding:12px 14px;color:#f2f7fb}.intro-step code{color:#9bd6ff;white-space:nowrap}
