@charset "UTF-8";
/* 此檔案有單獨scss檔案 ---家丞 */
/* scss檔案位置: css/scss/instantMessenger.css */
/* 執行時可轉譯出 css 檔案 與 195測試機比對並且增減內容 */
/* 時間標記: 2025/11/26 12:00 最後執行: 家丞 */
.instantMessenger_root {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  visibility: visible;
  opacity: 1;
  z-index: 998;
  -webkit-transition: none;
  transition: none;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  pointer-events: auto;
  font-family: "Prompt", "Noto Sans TC", sans-serif;
}
@media (min-width: 768px) {
  .instantMessenger_root {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
}
@media (min-width: 992px) {
  .instantMessenger_root {
    z-index: 999;
  }
}
.instantMessenger_root.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  visibility: visible;
  opacity: 1;
  z-index: 999;
  -webkit-transition: none;
  transition: none;
  width: 100%;
  max-width: 100dvw;
  height: 100%;
  max-height: 100dvh;
  pointer-events: auto;
  /* 當螢幕高度 足夠 */
}
@media (min-width: 768px) {
  .instantMessenger_root.active {
    max-width: 400px;
    height: calc(100dvh - 150px - 12px - 32px - 8px); /* 當螢幕高度 不足 */
    max-height: 665px;
  }
}
@media (min-width: 768px) and (min-height: 808px) {
  .instantMessenger_root.active {
    height: 75dvh;
  }
}
.instantMessenger_root.active::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  background: var(--background-black-50, rgba(0, 0, 0, 0.5));
  width: 100%;
  height: 100%;
  content: "";
}
@media (min-width: 768px) {
  .instantMessenger_root.active::before {
    display: none;
    backdrop-filter: none;
    background: transparent;
    width: 0;
    height: 0;
  }
}
.instantMessenger_root.hidden {
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.instantMessenger_root * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.instantMessenger-remove {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: -3px;
  right: -3px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  visibility: visible;
  opacity: 1;
  z-index: 2;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  margin: 0;
  outline: none;
  border: none;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  aspect-ratio: 1/1;
  width: 20px;
  height: 20px;
  pointer-events: auto;
  color: var(--surface-black-50, rgba(33, 37, 41, 0.5));
}
.instantMessenger-remove:hover {
  color: rgb(33, 37, 41);
}
.instantMessenger-remove:active, .instantMessenger-remove:focus, .instantMessenger-remove:focus-visible, .instantMessenger-remove:focus-within {
  outline: none;
  border: none;
}
.instantMessenger-remove.active {
  display: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.instantMessenger-remove .icon-remove {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.instantMessenger-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  visibility: visible;
  opacity: 1;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  margin: 0;
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: none;
  background: transparent;
  padding: 0;
}
.instantMessenger-btn:hover .instantMessenger-tooltip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.instantMessenger-btn:active, .instantMessenger-btn:focus, .instantMessenger-btn:focus-visible, .instantMessenger-btn:focus-within {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.instantMessenger-btn.active {
  display: none;
  visibility: hidden;
  opacity: 0;
}
.instantMessenger-btn.showing {
  visibility: visible;
  opacity: 0.75;
  pointer-events: none;
}
.instantMessenger-btn .instantMessenger-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-flow: wrap;
      flex-flow: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0 auto;
  border: none;
  background: transparent;
  padding: 0;
  aspect-ratio: 1/1;
  width: clamp(0px, 100%, 100%);
  height: clamp(0px, 100%, 100%);
}
.instantMessenger-btn .instantMessenger-icon img {
  aspect-ratio: 1/1;
  width: clamp(0px, 100%, 100%);
  height: clamp(0px, 100%, 100%);
  -o-object-fit: contain;
     object-fit: contain;
}
@media (min-width: 768px) {
  .instantMessenger-btn .instantMessenger-icon img {
    width: clamp(0px, 100%, 100%);
    height: clamp(0px, 100%, 100%);
  }
}
.instantMessenger-btn .instantMessenger-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: -4px;
  border: none;
  border-radius: 4px;
  background: transparent;
  background: var(--Blue-800, #255999);
  padding: 0 6px 1px 6px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 67px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  color: var(--Basic-White, #FFF);
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  word-break: keep-all;
}
@media (min-width: 768px) {
  .instantMessenger-btn .instantMessenger-name {
    font-size: 14px;
    line-height: 22px;
  }
}
.instantMessenger-btn .instantMessenger-tooltip {
  display: none;
  position: absolute;
  left: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: var(--Size-150, 12px);
  -webkit-transform: translateX(calc(-100% - 10px - 8px));
          transform: translateX(calc(-100% - 10px - 8px));
  opacity: 0.8;
  -webkit-box-shadow: 0 0 16px 0 rgba(37, 38, 40, 0.08);
          box-shadow: 0 0 16px 0 rgba(37, 38, 40, 0.08);
  border-radius: var(--Radius-Medium, 12px);
  background: var(--Grey-800, #212428);
  padding: var(--Size-150, 12px) var(--Size-200, 16px);
  width: 228px;
  color: var(--Basic-White, #FFF);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
}
.instantMessenger-btn .instantMessenger-tooltip::before {
  position: absolute;
  right: 0;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--Grey-800, #212428);
  width: 0;
  height: 0;
  content: "";
}

.instantMessenger-close {
  display: none;
  position: fixed;
  top: 12px;
  right: 12px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--Size-0, 0);
  -webkit-transform: translateY(0);
          transform: translateY(0);
  visibility: hidden;
  opacity: 0;
  z-index: 2;
  -webkit-transition: none;
  transition: none;
  cursor: pointer;
  margin: 0;
  outline: none;
  -webkit-box-shadow: 0 1px 6px 0 rgba(37, 38, 40, 0.2);
          box-shadow: 0 1px 6px 0 rgba(37, 38, 40, 0.2);
  border: none;
  border-radius: var(--Radius-Full, 80px);
  border-radius: 999px;
  background: var(--background-black-50, rgba(0, 0, 0, 0.5));
  padding: var(--Size-50, 4px) var(--Size-150, 12px);
  width: 48px;
  height: 32px;
  pointer-events: none;
}
@media (min-width: 768px) {
  .instantMessenger-close {
    position: absolute;
    top: -8px;
    right: 0;
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
}
.instantMessenger-close:hover {
  color: rgb(33, 37, 41);
}
.instantMessenger-close:active, .instantMessenger-close:focus, .instantMessenger-close:focus-visible, .instantMessenger-close:focus-within {
  outline: none;
  border: none;
}
.instantMessenger-close.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.instantMessenger-close .icon-close {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  aspect-ratio: 1/1;
  width: 24px;
  height: 24px;
  color: #fff;
}

.instantMessenger-modal {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-line-pack: end;
      align-content: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: self-end;
      -ms-flex-align: self-end;
          align-items: self-end;
  justify-items: flex-end;
  -ms-flex-item-align: self-end;
      align-self: self-end;
  justify-self: self-end;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  width: 0px;
  height: clamp(0px, 0dvh, 0px);
  pointer-events: none;
}
@media (min-width: 768px) {
  .instantMessenger-modal {
    width: 0px;
  }
}
.instantMessenger-modal.show {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  visibility: visible;
  opacity: 1;
  width: 100%;
  height: clamp(0px, 100%, 100% - 12px - 32px - 8px);
  pointer-events: auto;
}
@media (min-width: 768px) {
  .instantMessenger-modal.show {
    -webkit-box-shadow: 0 0 16px 0 rgba(37, 38, 40, 0.08);
            box-shadow: 0 0 16px 0 rgba(37, 38, 40, 0.08);
    width: clamp(400px, 100%, 400px);
    height: clamp(0px, 75dvh, 665px);
    overflow-y: auto;
  }
}
@media (min-width: 768px) and (min-height: 808px) {
  .instantMessenger-modal.show {
    -webkit-box-shadow: none;
            box-shadow: none;
    overflow-y: unset;
  }
}
.instantMessenger-modal.showing {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.instantMessenger-modal iframe {
  visibility: visible;
  -webkit-box-shadow: 0 0 16px 0 rgba(37, 38, 40, 0.08);
          box-shadow: 0 0 16px 0 rgba(37, 38, 40, 0.08);
  border: none;
  border-radius: 12px 12px 0 0;
  background: #fff;
  width: 100%;
  height: 100%;
  overflow: visible;
  overflow-clip-margin: unset;
}
@media (min-width: 768px) {
  .instantMessenger-modal iframe {
    border-radius: 12px;
    width: 400px;
  }
}