/* Live 1.2.14: reliable member background choice and calmer Connect tile. */

/* The entire launcher is a real button; it cannot trigger <details> animations. */
.den-wrap .den-profile-background-picker{
  padding:21px!important;
  border:2px solid #cc9cdc!important;
  border-radius:19px!important;
  background:linear-gradient(135deg,#f3e6f9 0%,#fff 100%)!important;
  box-shadow:0 8px 23px #57247015!important;
}
.den-wrap .den-profile-background-heading{
  margin:0 0 13px!important;
  font-size:18px!important;
  line-height:1.25!important;
  letter-spacing:.005em!important;
}
.den-wrap .den-profile-background-picker>.den-profile-background-launch{
  position:relative!important;
  bottom:auto!important;
  z-index:1!important;
  display:grid!important;
  grid-template-columns:118px minmax(0,1fr)!important;
  align-items:center;
  column-gap:16px!important;
  width:100%!important;
  max-width:none!important;
  min-height:118px!important;
  margin:0!important;
  padding:13px 15px!important;
  border:2px solid #9749b0!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 6px 22px #5b267824!important;
  color:#48255d!important;
  font:inherit!important;
  text-align:left!important;
  cursor:pointer;
  transition:border-color .14s ease,box-shadow .14s ease;
}
.den-wrap .den-profile-background-picker>.den-profile-background-launch:hover{
  border-color:#6f348e!important;
  box-shadow:0 8px 26px #4c1d7030!important;
}
.den-wrap .den-profile-background-launch:focus-visible{
  outline:3px solid #b370d2!important;
  outline-offset:3px!important;
}
.den-wrap .den-profile-background-launch .den-profile-background-current-swatch{
  grid-row:1 / span 2;
  width:100%!important;
  height:82px!important;
}
.den-wrap .den-profile-background-launch .den-profile-background-summary-copy{
  align-self:end;
  gap:4px;
}
.den-wrap .den-profile-background-launch .den-profile-background-summary-copy strong{
  font-size:20px!important;
  line-height:1.2!important;
}
.den-wrap .den-profile-background-invitation{
  align-self:start;
  display:inline-block;
  width:max-content;
  max-width:100%;
  padding:5px 9px;
  border-radius:9px;
  background:#71358d;
  color:#fff;
  font-size:10px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.04em;
}
.den-wrap .den-profile-background-modal[open]{
  z-index:2147483000!important;
}

/* Use the real Diversão! band logo at readable size, no bubble or arrows. */
.den-wrap .den-portal-connect{
  grid-template-columns:88px minmax(0,1fr)!important;
  gap:18px!important;
  min-height:154px!important;
  padding:21px 23px!important;
}
.den-wrap .den-portal-connect-brand{
  width:85px!important;
  height:85px!important;
  min-width:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.den-wrap .den-portal-connect-brand img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 3px 8px #180b2666);
}
.den-wrap .den-portal-connect-arrow{display:none!important}
.den-wrap .den-portal-connect-copy{min-width:0}
.den-wrap .den-portal-connect-copy strong{letter-spacing:.015em}
.den-wrap .den-portal-connect::before{
  inset:0 0 0 37%;
  background-size:auto 168%;
  opacity:.07;
}

@media(max-width:600px){
  .den-wrap .den-profile-background-picker{padding:16px!important}
  .den-wrap .den-profile-background-heading{font-size:17px!important}
  .den-wrap .den-profile-background-picker>.den-profile-background-launch{
    grid-template-columns:88px minmax(0,1fr)!important;
    gap:7px 11px!important;
    padding:12px!important;
    min-height:108px!important;
  }
  .den-wrap .den-profile-background-launch .den-profile-background-current-swatch{height:71px!important}
  .den-wrap .den-profile-background-launch .den-profile-background-summary-copy strong{font-size:17px!important}
  .den-wrap .den-profile-background-invitation{font-size:9px;padding:5px 7px}
  .den-wrap .den-portal-connect{
    grid-template-columns:68px minmax(0,1fr)!important;
    gap:11px!important;
    min-height:144px!important;
    padding:16px 14px!important;
  }
  .den-wrap .den-portal-connect-brand{width:66px!important;height:66px!important}
  .den-wrap .den-portal-connect-copy strong{font-size:22px!important}
}
@media(prefers-reduced-motion:reduce){
  .den-wrap .den-profile-background-picker>.den-profile-background-launch{transition:none!important}
}

.den-wrap .den-profile-settings .den-card-sample {
    display:flex; align-items:flex-end; gap:12px; min-height:120px; padding:16px;
    color:white; background:linear-gradient(125deg,#321843,#753c88); border-radius:12px;
}
.den-wrap .den-card-sample > span:last-child { padding:4px 9px; background:#20112ac9; border-radius:6px; }
.den-wrap .den-card-sample > span:last-child :is(b,small) { display:block; color:white; }
.den-wrap .den-profile-settings .den-appearance-row,
.den-wrap .den-profile-settings .den-profile-background-picker {
    margin:0; padding:16px 0!important; border:0!important; border-bottom:1px solid #e6deea!important;
    border-radius:0!important; background:none!important; box-shadow:none!important;
}
.den-wrap .den-profile-settings h4 { margin:0 0 8px!important; color:#432452; }
.den-wrap .den-profile-settings p { margin:4px 0 10px; }
.den-wrap .den-profile-settings .den-appearance-action {
    display:inline-flex; align-items:center; justify-content:center; min-height:44px;
    padding:8px 16px; border:0; border-radius:9px; background:#713796; color:white;
    font:inherit; font-weight:700; line-height:1.3; cursor:pointer; list-style:none;
}
.den-appearance-action::-webkit-details-marker { display:none; }
.den-wrap .den-photo-edit[open] .den-profile-photo-form { margin-top:14px; }
