/* Eclipse Auth / E_Clips profile layer */
.eclipse-profile-widget {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.eclipse-profile-widget.is-home {
  margin-right: auto;
}

.eclipse-profile-link {
  width: 34px;
  height: 34px;
  display: inline-grid !important;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  text-decoration: none;
  flex: 0 0 auto;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.eclipse-profile-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eclipse-profile-menu {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 10000;
  width: 150px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(8,9,13,0.96);
  box-shadow: 0 22px 55px rgba(0,0,0,0.48);
  backdrop-filter: blur(14px);
}

.eclipse-profile-widget:not(.is-home) .eclipse-profile-menu {
  right: 0;
  left: auto;
}

.eclipse-profile-menu[hidden] {
  display: none;
}

.eclipse-profile-menu button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  color: rgba(255,255,255,0.82);
  background: transparent;
  cursor: pointer;
  font: 700 12px "Segoe UI", Inter, system-ui, sans-serif;
  text-align: left;
}

.eclipse-profile-menu button:hover,
.eclipse-profile-menu button:focus-visible {
  color: #061014;
  background: linear-gradient(135deg, #55e6ff, #ffd86b);
  outline: none;
}

.eclipse-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(18px);
}

.eclipse-auth-card,
.eclipse-profile-card,
.eclipse-admin-card {
  width: min(620px, 100%);
  padding: 30px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(85,230,255,0.13), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(255,157,216,0.12), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.11), rgba(255,255,255,0.035)),
    #08090d;
  color: rgba(255,255,255,0.86);
  box-shadow: 0 28px 90px rgba(0,0,0,0.52);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
}

.eclipse-auth-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.eclipse-auth-brand img {
  width: 126px;
  max-width: 42%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.42));
}

.eclipse-auth-brand span {
  padding: 7px 10px;
  border: 1px solid rgba(85,230,255,0.22);
  border-radius: 999px;
  color: rgba(85,230,255,0.82);
  background: rgba(85,230,255,0.07);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.eclipse-auth-card h2,
.eclipse-profile-card h1,
.eclipse-admin-card h1 {
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: 0;
}

.eclipse-auth-card p,
.eclipse-profile-card p,
.eclipse-admin-card p {
  color: rgba(255,255,255,0.58);
  line-height: 1.55;
}

.eclipse-auth-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.eclipse-auth-status {
  min-height: 22px;
  margin: 16px 0 0;
  color: rgba(255,216,107,0.84) !important;
  font-size: 13px;
}

.eclipse-auth-button,
.eclipse-auth-secondary,
.eclipse-profile-save {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
}

.eclipse-auth-button,
.eclipse-profile-save {
  color: #061014;
  background: linear-gradient(135deg, #55e6ff, #ffd86b);
}

.eclipse-auth-secondary {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.13);
}

.eclipse-profile-page {
  margin: 0;
  min-height: 100vh;
  background: #050608;
}

.eclipse-social-shell {
  min-height: 100vh;
  display: grid;
  place-items: stretch;
  padding: 0;
  box-sizing: border-box;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
    radial-gradient(circle at 14% 16%, rgba(85,230,255,0.10), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255,157,216,0.075), transparent 24%),
    linear-gradient(160deg, #030407 0%, #07090f 52%, #030406 100%);
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  color: rgba(255,255,255,0.84);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
}

.eclipse-social-app {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(204px, 14vw) minmax(0, 1fr);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    rgba(4,6,10,0.96);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
}

.eclipse-social-loading {
  grid-column: 1 / -1;
  min-height: 480px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 34px;
  color: rgba(255,255,255,0.64);
  text-align: center;
}

.eclipse-social-loading img {
  width: min(260px, 70%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 42px rgba(0,0,0,0.42));
}

.eclipse-social-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 20px 14px;
  border-right: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(85,230,255,0.055), transparent 28%),
    rgba(0,0,0,0.26);
}

.eclipse-social-brand {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(85,230,255,0.11);
  border-radius: 14px;
  background: rgba(255,255,255,0.026);
}

.eclipse-social-brand img {
  width: min(146px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.40));
}

.eclipse-social-nav {
  display: grid;
  align-content: start;
  gap: 7px;
}

.eclipse-social-nav button {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 10px;
  background: rgba(255,255,255,0.028);
  color: rgba(255,255,255,0.60);
  cursor: pointer;
  font: 800 12px "Segoe UI", Inter, system-ui, sans-serif;
  text-align: left;
  letter-spacing: 0.02em;
}

.eclipse-social-nav button:hover,
.eclipse-social-nav button:focus-visible {
  border-color: rgba(85,230,255,0.32);
  color: #fff;
  background: rgba(85,230,255,0.06);
  outline: none;
}

.eclipse-social-nav button.is-active {
  color: #f8feff;
  border-color: rgba(85,230,255,0.36);
  background:
    linear-gradient(90deg, rgba(85,230,255,0.18), rgba(255,216,107,0.055)),
    rgba(85,230,255,0.045);
  box-shadow: inset 3px 0 0 rgba(85,230,255,0.86), 0 12px 28px rgba(0,0,0,0.18);
}

.eclipse-social-main {
  min-width: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background:
    radial-gradient(circle at 78% 0%, rgba(255,157,216,0.055), transparent 28%),
    rgba(255,255,255,0.01);
}

.eclipse-social-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.eclipse-social-profile-head {
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.eclipse-social-avatar-wrap {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(85,230,255,0.36);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(85,230,255,0.10), rgba(255,157,216,0.045)),
    rgba(0,0,0,0.22);
  box-shadow: 0 14px 32px rgba(0,0,0,0.32);
}

.eclipse-social-avatar-wrap img {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.16);
}

.eclipse-social-identity {
  min-width: 0;
}

.eclipse-social-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.eclipse-social-name h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.eclipse-social-name input {
  width: min(460px, 100%);
  height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(85,230,255,0.28);
  border-radius: 10px;
  background: rgba(0,0,0,0.28);
  color: #fff;
  font: 800 22px "Segoe UI", Inter, system-ui, sans-serif;
  box-sizing: border-box;
}

.eclipse-social-identity p {
  max-width: 620px;
  margin: 8px 0 0;
  color: rgba(255,255,255,0.50);
  line-height: 1.45;
  font-size: 13px;
}

.eclipse-social-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 9px;
  margin-top: 14px;
}

.eclipse-social-stats span {
  padding: 10px 12px;
  border: 1px solid rgba(85,230,255,0.11);
  border-radius: 8px;
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.eclipse-social-stats strong {
  display: block;
  margin-top: 4px;
  color: rgba(245,254,255,0.94);
  font-size: 18px;
  line-height: 1;
  text-transform: none;
}

.eclipse-badge-rack {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(85,230,255,0.10);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(85,230,255,0.045), rgba(255,157,216,0.028)),
    rgba(0,0,0,0.24);
}

.eclipse-badge-slot {
  width: 44px;
  aspect-ratio: 1;
  display: block;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.018)),
    repeating-linear-gradient(135deg, rgba(85,230,255,0.10) 0 1px, transparent 1px 6px);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.35), 0 10px 20px rgba(0,0,0,0.18);
}

.eclipse-social-content {
  min-height: 0;
  display: block;
  overflow: auto;
  padding: 26px 28px;
  scrollbar-width: thin;
  scrollbar-color: rgba(85,230,255,0.36) rgba(255,255,255,0.045);
}

.eclipse-social-content::-webkit-scrollbar,
.eclipse-feed-list::-webkit-scrollbar,
.eclipse-contact-grid::-webkit-scrollbar,
.eclipse-memo-carousel::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.eclipse-social-content::-webkit-scrollbar-track,
.eclipse-feed-list::-webkit-scrollbar-track,
.eclipse-contact-grid::-webkit-scrollbar-track,
.eclipse-memo-carousel::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.035);
  border-radius: 999px;
}

.eclipse-social-content::-webkit-scrollbar-thumb,
.eclipse-feed-list::-webkit-scrollbar-thumb,
.eclipse-contact-grid::-webkit-scrollbar-thumb,
.eclipse-memo-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(85,230,255,0.48), rgba(255,216,107,0.34));
}

.eclipse-social-empty {
  width: min(560px, 100%);
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px dashed rgba(85,230,255,0.16);
  border-radius: 12px;
  background: rgba(0,0,0,0.16);
  text-align: center;
}

.eclipse-social-empty h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  letter-spacing: 0;
}

.eclipse-social-empty p {
  margin: 0;
  color: rgba(255,255,255,0.52);
}

.eclipse-home-tab,
.eclipse-archive-tab,
.eclipse-feed-tab,
.eclipse-friends-tab {
  display: grid;
  gap: 18px;
}

.eclipse-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(85,230,255,0.10);
}

.eclipse-section-heading span {
  color: rgba(85,230,255,0.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eclipse-section-heading strong {
  color: rgba(255,255,255,0.86);
  font-size: 18px;
  line-height: 1.2;
}

.eclipse-feed-list,
.eclipse-contact-grid {
  display: grid;
  gap: 12px;
  max-height: min(560px, calc(100vh - 330px));
  overflow: auto;
  padding-right: 6px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(85,230,255,0.36) rgba(255,255,255,0.045);
  cursor: grab;
}

.eclipse-feed-list.is-dragging,
.eclipse-contact-grid.is-dragging,
.eclipse-memo-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.eclipse-feed-post,
.eclipse-contact-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(85,230,255,0.11);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.042), rgba(255,255,255,0.014)),
    rgba(0,0,0,0.18);
  box-shadow: 0 14px 32px rgba(0,0,0,0.16);
}

.eclipse-feed-post > img,
.eclipse-contact-card > img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.eclipse-feed-post header,
.eclipse-feed-post footer {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.eclipse-social-note {
  margin: -4px 0 0;
  color: rgba(255,255,255,0.44);
  font-size: 12px;
  line-height: 1.45;
}

.eclipse-feed-post header strong,
.eclipse-contact-copy strong {
  color: #fff;
  font-size: 15px;
}

.eclipse-feed-post header span,
.eclipse-contact-copy span {
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  font-weight: 700;
}

.eclipse-feed-post p,
.eclipse-contact-copy p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.48;
  font-size: 14px;
}

.eclipse-feed-post footer {
  margin-top: 12px;
  color: rgba(255,255,255,0.38);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.eclipse-feed-post footer button,
.eclipse-friend-state {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(85,230,255,0.18);
  border-radius: 999px;
  color: rgba(85,230,255,0.84);
  background: rgba(85,230,255,0.055);
  font: 900 10px "Segoe UI", Inter, system-ui, sans-serif;
  text-transform: uppercase;
}

.eclipse-feed-post footer button {
  cursor: pointer;
}

.eclipse-feed-post footer button:hover,
.eclipse-feed-post footer button:focus-visible {
  border-color: rgba(255,216,107,0.40);
  color: rgba(255,216,107,0.92);
  outline: none;
}

.eclipse-feed-suggestion {
  border-color: rgba(255,216,107,0.16);
  background:
    linear-gradient(145deg, rgba(255,216,107,0.045), rgba(85,230,255,0.022)),
    rgba(0,0,0,0.20);
}

.eclipse-contact-card {
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
}

.eclipse-contact-card.is-friend {
  border-color: rgba(255,216,107,0.16);
}

.eclipse-contact-copy small {
  display: inline-flex;
  margin-top: 9px;
  padding: 5px 8px;
  border: 1px solid rgba(85,230,255,0.12);
  border-radius: 999px;
  color: rgba(85,230,255,0.72);
  background: rgba(85,230,255,0.055);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.eclipse-contact-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.eclipse-contact-actions button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: rgba(255,255,255,0.74);
  background: rgba(255,255,255,0.045);
  cursor: pointer;
  font: 800 11px "Segoe UI", Inter, system-ui, sans-serif;
  white-space: nowrap;
}

.eclipse-contact-actions button:first-child {
  color: rgba(6,16,20,0.94);
  border-color: transparent;
  background: linear-gradient(135deg, rgba(85,230,255,0.92), rgba(255,216,107,0.86));
}

.eclipse-contact-actions button:hover,
.eclipse-contact-actions button:focus-visible {
  border-color: rgba(85,230,255,0.34);
  outline: none;
}

.eclipse-home-mini,
.eclipse-archive-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.eclipse-home-mini span,
.eclipse-archive-status span {
  min-height: 70px;
  padding: 14px;
  border: 1px solid rgba(85,230,255,0.12);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.042), rgba(255,255,255,0.014)),
    rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.eclipse-home-mini strong,
.eclipse-archive-status strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(18px, 1.8vw, 28px);
  line-height: 1.08;
  text-transform: none;
  overflow-wrap: anywhere;
}

.eclipse-memo-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(292px, 370px);
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(85,230,255,0.36) rgba(255,255,255,0.045);
  cursor: grab;
}

.eclipse-archive-memo {
  position: relative;
  min-height: 270px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(85,230,255,0.18);
  border-radius: 12px;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, rgba(85,230,255,0.085), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,0.078), rgba(255,255,255,0.026)),
    rgba(5,9,14,0.74);
  color: rgba(255,255,255,0.84);
  box-shadow: 0 20px 44px rgba(0,0,0,0.28);
  transform: none;
}

.eclipse-archive-memo:nth-child(even) {
  transform: none;
  background:
    linear-gradient(180deg, rgba(255,157,216,0.075), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,0.078), rgba(255,255,255,0.026)),
    rgba(5,9,14,0.74);
}

.eclipse-archive-memo h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
}

.eclipse-archive-memo p {
  margin: 13px 0 0;
  color: rgba(255,255,255,0.62);
  line-height: 1.48;
  font-size: 14px;
}

.eclipse-archive-memo small,
.eclipse-archive-memo > span {
  display: block;
  margin-top: 16px;
  color: rgba(255,216,107,0.76);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.memo-pin {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55e6ff;
  box-shadow: 0 0 0 4px rgba(85,230,255,0.10), 0 0 20px rgba(85,230,255,0.34);
}

.memo-range {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(85,230,255,0.08);
  color: rgba(85,230,255,0.82);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.eclipse-social-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 28px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 780px) {
  .eclipse-social-shell {
    padding: 0;
  }

  .eclipse-social-app {
    min-height: 100vh;
    height: auto;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .eclipse-social-sidebar {
    grid-template-rows: auto auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .eclipse-social-brand {
    min-height: 72px;
  }

  .eclipse-social-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eclipse-social-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 26px 20px;
  }

  .eclipse-social-profile-head {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .eclipse-social-name {
    justify-content: center;
  }

  .eclipse-badge-rack {
    grid-template-columns: repeat(5, 44px);
  }

  .eclipse-badge-slot {
    width: 44px;
  }

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

  .eclipse-home-mini,
  .eclipse-archive-status {
    grid-template-columns: 1fr;
  }

  .eclipse-section-heading {
    align-items: start;
    flex-direction: column;
  }

  .eclipse-contact-card {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .eclipse-contact-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .eclipse-memo-carousel {
    grid-auto-columns: minmax(260px, 88vw);
  }

  .eclipse-social-content,
  .eclipse-social-footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.eclipse-profile-shell,
.eclipse-admin-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 110px 20px 50px;
  background:
    radial-gradient(circle at 18% 16%, rgba(85,230,255,0.13), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(255,157,216,0.11), transparent 30%),
    #050608;
}

.eclipse-profile-panel {
  width: min(590px, 100%);
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.035)), #08090d;
  color: rgba(255,255,255,0.86);
  box-shadow: 0 24px 70px rgba(0,0,0,0.38);
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  text-align: center;
}

.eclipse-profile-loading {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
  color: rgba(255,255,255,0.64);
}

.eclipse-profile-loading img {
  width: min(210px, 64%);
  height: auto;
}

.eclipse-profile-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.eclipse-profile-topline img {
  width: 168px;
  max-width: 58%;
  height: auto;
  object-fit: contain;
}

.eclipse-profile-topline span {
  padding: 7px 10px;
  border: 1px solid rgba(85,230,255,0.22);
  border-radius: 999px;
  color: rgba(85,230,255,0.84);
  background: rgba(85,230,255,0.07);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.eclipse-profile-hero {
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 0;
}

.eclipse-profile-orbit {
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  margin: 0 auto 8px;
  border: 1px solid rgba(85,230,255,0.36);
  border-radius: 50%;
  background: rgba(85,230,255,0.06);
  box-shadow: 0 0 0 10px rgba(85,230,255,0.045), 0 22px 56px rgba(0,0,0,0.40);
}

.eclipse-profile-avatar {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(85,230,255,0.42);
  box-shadow: 0 0 0 8px rgba(85,230,255,0.055), 0 20px 52px rgba(0,0,0,0.42);
}

.eclipse-profile-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.eclipse-profile-name-row h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.eclipse-profile-name-row input {
  width: min(360px, 100%);
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(85,230,255,0.26);
  border-radius: 14px;
  background: rgba(0,0,0,0.26);
  color: #fff;
  font: inherit;
  font-size: 20px;
  text-align: center;
  box-sizing: border-box;
}

.eclipse-profile-tool {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  color: rgba(85,230,255,0.92);
  background: rgba(255,255,255,0.07);
  cursor: pointer;
}

.eclipse-profile-tool svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eclipse-profile-hint {
  max-width: 440px;
  margin: 10px auto 0;
  color: rgba(255,255,255,0.58);
  line-height: 1.55;
}

.eclipse-profile-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.eclipse-profile-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 700;
}

.eclipse-profile-form input {
  height: 44px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}

.eclipse-profile-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.eclipse-profile-stats span {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
}

.eclipse-profile-stats strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 30px;
}

@media (max-width: 680px) {
  .eclipse-profile-topline {
    flex-direction: column;
  }

  .eclipse-profile-stats {
    grid-template-columns: 1fr;
  }
}

.eclipse-admin-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 13px;
}

.eclipse-admin-panel {
  width: min(980px, 100%);
}

.eclipse-admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.eclipse-admin-summary span {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.72);
}

.eclipse-admin-summary strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  overflow-wrap: anywhere;
}

.eclipse-admin-table th,
.eclipse-admin-table td {
  padding: 11px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align: left;
  vertical-align: top;
}

.eclipse-admin-table th {
  color: rgba(85,230,255,0.82);
  font-size: 11px;
  text-transform: uppercase;
}
