/* mobile-pro-visual-defaults-v1
 * Mobile Pro only: the light selector preset is a clean white surface on
 * both layouts, and the desktop feed receives the profile-source treatment.
 */
html[data-mobile-pro-theme="light"] {
  --bg: #ffffff;
  --card: #ffffff;
  --card2: #f7faff;
  --border: #d9e4ef;
  --ink: #132238;
  --ink2: #66788f;
  --ink3: #91a0b2;
  --brand: #1769e8;
  --brand2: #0d54c6;
}

html[data-mobile-pro-theme="light"] body,
html[data-mobile-pro-theme="light"] #dt-body,
html[data-mobile-pro-theme="light"] #dt-left,
html[data-mobile-pro-theme="light"] #dt-center,
html[data-mobile-pro-theme="light"] #dt-right,
html[data-mobile-pro-theme="light"] .hub-scroll,
html[data-mobile-pro-theme="light"] .hub-view {
  background-color: #ffffff;
  color: #132238;
}

/* Posts behave like cards, not selectable document text. Controls remain usable. */
#feed-list .post-card,
#feed-list .post-card *,
.live-feed-card,
.live-feed-card * {
  -webkit-user-select: none;
  user-select: none;
}
#feed-list .post-card a,
#feed-list .post-card button,
#feed-list .post-card input,
#feed-list .post-card textarea,
#feed-list .post-card [contenteditable="true"],
.live-feed-card a,
.live-feed-card button,
.live-feed-card input,
.live-feed-card textarea,
.live-feed-card [contenteditable="true"] {
  -webkit-user-select: auto;
  user-select: auto;
}

/* The profile-source cover and its complete top treatment are shared by the
   authenticated home feed and the profile view on desktop. */
#view-home .home-profile-card.mobile-pro-profile-source-home,
#view-profile.mobile-pro-profile-source {
  background: #ffffff;
  color: #132238;
}

#view-home .home-profile-card.mobile-pro-profile-source-home .home-profile-cover,
#view-profile.mobile-pro-profile-source .profile-hero {
  background-image: linear-gradient(180deg, rgba(15, 35, 63, .08), rgba(15, 35, 63, .26)), url('/assets/img/hero-diaspora-city.jpg');
  background-position: center;
  background-size: cover;
}

@media (min-width: 900px) {
  html[data-mobile-pro-theme="light"] #dt-body,
  html[data-mobile-pro-theme="light"] #dt-left,
  html[data-mobile-pro-theme="light"] #dt-center,
  html[data-mobile-pro-theme="light"] #dt-right,
  html[data-mobile-pro-theme="light"] .hub-scroll {
    background-color: #ffffff;
  }

  #view-home .home-profile-card.mobile-pro-profile-source-home {
    margin: 0 0 16px;
    border: 1px solid #d9e4ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(31, 67, 108, .08);
    overflow: hidden;
  }

  #view-home .home-profile-card.mobile-pro-profile-source-home .home-profile-cover {
    min-height: 220px;
    border-radius: 17px 17px 0 0;
  }

  #view-home .home-profile-card.mobile-pro-profile-source-home .home-profile-content {
    background: #ffffff;
  }

  #view-home .feed-tabs-bar,
  #view-home .feed-sort-bar,
  #view-home .composer-card,
  #view-home #feed-list {
    background: #ffffff;
  }

  #view-profile.mobile-pro-profile-source .profile-hero {
    min-height: 220px;
  }
}

/* Mobile Pro owns its own shell; the site-wide Google footer must not enter
   the fixed desktop layout while the center column is scrolled. */
.diaspora-google-source-footer {
  display: none;
}

/* The radio player is an overlay only while a station is playing. */
#radio-banner:not(.visible) {
  visibility: hidden;
  pointer-events: none;
}
#radio-banner.visible {
  visibility: visible;
}

/* Source module: post-card-flat */
/* ══ POST CARD FLAT — fara colturi rotunjite, fara shadow, cu linie separator ══ */
.post-card{
  background:var(--card);
  border-bottom:1.5px solid rgba(0,0,0,.09);
  overflow:hidden;
  border-radius:0 ;
  box-shadow:none ;
}
[data-theme='dark'] .post-card{border-bottom:1.5px solid rgba(255,255,255,.08)}

/* Desktop post-card flat override */
@media(min-width:641px){
  #feed-list .post-card{
    border-radius:0 ;
    box-shadow:none ;
    border-bottom:1.5px solid rgba(0,0,0,.09) ;
    transform:none ;
    margin:0 ;
  }
  [data-theme='dark'] #feed-list .post-card{
    border-bottom:1.5px solid rgba(255,255,255,.08) ;
  }
  /* hover glow ajustat pentru card flat */
  #feed-list .post-card:not(.holo):not(.memory):not(.capsule):hover{
    box-shadow:
      0 0 0 1.5px rgba(34,197,94,.30),
      0 0 24px rgba(34,197,94,.07) ;
    transform:none ;
    z-index:1;position:relative;
  }
  #feed-list .post-card:not(.holo):not(.memory):not(.capsule):hover::before{
    border-radius:0 ;
  }
}
