/* ── DASHBOARD CARD EXPAND/SHRINK ── */
/* Pagination nav buttons */
#dcp-prev,
#dcp-next {
  background: none;
  border: none;
  color: rgba(30, 30, 40, .28);
  font-size: 26px;
  cursor: pointer;
  padding: 0 7px;
  flex-shrink: 0;
  line-height: 1;
  transition: color .15s;
  font-weight: 300
}

#dcp-prev:hover,
#dcp-next:hover {
  color: #1a1a22
}

#dcp-prev:disabled,
#dcp-next:disabled {
  opacity: .15;
  cursor: default
}

/* Card flex layout */
.dfc {
  flex: 1 0 0%;
  min-width: 0;
  margin: 0 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: flex-grow .42s cubic-bezier(.4, 0, .2, 1), border-color .15s, box-shadow .15s, opacity .32s ease
}

.dfc-dummy {
  flex: 1 0 0%;
  min-width: 0;
  margin: 0 3px;
  background: rgba(30, 30, 40, .035);
  border: 1px solid rgba(30, 30, 40, .08);
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  flex-shrink: 0;
  transition: flex-grow .42s cubic-bezier(.4, 0, .2, 1), opacity .32s ease, margin .42s cubic-bezier(.4, 0, .2, 1)
}

.dfc.dfc-shrunk {
  opacity: .65
}

.dfc.dfc-shrunk .dfc-face-content {
  opacity: 0;
  pointer-events: none
}

.dfc-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 40px);
  color: rgba(30, 30, 40, .85);
  letter-spacing: .04em;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  user-select: none;
  z-index: 1
}

.dfc.dfc-shrunk .dfc-initials {
  opacity: 1
}

.dfc-face-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity .25s ease
}

.dfc-exp-content {
  display: flex;
  flex-direction: column;
  flex: 1
}

.dfc-btn-group {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
  z-index: 5;
  align-items: center
}

.dfc.dfc-shrunk .dfc-btn-group {
  opacity: 0;
  pointer-events: none
}

.dfc-resize-btn,
.dfc-expand-btn {
  position: static;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .85);
  color: rgba(30, 30, 40, .55);
  border: 1px solid rgba(30, 30, 40, .14);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  backdrop-filter: blur(4px)
}

.dfc-resize-btn:hover,
.dfc-expand-btn:hover {
  background: #1a1a22;
  color: #fff;
  border-color: #1a1a22
}

.dfc-resize-btn svg,
.dfc-expand-btn svg {
  width: 11px;
  height: 11px;
  display: block
}

.dfc-resize-btn .ic-in {
  display: none
}

.dfc.dfc-exp .dfc-resize-btn .ic-out {
  display: none
}

.dfc.dfc-exp .dfc-resize-btn .ic-in {
  display: block
}

.dfc-exp-write {
  padding: 5px 9px 3px;
  font-size: 9px;
  color: rgba(30, 30, 40, .58);
  line-height: 1.55;
  border-top: 1px solid #e2ddd6;
  flex: 1;
  overflow: hidden;
  font-family: var(--font-ui);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%)
}

.dfc-art-btn {
  margin: 5px 8px 8px;
  padding: 5px 8px;
  background: #1a1a22;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 8px;
  cursor: pointer;
  letter-spacing: .05em;
  text-align: center;
  transition: opacity .15s;
  flex-shrink: 0
}

.dfc-art-btn:hover {
  opacity: .8
}

.dfc-face-art-btn {
  margin: 3px 8px 7px;
  padding: 3px 7px;
  background: transparent;
  color: rgba(30, 30, 40, .5);
  border: 1px solid rgba(30, 30, 40, .16);
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 7.5px;
  cursor: pointer;
  letter-spacing: .04em;
  text-align: center;
  transition: all .15s;
  flex-shrink: 0
}

.dfc-face-art-btn:hover {
  background: #1a1a22;
  color: #fff;
  border-color: #1a1a22
}
