/* Digitana Social - Central V1 rechter Rahmen- und Hintergrund-Feinschliff
   Nur Central-Seite. Keine Änderung an Radar, Navigation, Login, Profil, Konto, base.css oder mobile.css. */

.ds-central-shell {
  position: relative;
  width: 100%;
  align-self: stretch;
  justify-self: stretch;
  margin: 0;
  padding: 12px 28px 30px;
  color: #eaf6ff;
  background:
    radial-gradient(ellipse at 22% 0%, rgba(235, 244, 250, 0.12), transparent 34%),
    radial-gradient(ellipse at 78% 8%, rgba(190, 211, 224, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(38, 50, 58, 0.36) 0%, rgba(5, 10, 15, 0.82) 34%, rgba(0, 0, 0, 0.98) 68%, rgba(0, 0, 0, 1) 100%);
}

/* Abstand nur fuer Central-Inhalt unter dem bestehenden Radarbereich.
   Das Radar selbst wird nicht gestylt, nicht verschoben und nicht ueberdeckt. */
.ds-central-shell-with-radar {
  margin-top: 6px;
}

.ds-central-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 26px;
  align-items: start;
  width: 100%;
}

.ds-central-main {
  min-width: 0;
  padding: 0;
  background: transparent;
}

.ds-central-hero,
.ds-central-search {
  position: relative;
  padding: 18px 18px 22px;
  margin: 0 0 18px;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(215, 237, 255, 0.12), transparent 34%),
    radial-gradient(ellipse at 70% 0%, rgba(32, 169, 255, 0.10), transparent 38%),
    linear-gradient(90deg, rgba(6, 20, 33, 0.78), rgba(0, 0, 0, 0.98) 48%, rgba(0, 0, 0, 1));
  box-shadow:
    inset 0 0 0 1px rgba(142, 223, 255, 0.08),
    inset 0 16px 24px rgba(215, 237, 255, 0.025),
    0 0 22px rgba(32, 169, 255, 0.07);
}

.ds-central-hero::after,
.ds-central-search::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(32, 169, 255, 0.28) 18%,
      rgba(215, 237, 255, 0.88) 52%,
      rgba(32, 169, 255, 0.34) 78%,
      transparent);
  box-shadow:
    0 0 9px rgba(32, 169, 255, 0.55),
    0 0 18px rgba(215, 237, 255, 0.20);
  pointer-events: none;
}

.ds-central-hero h1 {
  margin: 0 0 11px;
  padding-top: 0;
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.18;
  letter-spacing: 0.10em;
  text-transform: none;
  text-shadow:
    0 0 7px rgba(215, 237, 255, 0.72),
    0 0 15px rgba(32, 169, 255, 0.44),
    0 1px 0 #000000;
}

.ds-central-hero-public h1 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ds-central-hero p {
  max-width: 860px;
  margin: 0 0 10px;
  color: #f4fbff;
  font-size: 1rem;
  line-height: 1.55;
  text-shadow: 0 1px 0 #000000;
}

.ds-central-hero a:not(.ds-central-register-button) {
  color: #63dcff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-shadow: 0 0 8px rgba(32, 169, 255, 0.28);
}

.ds-central-subline {
  color: #c8f2ff !important;
}

.ds-central-register-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 190px;
  min-height: 36px;
  margin: 18px auto 0;
  padding: 8px 24px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(255,255,255,0.24), transparent 52%),
    linear-gradient(135deg, rgba(226,242,252,0.42), rgba(56,157,215,0.50), rgba(3,13,23,0.98) 74%);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.78rem;
  box-shadow:
    0 0 20px rgba(32, 169, 255, 0.30),
    0 7px 16px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -9px 17px rgba(0,0,0,0.42);
}

.ds-central-register-button:hover {
  box-shadow:
    0 0 24px rgba(32, 169, 255, 0.45),
    0 8px 18px rgba(0,0,0,0.46),
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -9px 17px rgba(32,169,255,0.14);
}

/* Suchbereich ohne harten Aussenkasten, Feld selbst leuchtet staerker. */
.ds-central-search {
  padding: 12px 18px 18px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(32, 169, 255, 0.11), transparent 44%),
    linear-gradient(90deg, rgba(3, 14, 24, 0.50), rgba(0,0,0,0.96) 52%, rgba(0,0,0,1));
  box-shadow: none;
}

.ds-central-search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 6px 0 4px;
}

.ds-central-search-form label {
  color: #8edfff;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(32, 169, 255, 0.34);
}

.ds-central-search-form input {
  width: 100%;
  height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(215, 237, 255, 0.09), transparent 54%),
    linear-gradient(180deg, rgba(14, 29, 42, 0.80), rgba(0, 0, 0, 0.96));
  color: #eaf6ff;
  outline: none;
  font: inherit;
  box-shadow:
    0 0 18px rgba(32, 169, 255, 0.22),
    inset 0 0 0 1px rgba(215, 237, 255, 0.30),
    inset 0 9px 14px rgba(0, 0, 0, 0.50),
    inset 0 0 16px rgba(32, 169, 255, 0.10);
}

.ds-central-search-form input:focus {
  box-shadow:
    0 0 20px rgba(32, 169, 255, 0.40),
    inset 0 0 0 1px rgba(130, 222, 255, 0.78),
    inset 0 9px 14px rgba(0, 0, 0, 0.48);
}

.ds-central-search-form button {
  min-height: 36px;
  padding: 8px 20px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(226,242,252,0.40), rgba(56,157,215,0.48), rgba(3,13,23,0.98) 74%);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.76rem;
  cursor: pointer;
  box-shadow:
    0 0 17px rgba(32, 169, 255, 0.28),
    0 7px 16px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.28),
    inset 0 -8px 16px rgba(0,0,0,0.36);
}

.ds-central-search-results {
  display: grid;
  gap: 8px;
  padding: 8px 0 4px;
}

.ds-central-search-result {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  color: #eaf6ff;
  text-decoration: none;
}

.ds-central-search-result small {
  display: block;
  margin-top: 2px;
  color: #bdeeff;
}

.ds-central-section-title {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr);
  gap: 14px;
  align-items: center;
  margin: 4px 0 4px;
}

.ds-central-section-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow:
    0 0 8px rgba(215, 237, 255, 0.58),
    0 0 15px rgba(32, 169, 255, 0.42),
    0 1px 0 #000000;
}

.ds-central-section-title span {
  height: 3px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(215,237,255,0.86),
      rgba(32,169,255,0.56),
      rgba(215,237,255,0.70),
      transparent);
  box-shadow:
    0 0 11px rgba(32,169,255,0.52),
    0 0 22px rgba(215,237,255,0.18);
}

.ds-central-section-note {
  margin: 0 0 14px;
  color: #bdeeff;
  font-size: 0.82rem;
}

.ds-central-feed-list {
  display: grid;
  gap: 18px;
}

.ds-central-post {
  position: relative;
  margin: 0;
  padding: 13px 12px 12px;
  border-radius: 9px;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(32,169,255,0.17), transparent 46%),
    radial-gradient(ellipse at 85% 12%, rgba(215,237,255,0.08), transparent 38%),
    linear-gradient(135deg, rgba(8, 23, 35, 0.96), rgba(0, 0, 0, 0.98) 52%, rgba(0,0,0,1));
  border: 1px solid rgba(86, 185, 238, 0.34);
  box-shadow:
    0 0 16px rgba(32,169,255,0.14),
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -18px 26px rgba(0,0,0,0.30);
  overflow: visible;
}

.ds-central-post + .ds-central-post::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: -12px;
  height: 4px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(32,169,255,0.42) 18%,
      rgba(215,237,255,0.96) 52%,
      rgba(32,169,255,0.46) 80%,
      transparent);
  box-shadow:
    0 0 10px rgba(32,169,255,0.65),
    0 0 19px rgba(215,237,255,0.28);
  pointer-events: none;
}

.ds-central-post-head {
  display: grid;
  grid-template-columns: 38px minmax(0, auto) 1fr auto;
  gap: 8px;
  align-items: center;
  margin: 0 0 8px;
}

.ds-central-avatar {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background:
    radial-gradient(ellipse at 30% 10%, rgba(215,237,255,0.22), transparent 55%),
    #050b12;
  box-shadow:
    0 0 10px rgba(32,169,255,0.30),
    inset 0 0 0 1px rgba(215,237,255,0.24);
}

.ds-central-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ds-central-avatar span {
  font-weight: 700;
  text-transform: uppercase;
}

.ds-central-author-name,
.ds-central-comments .ds-profile-author-name {
  width: fit-content;
  --ds-profile-accent: #20a9ff;
  font-size: 0.82rem;
}

.ds-central-date {
  justify-self: end;
  white-space: nowrap;
}

.ds-central-post-content {
  margin: 5px 0 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.ds-central-post-softline {
  height: 1px;
  margin: 12px 0 8px;
  background:
    linear-gradient(90deg,
      transparent,
      rgba(215,237,255,0.24),
      rgba(32,169,255,0.34),
      rgba(215,237,255,0.18),
      transparent);
  box-shadow:
    0 0 9px rgba(32,169,255,0.20),
    0 0 16px rgba(215,237,255,0.08);
}

.ds-central-action-block {
  margin-top: 0;
}

.ds-central-empty-line {
  margin: 12px 0 0;
  color: #bfeeff;
}

.ds-central-side {
  display: grid;
  gap: 18px;
}

.ds-central-side-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid rgba(245, 252, 255, 0.72);
  background:
    radial-gradient(ellipse at 48% 8%, rgba(248, 252, 255, 0.20), transparent 34%),
    radial-gradient(ellipse at 12% 50%, rgba(230, 240, 247, 0.12), transparent 42%),
    linear-gradient(145deg, rgba(84, 99, 109, 0.42), rgba(10, 18, 27, 0.96) 38%, rgba(0, 0, 0, 0.99));
  box-shadow:
    0 0 11px rgba(235, 248, 255, 0.34),
    0 0 20px rgba(176, 210, 228, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 10px 0 20px rgba(235, 248, 255, 0.08),
    inset -14px -14px 28px rgba(0, 0, 0, 0.50);
}

.ds-central-side-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.24), transparent 18%, transparent 82%, rgba(255,255,255,0.12)),
    linear-gradient(180deg, rgba(255,255,255,0.26), transparent 18%, transparent 86%, rgba(255,255,255,0.10));
  box-shadow:
    inset 0 0 0 1px rgba(215, 237, 255, 0.14),
    0 0 14px rgba(235, 248, 255, 0.12);
}

/* Ein einheitlicher, duenn weiss-silbriger Lichtrahmen fuer GIF und Werbung. */
.ds-central-gif-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.ds-central-gif-box img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
  filter:
    drop-shadow(0 0 8px rgba(235, 248, 255, 0.24))
    drop-shadow(0 0 12px rgba(185, 220, 238, 0.16));
}

.ds-central-ad-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds-central-ad-box span {
  position: relative;
  z-index: 1;
  color: #f1fbff;
  font-size: 0.80rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-shadow:
    0 0 9px rgba(235,248,255,0.52),
    0 0 17px rgba(176,210,228,0.22),
    0 1px 0 #000000;
}

@media (max-width: 980px) {
  .ds-central-shell {
    padding: 22px 18px 24px;
  }

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

  .ds-central-side {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ds-central-shell-with-radar {
    margin-top: 22px;
  }

  .ds-central-search-form {
    grid-template-columns: 1fr;
  }

  .ds-central-post-head {
    grid-template-columns: 34px minmax(0, auto) 1fr;
  }

  .ds-central-date {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 42px;
  }


  .ds-central-side {
    grid-template-columns: 1fr;
  }
}


/* Central Profil-Suche V1: Vorschläge, Suchseite und Auswahlbalken.
   Nur Central. Bestehendes Layout, rechte Spalte, Radar, Login, Profil und Feed-Design bleiben unverändert. */
.ds-central-search-input-wrap {
  position: relative;
  min-width: 0;
}

.ds-central-search-suggestions {
  position: absolute;
  z-index: 9500;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
  border-radius: 11px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(215,237,255,0.14), transparent 48%),
    linear-gradient(135deg, rgba(27, 53, 73, 0.98), rgba(2, 11, 20, 0.99) 50%, rgba(0,0,0,0.99));
  box-shadow:
    0 24px 44px rgba(0,0,0,0.72),
    0 0 26px rgba(32,169,255,0.22),
    inset 0 0 0 1px rgba(142,223,255,0.20),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.ds-central-search-suggestions[hidden] {
  display: none !important;
}

.ds-central-suggest-item,
.ds-central-profile-result-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #eaf6ff;
  text-decoration: none;
  outline: none;
}

.ds-central-suggest-item::before,
.ds-central-profile-result-row::before,
.ds-central-shell .ds-profile-visibility-choice::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 7px;
  opacity: 0;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(215,237,255,0.22), transparent 52%),
    linear-gradient(135deg, rgba(60, 132, 180, 0.42), rgba(4, 17, 29, 0.94) 60%, rgba(0,0,0,0.96));
  box-shadow:
    0 0 14px rgba(32,169,255,0.30),
    inset 0 0 0 1px rgba(142,223,255,0.34),
    inset 0 1px 0 rgba(255,255,255,0.16);
  pointer-events: none;
  transition: opacity 0.14s ease;
}

.ds-central-suggest-item:hover::before,
.ds-central-suggest-item:focus-visible::before,
.ds-central-profile-result-row:hover::before,
.ds-central-profile-result-row:focus-visible::before,
.ds-central-shell .ds-profile-visibility-choice:hover::before,
.ds-central-shell .ds-profile-visibility-choice:focus-visible::before,
.ds-central-shell .ds-profile-visibility-choice-active::before {
  opacity: 1;
}

.ds-central-suggest-avatar,
.ds-central-search-avatar {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(ellipse at 30% 10%, rgba(215,237,255,0.22), transparent 55%),
    #050b12;
  box-shadow:
    0 0 10px rgba(32,169,255,0.30),
    inset 0 0 0 1px rgba(215,237,255,0.24);
  font-weight: 700;
}

.ds-central-suggest-avatar img,
.ds-central-search-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ds-central-suggest-text,
.ds-central-profile-result-main,
.ds-central-suggest-empty {
  position: relative;
  z-index: 1;
}

.ds-central-suggest-text strong,
.ds-central-profile-result-main strong {
  display: block;
  color: #ffffff;
  text-shadow:
    0 0 7px rgba(215,237,255,0.54),
    0 0 12px rgba(32,169,255,0.30),
    0 1px 0 #000000;
}

.ds-central-suggest-text small,
.ds-central-profile-result-main small {
  display: block;
  margin-top: 2px;
  color: #bdeeff;
  font-size: 0.76rem;
  line-height: 1.25;
}

.ds-central-suggest-empty {
  padding: 9px 10px;
  color: #bdeeff;
  font-size: 0.86rem;
}

.ds-central-profile-search-page {
  margin-top: 8px;
}

.ds-central-profile-result-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.ds-central-profile-result-row {
  grid-template-columns: 38px minmax(0, 1fr);
  min-height: 50px;
  padding: 8px 10px;
  border: 1px solid rgba(86,185,238,0.26);
  background:
    radial-gradient(ellipse at 9% 0%, rgba(32,169,255,0.12), transparent 42%),
    linear-gradient(135deg, rgba(8, 23, 35, 0.90), rgba(0, 0, 0, 0.98) 58%, rgba(0,0,0,1));
  box-shadow:
    0 0 13px rgba(32,169,255,0.10),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.ds-central-profile-result-row + .ds-central-profile-result-row::after {
  content: "";
  position: absolute;
  left: 26%;
  right: 26%;
  top: -6px;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(32,169,255,0.36), rgba(215,237,255,0.76), rgba(32,169,255,0.30), transparent);
  box-shadow:
    0 0 8px rgba(32,169,255,0.46),
    0 0 14px rgba(215,237,255,0.13);
  pointer-events: none;
}

.ds-central-shell .ds-profile-visibility-choice {
  position: relative;
  overflow: hidden;
}

.ds-central-shell .ds-profile-visibility-choice > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .ds-central-search-suggestions {
    left: 0;
    right: 0;
    max-height: 260px;
  }
}
