/* ==========================================================
   ERROR404 // GEMEINSAME PROFIL-KOMPONENTE
   Für Portal, Chat und zukünftige Error404-Bereiche
   ========================================================== */

#error404SharedProfileOverlay,
#error404SharedProfileEditorOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1200;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 3, 8, 0.86);
  backdrop-filter: blur(10px);
}

#error404SharedProfileOverlay.open,
#error404SharedProfileEditorOverlay.open {
  display: flex;
}

#error404SharedProfileCard,
#error404SharedProfileEditor {
  position: relative;

  width: min(560px, 100%);
  max-height: 90vh;

  padding: 24px;

  overflow-y: auto;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 16px;

  color: #f7fbff;
  background: rgba(5, 15, 26, 0.98);

  box-shadow:
    0 0 30px rgba(25, 243, 255, 0.18),
    0 25px 70px rgba(0, 0, 0, 0.72);

  font-family: "Courier New", Consolas, monospace;
}

#error404SharedProfileClose,
#error404SharedProfileEditorClose {
  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  padding: 0;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 50%;

  color: var(--cyan, #19f3ff);
  background: #05070a;

  font-size: 22px;
  line-height: 1;

  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

#error404SharedProfileClose {
  position: absolute;
  top: 14px;
  right: 14px;
}

#error404SharedProfileClose:hover,
#error404SharedProfileEditorClose:hover {
  color: var(--pink, #ff5cef);
  border-color: var(--pink, #ff5cef);
  background: rgba(255, 92, 239, 0.05);
  box-shadow: 0 0 14px rgba(255, 92, 239, 0.22);
}

#error404SharedProfileTop {
  display: flex;
  align-items: center;
  gap: 16px;

  padding-right: 45px;
}

#error404SharedProfileAvatar,
#error404SharedProfileImagePreview {
  width: 84px;
  height: 84px;

  flex: 0 0 84px;

  display: grid;
  place-items: center;

  overflow: hidden;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 50%;

  background: #06101a;
  font-size: 38px;
}

#error404SharedProfileAvatar img,
#error404SharedProfileImagePreview img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

#error404SharedProfileTopInfo {
  min-width: 0;
  flex: 1;
}

#error404SharedProfileName {
  margin: 0;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: var(--pink, #ff5cef);

  font-size: 24px;
}

#error404SharedProfileStatus {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 7px;

  color: #9ca7b4;
  font-size: 11px;
}

#error404SharedProfileStatusDot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #6b7785;
  box-shadow: 0 0 8px #6b7785;
}

#error404SharedProfileStatusDot.online {
  background: var(--green, #4cff6a);
  box-shadow: 0 0 8px var(--green, #4cff6a);
}

#error404SharedProfileRegistered,
#error404SharedProfileOnlineMinutes {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-top: 10px;

  color: #c7d0db;
  font-size: 11px;
}

#error404SharedProfileOnlineMinutes {
  margin-top: 6px;
}

.error404-shared-profile-top-label {
  color: var(--cyan, #19f3ff);
  font-size: 9px;
  letter-spacing: 1px;
}

#error404SharedProfileRegisteredValue,
#error404SharedProfileOnlineMinutesValue {
  color: #fff;
}

#error404SharedProfileDetails {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 10px 14px;

  margin-top: 24px;
  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.error404-shared-profile-label {
  color: var(--cyan, #19f3ff);
  font-size: 10px;
  letter-spacing: 1px;
}

.error404-shared-profile-value {
  min-width: 0;

  color: #f4f7fb;

  overflow-wrap: anywhere;
}

#error404SharedProfileAbout {
  margin-top: 16px;
  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

#error404SharedProfileAbout h4 {
  margin: 0 0 10px;

  color: var(--pink, #ff5cef);
}

#error404SharedProfileAboutText {
  margin: 0;

  color: #f4f7fb;

  font-family: Arial, sans-serif;
  line-height: 1.5;

  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#error404SharedEditProfileButton {
  width: 100%;
  min-height: 46px;

  margin-top: 16px;
  padding: 10px 16px;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 8px;

  color: var(--cyan, #19f3ff);
  background: rgba(25, 243, 255, 0.03);

  font-weight: 700;
  letter-spacing: 1px;

  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

#error404SharedEditProfileButton:hover {
  color: var(--pink, #ff5cef);
  border-color: var(--pink, #ff5cef);
  background: rgba(255, 92, 239, 0.05);
  box-shadow: 0 0 14px rgba(255, 92, 239, 0.22);
}


/* ==========================================================
   PROFIL BEARBEITEN
   ========================================================== */

.error404-shared-profile-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  margin-bottom: 18px;
}

.error404-shared-profile-modal-head h2 {
  margin: 0;

  color: var(--pink, #ff5cef);

  font-size: 20px;
}

#error404SharedProfileImageEditor {
  margin-bottom: 16px;
  padding: 16px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}

.error404-shared-profile-image-label {
  display: block;

  margin-bottom: 10px;

  color: var(--cyan, #19f3ff);
  font-size: 10px;
  letter-spacing: 1px;
}

#error404SharedProfileImagePreview {
  margin: 0 auto 12px;
}

.error404-shared-profile-image-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.error404-shared-profile-image-buttons button,
.error404-shared-profile-upload {
  min-height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 12px;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 8px;

  color: var(--cyan, #19f3ff);
  background: rgba(25, 243, 255, 0.03);

  cursor: pointer;

  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.error404-shared-profile-image-buttons button:hover,
.error404-shared-profile-upload:hover {
  color: var(--pink, #ff5cef);
  border-color: var(--pink, #ff5cef);
}

#error404SharedProfileImageEditor small {
  display: block;

  margin-top: 10px;

  color: #7f8a98;
  text-align: center;
  font-size: 10px;
  line-height: 1.4;
}

.error404-shared-profile-edit-row {
  display: grid;
  grid-template-columns: 115px minmax(0, 1fr);
  gap: 12px;
  align-items: center;

  margin-bottom: 12px;
}

.error404-shared-profile-edit-row span {
  color: var(--cyan, #19f3ff);
  font-size: 10px;
  letter-spacing: 1px;
}

.error404-shared-profile-edit-row input,
.error404-shared-profile-edit-row textarea {
  width: 100%;

  padding: 11px 12px;

  outline: none;

  border: 1px solid rgba(25, 243, 255, 0.34);
  border-radius: 8px;

  color: #fff;
  background: #02070d;

  font: inherit;
}

.error404-shared-profile-edit-row textarea {
  min-height: 110px;
  resize: vertical;
}

.error404-shared-profile-edit-row input:focus,
.error404-shared-profile-edit-row textarea:focus {
  border-color: var(--pink, #ff5cef);
  box-shadow: 0 0 12px rgba(255, 92, 239, 0.16);
}

#error404SharedProfileEditActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-top: 18px;
}

#error404SharedProfileEditActions button {
  min-height: 44px;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 8px;

  color: var(--cyan, #19f3ff);
  background: rgba(25, 243, 255, 0.03);

  font-weight: 700;
  letter-spacing: 1px;
}

#error404SharedProfileEditActions button:hover {
  color: var(--pink, #ff5cef);
  border-color: var(--pink, #ff5cef);
}

#error404SharedProfileSave {
  border-color: var(--pink, #ff5cef) !important;
  color: var(--pink, #ff5cef) !important;
}

#error404SharedProfileSave:disabled {
  opacity: 0.5;
  cursor: wait;
}


/* ==========================================================
   MOBIL
   ========================================================== */

@media (max-width: 600px) {
  #error404SharedProfileCard,
  #error404SharedProfileEditor {
    padding: 20px 16px;
  }

  #error404SharedProfileTop {
    align-items: flex-start;
  }

  #error404SharedProfileAvatar {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  #error404SharedProfileDetails {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .error404-shared-profile-edit-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #error404SharedProfileEditActions {
    grid-template-columns: 1fr;
  }
}


/* ERROR404_SHARED_PROFILE_TABS_START */

.error404-shared-profile-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;

  margin-top: 22px;
  padding: 5px;

  border: 1px solid rgba(25, 243, 255, 0.15);
  border-radius: 11px;

  background: rgba(0, 5, 10, 0.58);
}

.error404-shared-profile-tab {
  min-height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 8px 12px;

  border: 1px solid transparent;
  border-radius: 8px;

  color: #7f8b99;
  background: transparent;

  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;

  cursor: pointer;

  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.error404-shared-profile-tab:hover {
  color: var(--cyan, #19f3ff);
  border-color: rgba(25, 243, 255, 0.28);
  background: rgba(25, 243, 255, 0.04);
}

.error404-shared-profile-tab.active {
  color: #ffffff;
  border-color: rgba(255, 92, 239, 0.38);

  background:
    linear-gradient(
      135deg,
      rgba(25, 243, 255, 0.12),
      rgba(255, 92, 239, 0.12)
    );

  box-shadow:
    inset 0 0 16px rgba(25, 243, 255, 0.05),
    0 0 15px rgba(255, 92, 239, 0.07);
}

.error404-shared-profile-panel {
  animation: error404SharedProfilePanelIn 0.18s ease;
}

.error404-shared-profile-panel[hidden] {
  display: none !important;
}

@keyframes error404SharedProfilePanelIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.error404-shared-accounts-intro {
  margin-top: 20px;
  margin-bottom: 14px;
}

.error404-shared-accounts-intro > span {
  display: block;

  margin-bottom: 7px;

  color: var(--cyan, #19f3ff);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.error404-shared-accounts-intro h3 {
  margin: 0 0 7px;

  color: var(--pink, #ff5cef);
  font-size: 20px;
}

.error404-shared-accounts-intro p {
  margin: 0;

  color: #8c98a6;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
}

.error404-shared-account-card {
  position: relative;

  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;

  padding: 17px;
  overflow: hidden;

  border: 1px solid rgba(25, 243, 255, 0.2);
  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      rgba(25, 243, 255, 0.055),
      rgba(255, 92, 239, 0.035)
    ),
    rgba(3, 10, 18, 0.88);
}

.error404-shared-account-card::before {
  content: "";

  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--cyan, #19f3ff),
      var(--pink, #ff5cef),
      transparent
    );
}

.error404-shared-account-icon {
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(25, 243, 255, 0.32);
  border-radius: 12px;

  color: var(--cyan, #19f3ff);
  background: rgba(4, 14, 24, 0.9);

  font-size: 27px;
}

.error404-shared-account-content {
  min-width: 0;
}

.error404-shared-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.error404-shared-account-type {
  display: block;

  margin-bottom: 4px;

  color: var(--cyan, #19f3ff);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.error404-shared-account-head h4 {
  margin: 0;

  color: #ffffff;
  font-size: 15px;
}

.error404-shared-account-status {
  flex: 0 0 auto;

  padding: 6px 8px;

  border: 1px solid rgba(255, 92, 239, 0.32);
  border-radius: 999px;

  color: var(--pink, #ff5cef);
  background: rgba(255, 92, 239, 0.055);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.error404-shared-account-status.connected {
  color: #46f2a5;
  border-color: rgba(70, 242, 165, 0.36);
  background: rgba(70, 242, 165, 0.06);
}

.error404-shared-account-description {
  margin: 12px 0;

  color: #8d99a7;

  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

.error404-shared-account-details {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 8px 12px;

  margin: 12px 0;
  padding: 12px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;

  background: rgba(0, 0, 0, 0.16);
}

.error404-shared-account-details[hidden] {
  display: none !important;
}

.error404-shared-account-details span {
  color: var(--cyan, #19f3ff);

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.error404-shared-account-details strong {
  min-width: 0;

  color: #e9f1f8;
  font-size: 10px;

  overflow-wrap: anywhere;
}

.error404-shared-account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.error404-shared-account-actions button {
  min-height: 38px;

  padding: 8px 13px;

  border: 1px solid var(--cyan, #19f3ff);
  border-radius: 8px;

  color: var(--cyan, #19f3ff);
  background: rgba(25, 243, 255, 0.03);

  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;

  cursor: pointer;
}

.error404-shared-account-actions button:hover {
  color: var(--pink, #ff5cef);
  border-color: var(--pink, #ff5cef);
}

#error404SharedMinecraftDisconnect {
  color: var(--pink, #ff5cef);
  border-color: rgba(255, 92, 239, 0.38);
}

.error404-shared-account-hint {
  display: block;

  margin-top: 10px;

  color: #687584;

  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .error404-shared-account-card {
    grid-template-columns: 1fr;
  }

  .error404-shared-account-icon {
    width: 50px;
    height: 50px;
  }

  .error404-shared-account-head {
    flex-direction: column;
  }

  .error404-shared-account-details {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .error404-shared-account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ERROR404_SHARED_PROFILE_TABS_END */

/* ERROR404_SHARED_PROFILE_ACTIONS */

#error404SharedProfileActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

#error404SharedProfileActions[hidden] {
  display: none !important;
}

.error404-shared-profile-action {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;

  border: 1px solid var(--cyan);
  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      rgba(10, 18, 30, 0.96),
      rgba(18, 10, 28, 0.96)
    );

  color: var(--cyan);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-align: center;

  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 12px rgba(0, 229, 255, 0.08);

  transition:
    transform 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.error404-shared-profile-action:hover {
  color: #ffffff;
  border-color: var(--pink);

  background:
    linear-gradient(
      135deg,
      var(--cyan),
      var(--pink)
    );

  transform: translateY(-2px);

  box-shadow:
    0 0 12px rgba(0, 229, 255, 0.32),
    0 0 20px rgba(255, 0, 170, 0.22);
}

.error404-shared-profile-action:active {
  transform: translateY(0);
}

.error404-shared-profile-action:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

@media (max-width: 620px) {
  #error404SharedProfileActions {
    grid-template-columns: 1fr;
  }
}

/* ERROR404_SHARED_PROFILE_ACTIONS_EXACT_EDIT_STYLE */

#error404SharedProfileActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

#error404SharedProfileActions[hidden] {
  display: none !important;
}

.error404-shared-profile-action {
  width: 100%;
  min-height: 46px;

  margin: 0;
  padding: 10px 16px;

  border:
    1px solid
    var(--cyan, #19f3ff);

  border-radius: 8px;

  color:
    var(--cyan, #19f3ff);

  background:
    rgba(25, 243, 255, 0.03);

  font: inherit;
  font-weight: 700;
  letter-spacing: 1px;

  cursor: pointer;

  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.error404-shared-profile-action:hover {
  color:
    var(--pink, #ff5cef);

  border-color:
    var(--pink, #ff5cef);

  background:
    rgba(255, 92, 239, 0.05);

  box-shadow:
    0 0 14px
    rgba(255, 92, 239, 0.22);
}

.error404-shared-profile-action:focus-visible {
  outline:
    2px solid
    var(--pink, #ff5cef);

  outline-offset: 3px;
}

.error404-shared-profile-action:disabled {
  opacity: 0.55;
  cursor: wait;
}

.error404-shared-profile-action[data-action="block"][data-blocked="true"] {
  color:
    var(--pink, #ff5cef);

  border-color:
    var(--pink, #ff5cef);

  background:
    rgba(255, 92, 239, 0.05);

  box-shadow:
    0 0 10px
    rgba(255, 92, 239, 0.14);
}

@media (max-width: 620px) {
  #error404SharedProfileActions {
    grid-template-columns: 1fr;
  }
}

/* ERROR404 COMPANION LINK UI */
.error404-shared-companion-connect {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(76, 225, 255, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      rgba(76, 225, 255, 0.07),
      rgba(255, 61, 181, 0.05)
    );
}

.error404-shared-companion-connect[hidden] {
  display: none !important;
}

.error404-shared-companion-instruction {
  margin: 0;
  line-height: 1.55;
  opacity: 0.88;
}

.error404-shared-companion-code-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0.72;
}

.error404-shared-companion-code-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.error404-shared-companion-code-input {
  width: min(180px, 100%);
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(76, 225, 255, 0.32);
  border-radius: 10px;
  outline: none;
  background: rgba(4, 8, 18, 0.78);
  color: inherit;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.error404-shared-companion-code-input:focus {
  border-color: var(--cyan, #4ce1ff);
  box-shadow:
    0 0 0 3px rgba(76, 225, 255, 0.12),
    0 0 20px rgba(255, 61, 181, 0.08);
}

.error404-shared-companion-code-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}


.error404-shared-companion-code-row button {
  min-width: 190px;
  min-height: 42px;

  padding: 0 18px;

  border: 1px solid transparent;
  border-radius: 10px;

  background: linear-gradient(
    135deg,
    var(--cyan, #19f3ff) 0%,
    var(--pink, #ff5cef) 100%
  );

  color: #fff;

  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  cursor: pointer;
  user-select: none;

  transition:
    transform .18s ease,
    box-shadow .25s ease,
    filter .25s ease;

  box-shadow:
    0 0 10px rgba(25,243,255,.22),
    0 0 18px rgba(255,92,239,.18);
}

.error404-shared-companion-code-row button:hover {
  transform: translateY(-2px);

  filter: brightness(1.08);

  box-shadow:
    0 0 16px rgba(25,243,255,.45),
    0 0 28px rgba(255,92,239,.35);
}

.error404-shared-companion-code-row button:active {
  transform: translateY(0) scale(.97);

  box-shadow:
    0 0 8px rgba(25,243,255,.30),
    0 0 14px rgba(255,92,239,.25);
}

.error404-shared-companion-code-row button:focus-visible {
  outline: none;

  box-shadow:
    0 0 0 3px rgba(25,243,255,.22),
    0 0 18px rgba(25,243,255,.40),
    0 0 28px rgba(255,92,239,.30);
}

.error404-shared-companion-code-row button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(.15);
  box-shadow: none;
}


.error404-shared-companion-message {
  min-height: 18px;
  line-height: 1.4;
  opacity: 0.82;
}

.error404-shared-companion-message.success {
  color: #63f59a;
  opacity: 1;
}

.error404-shared-companion-message.error {
  color: #ff758f;
  opacity: 1;
}

@media (max-width: 620px) {
  .error404-shared-companion-code-row {
    flex-direction: column;
  }

  .error404-shared-companion-code-input,
  
.error404-shared-companion-code-row button {
  min-width: 190px;
  min-height: 42px;

  padding: 0 18px;

  border: 1px solid transparent;
  border-radius: 10px;

  background: linear-gradient(
    135deg,
    var(--cyan, #19f3ff) 0%,
    var(--pink, #ff5cef) 100%
  );

  color: #fff;

  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  cursor: pointer;
  user-select: none;

  transition:
    transform .18s ease,
    box-shadow .25s ease,
    filter .25s ease;

  box-shadow:
    0 0 10px rgba(25,243,255,.22),
    0 0 18px rgba(255,92,239,.18);
}

.error404-shared-companion-code-row button:hover {
  transform: translateY(-2px);

  filter: brightness(1.08);

  box-shadow:
    0 0 16px rgba(25,243,255,.45),
    0 0 28px rgba(255,92,239,.35);
}

.error404-shared-companion-code-row button:active {
  transform: translateY(0) scale(.97);

  box-shadow:
    0 0 8px rgba(25,243,255,.30),
    0 0 14px rgba(255,92,239,.25);
}

.error404-shared-companion-code-row button:focus-visible {
  outline: none;

  box-shadow:
    0 0 0 3px rgba(25,243,255,.22),
    0 0 18px rgba(25,243,255,.40),
    0 0 28px rgba(255,92,239,.30);
}

.error404-shared-companion-code-row button:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(.15);
  box-shadow: none;
}

}



/* ==========================================================
   ERROR404 // PRIVATER TAB KONTO & SICHERHEIT
   ========================================================== */

.error404-shared-profile-tabs{
  grid-template-columns:
    repeat(auto-fit,minmax(130px,1fr));
}

.error404-shared-security-intro{
  margin-top:20px;
  margin-bottom:14px;
}

.error404-shared-security-intro > span{
  display:block;
  margin-bottom:7px;

  color:var(--cyan,#19f3ff);

  font-size:9px;
  font-weight:700;
  letter-spacing:1.4px;
}

.error404-shared-security-intro h3{
  margin:0 0 7px;

  color:var(--pink,#ff5cef);
  font-size:20px;
}

.error404-shared-security-intro p{
  margin:0;

  color:#8c98a6;

  font-family:Arial,sans-serif;
  font-size:12px;
  line-height:1.5;
}

.error404-shared-security-card{
  position:relative;

  margin-bottom:14px;
  padding:17px;
  overflow:hidden;

  border:1px solid rgba(25,243,255,.2);
  border-radius:13px;

  background:
    linear-gradient(
      135deg,
      rgba(25,243,255,.055),
      rgba(255,92,239,.035)
    ),
    rgba(3,10,18,.88);
}

.error404-shared-security-card::before{
  content:"";

  position:absolute;
  top:0;
  left:18px;
  right:18px;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--cyan,#19f3ff),
      var(--pink,#ff5cef),
      transparent
    );
}

.error404-shared-security-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.error404-shared-security-type{
  display:block;
  margin-bottom:4px;

  color:var(--cyan,#19f3ff);

  font-size:8px;
  font-weight:700;
  letter-spacing:1.4px;
}

.error404-shared-security-head h4{
  margin:0;

  color:#fff;
  font-size:15px;
}

.error404-shared-email-status{
  flex:0 0 auto;

  padding:6px 8px;

  border:1px solid rgba(255,92,239,.32);
  border-radius:999px;

  color:var(--pink,#ff5cef);
  background:rgba(255,92,239,.055);

  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
}

.error404-shared-email-status.verified{
  color:#46f2a5;
  border-color:rgba(70,242,165,.36);
  background:rgba(70,242,165,.06);
}

.error404-shared-email-status.unverified{
  color:#ffd166;
  border-color:rgba(255,209,102,.36);
  background:rgba(255,209,102,.06);
}

.error404-shared-email-status.missing{
  color:#8995a3;
  border-color:rgba(137,149,163,.28);
  background:rgba(137,149,163,.05);
}

.error404-shared-security-description{
  margin:12px 0 15px;

  color:#8d99a7;

  font-family:Arial,sans-serif;
  font-size:11px;
  line-height:1.5;
}

.error404-shared-security-label{
  display:block;
  margin-bottom:7px;

  color:var(--cyan,#19f3ff);

  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
}

.error404-shared-security-input{
  width:100%;
  min-height:44px;

  padding:10px 12px;

  border:1px solid rgba(25,243,255,.24);
  border-radius:9px;
  outline:none;

  color:#eef7ff;
  caret-color:var(--cyan,#19f3ff);
  background:rgba(0,5,10,.72);

  font:inherit;
  font-size:12px;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.error404-shared-security-input:focus{
  border-color:var(--cyan,#19f3ff);

  background:rgba(3,12,20,.92);

  box-shadow:
    0 0 0 3px rgba(25,243,255,.07),
    0 0 18px rgba(25,243,255,.05);
}

.error404-shared-security-actions{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:9px;

  margin-top:12px;
}

.error404-shared-security-actions button{
  min-height:40px;

  padding:9px 12px;

  border:1px solid var(--cyan,#19f3ff);
  border-radius:8px;

  color:var(--cyan,#19f3ff);
  background:rgba(25,243,255,.035);

  font:inherit;
  font-size:9px;
  font-weight:700;
  letter-spacing:.8px;

  cursor:pointer;

  transition:
    color .18s ease,
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.error404-shared-security-actions button:hover:not(:disabled){
  color:#fff;
  border-color:var(--pink,#ff5cef);

  background:
    linear-gradient(
      135deg,
      rgba(25,243,255,.1),
      rgba(255,92,239,.1)
    );

  transform:translateY(-1px);
}

.error404-shared-security-actions button:disabled{
  cursor:not-allowed;
  opacity:.4;
}

.error404-shared-security-message{
  display:block;
  min-height:18px;

  margin-top:10px;

  color:#8d99a7;

  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.5;
}

.error404-shared-security-message.success{
  color:#46f2a5;
}

.error404-shared-security-message.error{
  color:#ff7895;
}

.error404-shared-security-message.info{
  color:#ffd166;
}

.error404-shared-security-hint{
  display:block;

  margin-top:7px;

  color:#667383;

  font-family:Arial,sans-serif;
  font-size:9px;
  line-height:1.45;
}

.error404-shared-security-details{
  display:grid;
  grid-template-columns:130px minmax(0,1fr);
  gap:9px 13px;

  margin-top:15px;
  padding:13px;

  border:1px solid rgba(255,255,255,.07);
  border-radius:9px;

  background:rgba(0,0,0,.16);
}

.error404-shared-security-details span{
  color:var(--cyan,#19f3ff);

  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
}

.error404-shared-security-details strong{
  min-width:0;

  color:#e9f1f8;
  font-size:10px;
  font-weight:600;

  overflow-wrap:anywhere;
}

@media(max-width:620px){
  .error404-shared-profile-tabs{
    grid-template-columns:1fr;
  }

  .error404-shared-security-head{
    flex-direction:column;
  }

  .error404-shared-security-actions{
    grid-template-columns:1fr;
  }

  .error404-shared-security-details{
    grid-template-columns:1fr;
    gap:5px;
  }

  .error404-shared-security-details strong{
    margin-bottom:7px;
  }
}


/* ==========================================================
   ERROR404 // PASSWORT ÄNDERN
   ========================================================== */

.error404-shared-password-status{
  width:34px;
  height:34px;

  display:grid;
  place-items:center;

  border:1px solid rgba(25,243,255,.24);
  border-radius:10px;

  background:rgba(25,243,255,.045);

  font-size:16px;
}

.error404-shared-password-fields{
  display:grid;
  gap:12px;
}

.error404-shared-password-field{
  display:grid;
  gap:7px;
}

.error404-shared-password-field > span:first-child{
  color:var(--cyan,#19f3ff);

  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
}

.error404-shared-password-wrap{
  position:relative;
  display:block;
}

.error404-shared-password-wrap input{
  width:100%;
  min-height:44px;

  padding:10px 47px 10px 12px;

  border:1px solid rgba(25,243,255,.24);
  border-radius:9px;
  outline:none;

  color:#eef7ff;
  caret-color:var(--cyan,#19f3ff);
  background:rgba(0,5,10,.72);

  font:inherit;
  font-size:12px;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.error404-shared-password-wrap input:focus{
  border-color:var(--cyan,#19f3ff);

  background:rgba(3,12,20,.92);

  box-shadow:
    0 0 0 3px rgba(25,243,255,.07),
    0 0 18px rgba(25,243,255,.05);
}

.error404-shared-password-toggle{
  position:absolute;
  top:50%;
  right:7px;

  width:34px;
  height:32px;

  display:grid;
  place-items:center;

  padding:0;
  transform:translateY(-50%);

  border:0;
  border-radius:7px;

  color:#dce8f2;
  background:transparent;

  cursor:pointer;
  font-size:15px;
}

.error404-shared-password-toggle:hover{
  background:rgba(25,243,255,.08);
}

.error404-shared-password-strength{
  margin-top:13px;
  text-align:center;
}

.error404-shared-password-meter{
  width:100%;
  height:5px;

  overflow:hidden;

  border-radius:999px;
  background:rgba(255,255,255,.08);
}

.error404-shared-password-meter span{
  display:block;
  width:0;
  height:100%;

  border-radius:inherit;

  background:
    linear-gradient(
      90deg,
      #19f3ff,
      #936eff,
      #ff5cef
    );

  transition:width .2s ease;
}

.error404-shared-password-meter[data-level="1"] span{
  width:33.333%;
}

.error404-shared-password-meter[data-level="2"] span{
  width:66.666%;
}

.error404-shared-password-meter[data-level="3"] span{
  width:100%;
}

.error404-shared-password-strength small{
  display:block;
  margin-top:7px;

  color:#8794a3;

  font-family:Arial,sans-serif;
  font-size:9px;
}

.error404-shared-change-password-button{
  width:100%;
  min-height:42px;

  margin-top:14px;
  padding:9px 13px;

  border:1px solid var(--cyan,#19f3ff);
  border-radius:8px;

  color:#02070c;

  background:
    linear-gradient(
      100deg,
      var(--cyan,#19f3ff),
      #936eff,
      var(--pink,#ff5cef)
    );

  font:inherit;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;

  cursor:pointer;

  transition:
    filter .18s ease,
    transform .18s ease,
    opacity .18s ease;
}

.error404-shared-change-password-button:hover:not(:disabled){
  filter:brightness(1.1);
  transform:translateY(-1px);
}

.error404-shared-change-password-button:disabled{
  cursor:wait;
  opacity:.55;
}


/* ==========================================================
   ERROR404 // LOGIN-HISTORIE
   ========================================================== */

.error404-shared-login-history-icon{
  width:34px;
  height:34px;

  display:grid;
  place-items:center;

  flex:0 0 auto;

  border:1px solid rgba(25,243,255,.24);
  border-radius:10px;

  background:
    linear-gradient(
      135deg,
      rgba(25,243,255,.08),
      rgba(255,92,239,.06)
    );

  font-size:16px;
}

.error404-shared-login-history{
  display:grid;
  gap:9px;
}

.error404-shared-login-history-item{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:11px;

  padding:12px;

  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;

  background:rgba(0,0,0,.17);
}

.error404-shared-login-history-item.current{
  border-color:rgba(70,242,165,.24);

  background:
    linear-gradient(
      135deg,
      rgba(70,242,165,.045),
      rgba(25,243,255,.025)
    ),
    rgba(0,0,0,.17);
}

.error404-shared-login-history-device{
  width:42px;
  height:42px;

  display:grid;
  place-items:center;

  border:1px solid rgba(25,243,255,.2);
  border-radius:9px;

  color:var(--cyan,#19f3ff);
  background:rgba(25,243,255,.035);

  font-size:18px;
}

.error404-shared-login-history-content{
  min-width:0;
}

.error404-shared-login-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.error404-shared-login-history-head strong{
  min-width:0;

  color:#f1f6fb;

  font-size:10px;
  line-height:1.45;

  overflow-wrap:anywhere;
}

.error404-shared-login-history-head span{
  flex:0 0 auto;

  padding:4px 6px;

  border:1px solid rgba(70,242,165,.25);
  border-radius:999px;

  color:#46f2a5;
  background:rgba(70,242,165,.05);

  font-size:7px;
  font-weight:800;
  letter-spacing:.7px;
}

.error404-shared-login-history-details{
  display:flex;
  flex-wrap:wrap;
  gap:6px 11px;

  margin-top:7px;

  color:#7f8b99;

  font-family:Arial,sans-serif;
  font-size:9px;
  line-height:1.5;
}

.error404-shared-login-history-details span,
.error404-shared-login-history-details time{
  overflow-wrap:anywhere;
}

.error404-shared-login-history-empty{
  padding:15px;

  border:1px dashed rgba(25,243,255,.16);
  border-radius:10px;

  color:#7f8b99;
  background:rgba(0,0,0,.12);

  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.5;
  text-align:center;
}

.error404-shared-login-history-empty.error{
  color:#ff7895;
  border-color:rgba(255,120,149,.24);
}

@media(max-width:620px){
  .error404-shared-login-history-head{
    flex-direction:column;
    gap:6px;
  }

  .error404-shared-login-history-head span{
    align-self:flex-start;
  }
}


/* ==========================================================
   ERROR404 // ADMIN-SICHERHEITSPROFIL
   ========================================================== */

.error404-shared-admin-security-intro{
  margin:20px 0 14px;
}

.error404-shared-admin-security-intro > span{
  display:block;
  margin-bottom:7px;

  color:#ffd166;

  font-size:9px;
  font-weight:800;
  letter-spacing:1.4px;
}

.error404-shared-admin-security-intro h3{
  margin:0 0 7px;

  color:var(--pink,#ff5cef);
  font-size:20px;
}

.error404-shared-admin-security-intro p{
  margin:0;

  color:#8c98a6;

  font-family:Arial,sans-serif;
  font-size:12px;
  line-height:1.5;
}

.error404-shared-admin-security-warning{
  margin-bottom:14px;
  padding:14px;

  border:1px solid rgba(255,209,102,.3);
  border-radius:11px;

  background:rgba(255,209,102,.055);
}

.error404-shared-admin-security-warning strong{
  display:block;
  margin-bottom:6px;

  color:#ffd166;

  font-size:9px;
  letter-spacing:1px;
}

.error404-shared-admin-security-warning p{
  margin:0;

  color:#c8b980;

  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.55;
}

.error404-shared-admin-security-icon{
  width:34px;
  height:34px;

  display:grid;
  place-items:center;

  border:1px solid rgba(255,209,102,.25);
  border-radius:10px;

  background:rgba(255,209,102,.045);

  font-size:16px;
}

.error404-shared-admin-match-count{
  min-width:34px;
  height:34px;

  display:grid;
  place-items:center;

  padding:0 8px;

  border:1px solid rgba(255,92,239,.3);
  border-radius:999px;

  color:var(--pink,#ff5cef);
  background:rgba(255,92,239,.055);

  font-size:11px;
  font-weight:800;
}

.error404-shared-admin-login-history,
.error404-shared-admin-related-accounts{
  display:grid;
  gap:9px;

  margin-top:14px;
}

.error404-shared-admin-login-item,
.error404-shared-admin-related-item{
  padding:12px;

  border:1px solid rgba(255,255,255,.075);
  border-radius:10px;

  background:rgba(0,0,0,.17);
}

.error404-shared-admin-login-head,
.error404-shared-admin-related-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.error404-shared-admin-login-head strong,
.error404-shared-admin-related-head strong{
  color:#f2f6fa;

  font-size:10px;
  line-height:1.45;
}

.error404-shared-admin-login-head time{
  flex:0 0 auto;

  color:#8794a3;

  font-family:Arial,sans-serif;
  font-size:9px;
}

.error404-shared-admin-login-details,
.error404-shared-admin-related-details{
  display:grid;
  gap:6px;

  margin-top:8px;

  color:#83909e;

  font-family:Arial,sans-serif;
  font-size:9px;
  line-height:1.5;
}

.error404-shared-admin-login-details code,
.error404-shared-admin-related-details code{
  width:fit-content;
  max-width:100%;

  padding:5px 7px;

  border:1px solid rgba(25,243,255,.16);
  border-radius:6px;

  color:var(--cyan,#19f3ff);
  background:rgba(25,243,255,.035);

  font-family:monospace;
  font-size:9px;

  overflow-wrap:anywhere;
}

.error404-shared-admin-related-head span{
  flex:0 0 auto;

  padding:4px 6px;

  border:1px solid rgba(25,243,255,.23);
  border-radius:999px;

  color:var(--cyan,#19f3ff);
  background:rgba(25,243,255,.04);

  font-size:7px;
  font-weight:800;
  letter-spacing:.7px;
}

.error404-shared-admin-related-head span.banned{
  color:#ff7895;
  border-color:rgba(255,120,149,.27);
  background:rgba(255,120,149,.055);
}

.error404-shared-admin-security-empty{
  padding:15px;

  border:1px dashed rgba(25,243,255,.17);
  border-radius:10px;

  color:#7e8b99;
  background:rgba(0,0,0,.12);

  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.5;
  text-align:center;
}

.error404-shared-admin-security-empty.success{
  color:#46f2a5;
  border-color:rgba(70,242,165,.22);
}

.error404-shared-admin-security-empty.error{
  color:#ff7895;
  border-color:rgba(255,120,149,.25);
}

@media(max-width:620px){
  .error404-shared-admin-login-head,
  .error404-shared-admin-related-head{
    flex-direction:column;
  }
}


/* ==========================================================
   ERROR404 // PROFILBILD BILDUNTERSCHRIFT
   ========================================================== */

.error404-shared-profile-caption-row {
  align-items: start;
}

#error404SharedEditProfileImageCaption {
  min-height: 72px;
  resize: vertical;
}



/* ==========================================================
   ERROR404 // GEBURTSDATUM-HINWEIS VOLLE BREITE
   ========================================================== */

#error404SharedEditBirthDate + small {
  grid-column: 1 / -1;

  display: block;
  width: 100%;

  margin-top: -2px;

  color: #7f8a98;
  font-size: 10px;
  line-height: 1.45;
}


/* ERROR404 // GEBURTSDATUM-HINWEIS LESBARER */
#error404SharedEditBirthDate + small {
  font-size: 12px !important;
  line-height: 1.6 !important;
  font-weight: 500;

  color: #aeb8c4 !important;

  letter-spacing: 0.15px;

  margin-top: 2px !important;
}

/* error404-private-mail-v1 */
#error404PrivateMailCard .error404-private-mail-toggle {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px; border: 1px solid rgba(25,243,255,.3);
  border-radius: 10px; background: rgba(25,243,255,.045);
  color: #edf5ff; font-size: 13px; line-height: 1.5; cursor: pointer;
}
#error404PrivateMailCard input[type="checkbox"] {
  appearance: auto; width: 19px; height: 19px; flex: 0 0 19px;
  margin: 1px 0 0; accent-color: #19f3ff;
}
#error404PrivateMailCard input:focus-visible { outline: 2px solid #ff5cef; outline-offset: 3px; }
#error404PrivateMailCard small { display: block; margin-top: 10px; }
