/* Twitter Floatbox - simple, beside WA */

.myk-tw-btn,
.myk-tw-panel {
  font-family: Arial, Helvetica, sans-serif;
}

/* button (to the LEFT of WA) */
.myk-tw-btn {
  position: fixed;
  right: 153px;    /* WA is at 30px -> this is to the left */
  bottom: 20px;
  background: #1da1f2;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 5px rgba(0,0,0,.25);
  cursor: pointer;
  z-index: 999;
  transition: .25s;
}
.myk-tw-btn:hover {
  opacity: .9;
}
.myk-tw-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* panel */
.myk-tw-panel {
  position: fixed;
  right: 90px;
  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-tw-head {
  background: #1da1f2;
  color: #fff;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.myk-tw-title {
  font-size: 14px;
  font-weight: 600;
}
.myk-tw-close {
  margin-left: auto;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: .8;
}
.myk-tw-close:hover {
  opacity: 1;
}

.myk-tw-body {
  background: #fff;
  flex: 1;
  overflow-y: auto;
}

/* open */
.myk-tw-show {
  height: 430px;
}

/* mobile tweaks */
@media (max-width: 480px) {
  .myk-tw-btn {
    right: 150px; /* you can make this 80 or 70 */
  }
  .myk-tw-panel {
    right: 10px;
    width: calc(100% - 20px);
  }
}
