html:has(.me-page) { scrollbar-gutter: stable; }
.me-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: var(--cloud-bar-height);
  background: #081216;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}
.me-profile a:focus-visible { outline: 2px solid #7bf4cf; outline-offset: 3px; }
.me-main {
  flex: 1;
  color: #f3fffc;
  background: linear-gradient(180deg,#07101345,#08121680 63%,#081216), url("/assets/me/valley.webp") center / cover no-repeat;
  padding: clamp(48px, 8vw, 102px) clamp(16px, 5vw, 56px);
}
.me-main h1 {
  margin: 0 auto clamp(28px, 5vw, 52px);
  text-align: center;
  font-size: clamp(45px, 8vw, 86px);
  letter-spacing: -.055em;
  line-height: 1;
}
.me-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  width: min(100%, 1010px);
  margin-inline: auto;
}
.me-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 164px;
  padding: clamp(16px, 2.25vw, 25px);
  border: 1px solid #53717673;
  border-radius: 0;
  background: #102126ec;
  box-shadow: 0 8px 23px #0003;
}
.me-platforms {
  width: min(100%, 1010px);
  margin: clamp(28px, 5vw, 48px) auto 0;
}
.me-platforms-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: #beced1;
  font-size: 14px;
}
.me-platforms-divider::before,
.me-platforms-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid #53717673;
}
.me-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.me-platform-grid .me-product { min-height: 185px; }
.me-product :is(h2, h3) {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.15;
}
a.me-product { color: inherit; text-decoration: none; }
a.me-product:hover { border-color: #7bf4cf; }
a.me-product:focus-visible { outline: 2px solid #7bf4cf; outline-offset: 3px; }
.me-product img { flex: none; object-fit: contain; }
.me-product p { margin: 12px 0 19px; font-size: 14px; color: #beced1; line-height: 1.45; }
.me-status {
  margin-top: auto;
  color: #d0dcdf;
  font-size: 12px;
  font-weight: 700;
}
.me-status-development { color: #7bf4cf; }
.me-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 20px;
  font-size: 12px;
  background: #091316;
}
.me-footer a, .me-profile a { color: #adcbc6; }
.me-profile {
  color: #f3fffc;
  background: #102126;
  border: 1px solid #43615d;
  padding: 32px;
  width: min(360px, calc(100% - 24px));
}
.me-profile h2 { margin: 0 0 18px; }
.me-profile p { margin: 0 0 7px; overflow-wrap: anywhere; }
.me-profile p[data-name] { font-weight: bold; }
.me-profile p[data-username] { color: #beced1; margin-bottom: 18px; }
.me-profile::backdrop { background: #050b12aa; backdrop-filter: blur(7px); }
html:has(.me-page .network-account-overlay:not([hidden])) {
  overflow: hidden;
  overscroll-behavior: none;
}
.me-page .network-account-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  background: #02090cbd;
  backdrop-filter: blur(5px);
}
.me-page .network-account-dialog {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  max-height: calc(100dvh - 28px);
  border: 1px solid #294548;
  background: #0e191c;
  color: #ecf6f3;
  outline: none;
}
.me-page .network-account-dialog .search-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  font: 700 24px/1 Arial, sans-serif;
  cursor: pointer;
}
.me-page .network-account-dialog .network-account-footer {
  text-align: left;
  color: #91a2a6;
  font-size: 12px;
}
.me-page .network-account-footer a { color: inherit; }
@media (max-width: 760px) {
  .me-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .me-products { grid-template-columns: 1fr; }
  .me-product { min-height: 140px; }
}
