/* Facebook Floatbox - sits to the LEFT of Twitter */

/* button */
.myk-fb-btn {
  position: fixed;
  right: 212px;      /* WA:30, TW:90, FB:150 */
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 5px rgba(0,0,0,.25);
  cursor: pointer;
  transition: .25s;
  z-index: 999;
}
.myk-fb-btn:hover {
  opacity: .9;
}
.myk-fb-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

/* panel */
.myk-fb-panel {
  position: fixed;
  right: 150px;
  bottom: 75px;
  width: 330px;
  max-height: 430px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0,0,0,.12);
  overflow: hidden;
  height: 0;
  transition: height .25s ease-out;
  z-index: 9998;
  display: flex;
  flex-direction: column;
}

.myk-fb-head {
  background: #1877f2;
  color: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.myk-fb-title {
  font-weight: 600;
  font-size: 14px;
}
.myk-fb-close {
  margin-left: auto;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: .8;
}
.myk-fb-close:hover { opacity: 1; }

.myk-fb-body {
  background: #fff;
  flex: 1;
  overflow-y: auto;
}

/* open */
.myk-fb-show {
  height: 430px;
}

/* mobile */
@media (max-width: 480px) {
  .myk-fb-btn {
    right: 205px; /* adjust if they overlap */
  }
  .myk-fb-panel {
    right: 10px;
    width: calc(100% - 20px);
  }
}
