html, body, #root {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

html {
  height: 100%;
  height: 100dvh;
}

body {
  background: #e8e8ec;
  position: relative;
  width: 100%;
  /* 键盘弹出时由 Conversation 加 wk-keyboard-open，禁止整页被顶起滑动 */
}

body.wk-keyboard-open {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

#root {
  display: flex;
  justify-content: center;
  overflow: hidden;
  height: 100%;
}

#root > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 0;
}

/**
* =====================================
* 滚动条美化
**/

/* 亮色 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #c4c4c8;
  background-clip: padding-box;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
}

/* 暗色 */
body[theme-mode=dark] ::-webkit-scrollbar-thumb {
  background: #565656;
}

body[theme-mode=dark] ::-webkit-scrollbar-thumb:hover {
  background: #424242;
}

:root {
    --wk-width-max-message: 540px;
}

.wk-message-base {
    width: 100%;
    height: 100%;
    display: flex;
}

.wk-message-base-check-open {

}

.wk-message-base-send, .wk-message-base-recv {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}


.wk-message-base-send {
    align-items: flex-end;
    margin-right: 5px;
}

.wk-message-base-recv {
    margin-left: 15px;
    transform: translate3d(0, 0, 0);
    transition: transform var(--wk-layer-transition);
}

.wk-message-base-check-open .wk-message-base-recv {
    transform: translate3d(30px, 0, 0);
}

.senderName {
    color: rgba(9,30,66,.74);
    font-size: 12px;
    font-weight: 400;
    /* text-transform: capitalize; */
    padding-bottom: 1px;
}

.senderAvatar {
    width: 34px;
    height: 34px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
}

.senderAvatar img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.wk-message-base-box {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.wk-message-base-send .wk-message-base-box {
    flex-direction: row-reverse;
    justify-content: center;
    margin-left: 0px;
    margin-right: 10px;
}

.wk-message-base-send .senderName {
    padding-right: 41px;
}

.wk-message-base-recv .senderName {
    padding-left: 41px;
}

.wk-message-base-send .senderAvatar {
    display: none;
    text-align: center;
}

.wk-message-base-bubble-box {
    display: flex;
    position: relative;
}

.wk-message-base-bubble-box.recv {
    margin-left: 40px;
}

.wk-message-base-bubble {
    color: rgba(9,30,66,.87);
    display: flex;
    /* margin-bottom: 4px; */
    padding: 8px 10px;
    position: relative;
    word-wrap: break-word;
    max-width: 540px;
    max-width: var(--wk-width-max-message);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(114,114,114,0.25098);
    font-size: 15px;
}

.wk-message-base-bubble-box.hide .wk-message-base-bubble {
    padding: 0px;
}

body[theme-mode=dark] .wk-message-base-bubble {
    box-shadow: none;
}

@media screen and (max-width: 640px)  {
    .wk-message-base-bubble {
        max-width: calc(100vw - 80px);
    }
}

.wk-message-base-bubble-box.send .wk-message-base-bubble {
    background-color: #d9e8ff;
    border-radius: 10px;
    color: #111827;
    box-shadow: none;
}

.wk-message-base-bubble-box.recv .wk-message-base-bubble {
    border-radius: 10px;
    background-color: #f2f2f2;
    color: #111827;
    box-shadow: none;
}

body[theme-mode=dark] .wk-message-base-bubble-box.recv .wk-message-base-bubble  {
    color: white;
}

body[theme-mode=dark] .wk-message-base-bubble-box.recv .wk-message-base-bubble {
    background-color: var(--wk-color-secondary);
}

.wk-message-base-bubble-box.send.middle .wk-message-base-bubble,
.wk-message-base-bubble-box.send.first .wk-message-base-bubble,
.wk-message-base-bubble-box.recv.middle .wk-message-base-bubble,
.wk-message-base-bubble-box.recv.first .wk-message-base-bubble,
.wk-message-base-bubble-box.send.last .wk-message-base-bubble,
.wk-message-base-bubble-box.recv.last .wk-message-base-bubble {
    border-radius: 10px;
}

.wk-message-base-bubble-box.hide .wk-message-base-bubble {
    background-color: transparent !important;
    box-shadow: none;
}


.svgAppendix {
    display: none !important;
}


.wk-message-base-bubble-box.last .svgAppendix {
    display: block;
}

.wk-message-base-bubble-box.single .svgAppendix {
    display: block;
}


.wk-message-base-bubble-box.send .svgAppendix {
    right: -0.551rem;
}

.wk-message-base-bubble-box.recv .svgAppendix {
    left: -0.52rem;
}

.wk-message-base-bubble-box.send .svgAppendix .corner {
    fill: #1f2937;
}

.wk-message-base-bubble-box.recv .svgAppendix .corner {
    fill: white;
}


body[theme-mode=dark] .wk-message-base-bubble-box.recv .svgAppendix .corner  {
    fill: var(--wk-color-secondary);
}

/* .wk-message-base-recv .wk-message-base-bubble {
    margin-left: 5px;
    background-color: #bedbf5;
}

.wk-message-base-send .wk-message-base-bubble {
    margin-right: 5px;
    background-color: #fff;
    box-shadow: -1px 1px 1px rgba(0,0,0,.12);
    color: rgba(9,30,66,.87) !important;
    border-radius: 20px 4px 8px 20px;
}*/



.messageNameBox {
    display: flex;
    margin-bottom: 1px;
}

.wk-message-base-send .messageNameBox {
    flex-direction: row-reverse;
    justify-content: end;
}

.wk-message-base-recv .messageNameBox {
    flex-direction: row;
}

/*.messageTime {
    color: rgba(9,30,66,.74);
    font-size: 12px;
    font-weight: 400;
    text-transform: capitalize;
    display: none;
}

.wk-message-base-send:hover .messageTime {
    display: block;
}

.wk-message-base-recv:hover .messageTime {
    display: block;
}

.wk-message-base-recv .messageTime {
    margin-left: 8px;
}

.wk-message-base-send .messageTime {
    margin-right: 8px;
}*/



.wk-message-base-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.popupMenusContaner {
    display: none;
}

.wk-message-base-box:hover .popupMenusContaner {
    display: block;
}


.wk-message-base-checkBox {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translate3d(-10px, 0, 0);
    transition: transform var(--wk-layer-transition);
}

.wk-message-base-check-open {
    cursor: pointer;
}

.wk-message-base-check-open .wk-message-base-checkBox{
    transform: translate3d(25px, 0, 0);
   
}

.wk-message-base-checkBox .wk-check {
    position: absolute;
    bottom: 10px;
}

.wk-message-base-send .checkBox {
    left: auto;
    right: -30px;
}


.wk-message-base-send .wk-message-base-box.checked {
    margin-left: 0;
    margin-right: 30px;
}

.wk-message-base-recv .wk-message-base-box.checked .senderAvatar {
    left: -30px;
}

.replyBox {
    width: 100%;
}

.reply {
    position: relative;
    color: #666;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 12px;
    margin-bottom: 4px;
    max-width: 100%;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

.reply::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    border-radius: 50px;
    background-color: var(--wk-color-theme);
}

.messageMeta {
    position: relative;
    top: 0.375rem;
    bottom: auto !important;
    float: right;
    line-height: 1;
    height: 19px;
    margin-left: 0.4375rem;
    margin-right: -0.2rem;
}

.wk-message-base-bubble-box.send .messageMeta {
    top: 0rem;
}

.messageTime {
    margin-inline-end: 0.1875rem;
    font-size: .75rem;
    white-space: nowrap;
}

.wk-message-base-bubble-box.recv .messageTime {
    color: rgb(104, 108, 114,0.75);
}

.wk-message-base-bubble-box.send .messageTime {
    color: rgba(17, 24, 39, 0.45);
}

.textTitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: calc(1rem - .125rem);
    font-size: calc(var(--message-text-size, 1rem) - .125rem);
    font-weight: 500;
    color: var(--accent-color);
    unicode-bidi: plaintext;
    display: flex;
}

.icon-message-read::before {
    content: "";
    position: absolute;
    bottom: -4px;
    color: rgba(17, 24, 39, 0.35);
}

.icon-message-succeeded::before {
    content: "";
    position: absolute;
    bottom: -4px;
    color: rgba(17, 24, 39, 0.35);
}

.icon-message-pending::before {
    content: "";
    position: absolute;
    bottom: -4px;
    color: rgba(17, 24, 39, 0.35);
}

.messageStatus {
    width: 1.19rem;
    height: 1.19rem;
    overflow: hidden;
    display: inline-block;
    line-height: 1;
    margin-left: -0.1875rem;
    font-size: 1.1875rem;
    position: relative;
}

.messageFail {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6px;
}

/* 微信式：气泡左侧红底感叹号 */
.messageFail img {
    width: 18px;
    height: 18px;
    display: block;
}

.wk-message-error-reason {
    font-size: 13px;
    margin-right: 10px;
    margin-top: 5px;
    color: var(--wk-color-font-tip);
}

.wk-check {
    cursor: pointer;
}


:root {
    --wk-height-viewqueueheader: 50px;
}

.wk-viewqueueheader {
    background-color: var(--wk-color-secondary);
    height: 50px;
    height: var(--wk-height-viewqueueheader);
    width: 100%;
    position: relative;
}

.wk-viewqueueheader-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-viewqueueheader-content-title {
    font-size: 17px;
    font-weight: 500;
    max-width: 200px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

body[theme-mode=dark] .wk-viewqueueheader-content-title {
    color: white;
}

.wk-viewqueueheader-back {
    position: absolute;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0px 15px;
}

.wk-viewqueueheader-back img {
    width: 10px;
    height: 15px;
}

.wk-viewqueueheader-content-action {
    position: absolute;
    right: 15px;
}


.wk-subscrierlist {
    background-color: white;
    width: 100%;
    height: 100%;
    overflow: scroll;
}

.wk-subscrierlist-list-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
}

.wk-subscrierlist-item-name {
    margin-left: 1rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 10rem;
}

.wk-subscrierlist-item-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.wk-subscrierlist-item-desc {
    font-size: 14px;
    color: #666;
}
.wk-avatar {
    width: 50px;
    height: 50px;
    border-radius: 40%;
}

.wk-userselect {
    width: 100%;
    height: 100%;
}

.wk-contactsselect {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.wk-contactsselect-content {
    width: 100%;
    height: calc(100% - var(--wk-height-viewqueueheader));
}

.wk-contactsselect-content-full {
    height: 100%;
}

.wk-contactsselect-confirm {
    position: absolute;
    right: 16px;
    bottom: 24px;
    min-width: 72px;
    height: 36px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: #f5a677;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(245, 166, 119, 0.35);
}

.wk-contactsselect-confirm:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.wk-contactsselect-confirm:not(:disabled):active {
    background: #ef9560;
}

.wk-message-rtc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(280px, 70vw);
  padding: 10px 12px;
  border-radius: 8px;
  background: #e9e9eb;
  color: #111827;
  font-size: 15px;
  line-height: 1.3;
  box-sizing: border-box;
}

.wk-message-rtc-clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.wk-message-rtc-clickable:active {
  filter: brightness(0.96);
}

.wk-message-rtc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.wk-message-rtc-text {
  flex: 1 1;
  min-width: 0;
  white-space: nowrap;
}

.wk-message-rtc .messageMeta {
  margin-left: 4px;
  flex: 0 0 auto;
}

.wk-message-rtc .messageTime {
  color: rgba(17, 24, 39, 0.4);
  font-size: 11px;
}

body[theme-mode="dark"] .wk-message-rtc {
  background: #3a3a3c;
  color: #f3f4f6;
}

body[theme-mode="dark"] .wk-message-rtc-icon svg {
  stroke: #f3f4f6;
}

body[theme-mode="dark"] .wk-message-rtc .messageTime {
  color: rgba(243, 244, 246, 0.45);
}



.wk-message-time-box {
    width: 85%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    display: table;
}

.wk-message-time {
    color: rgba(9,30,66,.74);
    padding: 5px 8px 0;
    white-space: nowrap;
    width: auto;
    font-size: 12px;
    font-weight: 400;
}
body[theme-mode=dark] .wk-message-time  {
    color: #999;
}

.wk-message-time-line1 {
    background-image: linear-gradient(360deg,transparent,rgba(9,30,66,.12));
    background-position: 0 0,0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    top: 13px;
    width: 50%;
    display: table-cell;
    position: relative;
}

.wk-message-time-line2 {
    background-image: linear-gradient(360deg,rgba(9,30,66,.12),transparent);
    background-position: 0 0,0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    top: 13px;
    width: 50%;
    display: table-cell;
    position: relative;
}


.wk-message-split-box {
    width: 85%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    display: table;
}

.wk-message-split-content {
    color: rgba(9,30,66,.74);
    padding: 5px 8px 0;
    white-space: nowrap;
    width: auto;
    font-size: 12px;
    font-weight: 400;
}

.wk-message-split-line1 {
    background-image: linear-gradient(360deg,transparent,rgba(9,30,66,.12));
    background-position: 0 0,0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    top: 13px;
    width: 50%;
    display: table-cell;
    position: relative;
}

.wk-message-split-line2 {
    background-image: linear-gradient(360deg,rgba(9,30,66,.12),transparent);
    background-position: 0 0,0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    top: 13px;
    width: 50%;
    display: table-cell;
    position: relative;
}

.wk-mergeforwardmessagelist {
    width: 100%;
    height: 100%;
}

.wk-mergeforwardmessagelist-content {
    width: 100%;
    height: 100%;
    background-color: var(--wk-color-secondary);
}

.wk-mergeforwardmessagelist-content-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-mergeforwardmessagelist-content-msgs {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.wk-mergeforwardmessagelist-content-msg {
    display: flex;
    width: 100%;
    padding: 15px;
    background-color: var(--wk-color-item);
}

.wk-mergeforwardmessagelist-content-msg-info {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.wk-mergeforwardmessagelist-content-msg-info-first {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0px 15px;

}

.wk-mergeforwardmessagelist-content-msg-info-first-name {
    font-size: 14px;
    color: #999;
}

.wk-mergeforwardmessagelist-content-msg-info-first-time {
    font-size: 12px;
    color: #999;
}

.wk-mergeforwardmessagelist-content-msg-info-second-msgcontent {
    padding: 0px 15px;
    margin-top: 5px;
}


.wk-mergeforwards {
    width: 300px;
    background-color: var(--wk-message-item);
    border-radius: 8px;
    cursor: pointer;
}



.wk-mergeforwards-content {
    padding: 10px 10px 0px 10px;
    color: black;

}

.wk-mergeforwards-content-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--wk-message-color);
}

.wk-mergeforwards-content-items {
    padding-bottom: 5px;
}

.wk-mergeforwards-content-items .wk-mergeforwards-content-item {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #999 !important;
}

.wk-mergeforwards-content-tip {
    display: flex;
    justify-content: space-between;
    color: #999 !important;
    font-size: 13px;
    padding: 2px 0px;
}

.wk-mergeforwards-content-tip p {
    margin-bottom: 0px;
}

.wk-mergeforwards-content-tip p:last-child {
    margin-top: -4px;
}

.wk-mergeforwards-content-line {
    width: 100%;
    background-color: var(--wk-line-color);
    height: 1px;
}

:root {
    --wk-conversation-footer: 56px;
    --wk-height-conversation-replyview: 50px;
    --wk-keyboard-offset: 0px;
}

.wk-conversation {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}


.wk-conversation-hasreply {

}


.wk-conversation-content {
    width: 100%;
    height: calc(100% - 56px - 0px);
    height: calc(100% - var(--wk-conversation-footer) - var(--wk-keyboard-offset, 0px));
    position: relative;
    transition: height 120ms ease-out;
    min-height: 0;
    overflow: hidden;
    background-color: #ffffff;
}

body[theme-mode=dark] .wk-conversation-content {
    background-color: var(--wk-color-secondary-2);
}

.wk-conversation-hasreply .wk-conversation-content {
    height: calc(100% - 56px - 50px - 0px);
    height: calc(100% - var(--wk-conversation-footer) - var(--wk-height-conversation-replyview) - var(--wk-keyboard-offset, 0px));
}


.wk-conversation-messages {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.wk-message-item {
    width: 100%;
    display: flex;
    position: relative;
    
}


.wk-message-item-last {
    margin-bottom: 15px;
}

.wk-conversation-dragover .wk-message-item {
    pointer-events:none;
}

.wk-conversation-footer {
    width: 100%;
    height: auto;
    min-height: 52px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    bottom: 0px;
    bottom: var(--wk-keyboard-offset, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-sizing: content-box;
    transition: bottom 120ms ease-out;
    background: #f0f2f5;
    z-index: 5;
    border-top: 1px solid #e8eaed;
    overflow: visible;
}

/* 高度由 ResizeObserver 写入 --wk-conversation-footer，以下作初始兜底 */
.wk-conversation-plus-open {
    /* kept for class toggle; actual height measured */
}

.wk-conversation-emoji-open {
}



.wk-conversation-footer-content {
    width: 100%;
    height: 100%;
}

.wk-conversation-chattoolbars {
    height: 100%;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
   
}

.wk-conversation-chattoolbars-item {
    cursor: pointer;
}



.wk-conversation-content-fileupload-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    padding: 15px;

}

.wk-conversation-content-fileupload-mask-content {
    width: 100%;
    height: 100%;
    border: 1px dashed #999;
    border-radius: 4px;
    background-color: rgb(255, 255, 255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    padding: 20px;

}

.wk-replyview {
    width: 100%;
    height: 100%;
    display: flex;
}

.wk-replyview-content {
    width: calc(100% - 80px);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-left: 15px;
    color: var(--wk-color-font-tip);
}

.wk-replyview-content-msg {
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-replyview-content-first {
    width: 100%;
    margin-top: 2px;
}

.wk-replyview-content-second {
    margin-top: 2px;
}

.wk-replyview-content-userinfo {
    display: flex;
}

.wk-replyview-content-userinfo-name {
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.wk-conversation-topview {
    transform: translate3d(0, 100%, 0);
    transition: transform var(--wk-layer-transition);
    background-color: white;
}

body[theme-mode=dark] .wk-conversation-topview {
    background-color: var(--wk-color-secondary);
}

.wk-conversation-hasreply .wk-conversation-topview {
    transform: translate3d(0,  0, 0);
    height: 50px;
    height: var(--wk-height-conversation-replyview);
    box-shadow: 0.3rem -0.2rem 0.8rem 0.05rem rgb(114 114 114 / 5%);
    border-left: none;
}

.wk-conversation-hasreply .wk-messageinput-box {
    box-shadow:none;
}

.wk-replyview-close {
    height: 100%;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: var(--wk-line);
    cursor: pointer;
}



.wk-conversation-multiplepanel {
    height: 56px;
    height: var(--wk-conversation-footer);
    background-color: var(--wk-color-secondary);
    width: 100%;
    z-index: 999;
    position: absolute;
    bottom: 0px;
    transform: translate3d(0, calc(100% + env(safe-area-inset-bottom, 0px) + 8px), 0);
    transition: transform var(--wk-layer-transition), visibility 0s linear 0.2s;
    /* 未开启多选时彻底隐藏，避免安全区露出三个白圆按钮 */
    visibility: hidden;
    pointer-events: none;
}

.wk-conversation-multiplepanel-show {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition: transform var(--wk-layer-transition), visibility 0s;
}

.wk-multiplepanel {
    width: 100%;
    height: 100%;
}

.wk-multiplepanel-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-multiplepanel-content-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 60px;
    cursor: pointer;
    
}

.wk-multiplepanel-content-item:first-child {
    margin-left: 0px;
}

.wk-multiplepanel-content-item-icon {
    background-color: var(--wk-color-item);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-multiplepanel-content-item-icon-svg {
    width: 24px;
    height: 24px;
    fill: var(--wk-text-item);
}
.wk-multiplepanel-content-item-title {
    color: var(--wk-text-item);
    font-size: 14px;
    margin-top: 4px;
}

.wk-multiplepanel-close {
    position: absolute;
    top: 20px;
    left: 40px;
    padding: 10px;
    cursor: pointer;
}


.wk-conversationpositionview {
    position: absolute;
    bottom: 1.0rem;
    right: 1.5rem;
}

.wk-conversationpositionview ul {
    margin-bottom: 0px;
}

.wk-conversationpositionview-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
   
    box-shadow: 0 1px 2px rgba(114,114,114,0.25098);
    color: rgba(112,117,121,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: scale(0.5,0.5);
    transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1),opacity .2s ease;
    opacity: 0;
}

.wk-conversationpositionview-item img {
    width: 20px;
    height: 20px;
}

body[theme-mode=dark] .wk-conversationpositionview-item  {
    background-color: var(--wk-color-secondary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}


.wk-conversationpositionview-item.wk-reveale {
    transform: scale(1,1);
    opacity: 1;
    pointer-events: all;
}

.wk-conversationpositionview-item i {
    font-size: 1.75rem;
}

.icon-arrow-down::before {
    content: "";
}

.wk-conversationpositionview-item .wk-conversation-unread-count {
    min-width: 1.5rem;
    height: 1.5rem;
    padding: 0 0.45rem;
    border-radius: 0.75rem;
    font-size: .875rem;
    line-height: 1.5rem;
    font-weight: 400;
    text-align: center;
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    background: red;
    color: #fff;
    pointer-events: none;
}

.wk-conversationpositionview ul li {
    margin-top: 20px;
}

.wk-message-item-reminder {
    animation:wk-message-item-reminder-move 2s;
	-webkit-animation:wk-message-item-reminder-move 2s;
}

@keyframes wk-message-item-reminder-move
	{
	to {background-color:var(--wk-color-theme);}
}

/*Safari 和 Chrome:*/


.mentions {
    margin: 1em 0;
  }
  
  .mentions--singleLine .mentions__control {
    display: inline-block;
    width: 130px;
  }
  .mentions--singleLine .mentions__highlighter {
    padding: 1px;
    border: 2px inset transparent;
  }
  .mentions--singleLine .mentions__input {
    padding: 1px;
    border: 2px inset;
  }
  
  .mentions--multiLine .mentions__control {
    font-family: monospace;
    font-size: 14pt;
  }
  .mentions--multiLine .mentions__highlighter {
    border: 1px solid transparent;
    padding: 9px;
    min-height: 63px;
  }
  .mentions--multiLine .mentions__input {
    border: 1px solid silver;
    padding: 9px;
    outline: 0;
  }
  
  .mentions__suggestions__list {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 10pt;
    /* box-shadow: 15px 0px 15px -15px #eee, -15px 0px 15px -15px #eee; */
  }
  
  .mentions__suggestions__item {
    padding: 5px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  
  .mentions__suggestions__item--focused {
    background-color: #cee4e5;
  }
  
  .mentions__mention {
    position: relative;
    z-index: 1;
    color: var(--wk-color-theme);
    text-shadow: none;
    /* text-shadow: 1px 1px 1px white, 1px -1px 1px white, -1px 1px 1px white,
      -1px -1px 1px white; */
    /* text-decoration: underline; */
    pointer-events: none;
  }
.wk-messageinput-box {
    background: #f5f7f9;
    width: 100%;
    height: auto;
    min-height: 52px;
    position: relative;
    display: flex;
    flex-direction: column;
    border-left: none;
    box-shadow: none;
}

body[theme-mode=dark] .wk-messageinput-box {
    background-color: var(--wk-color-secondary);
}

.wk-messageinput-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
    min-height: 52px;
    background: #f5f7f9;
}

body[theme-mode=dark] .wk-messageinput-row {
    background-color: var(--wk-color-secondary);
}

.wk-messageinput-iconbtn {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border: 1.5px solid #9ca3af;
    border-radius: 50%;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #4b5563;
    -webkit-appearance: none;
    -moz-appearance: none;
         appearance: none;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

body[theme-mode=dark] .wk-messageinput-iconbtn {
    background: var(--wk-color-secondary);
    border-color: #6b7280;
    color: #d1d5db;
}

.wk-messageinput-iconbtn:active {
    background: rgba(0, 0, 0, 0.04);
}

.wk-messageinput-field {
    flex: 1 1;
    min-width: 0;
    background: #ffffff;
    border-radius: 6px;
    min-height: 36px;
    max-height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.wk-messageinput-inputbox {
    height: auto;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.wk-messageinput-input {
    height: 100%;
    width: 100%;
    border: none;
    color: #111827;
    font-size: 16px;
    overflow-y: auto;
    display: inline-block;
    outline: none;
}

body[theme-mode=dark] .wk-messageinput-input {
    color: white;
}

.wk-messageinput-input textarea,
.wk-messageinput-input__input {
    outline: none;
    border: none;
    /* 隐藏滚动条，多行仍可滚动 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.wk-messageinput-input textarea::-webkit-scrollbar,
.wk-messageinput-input__input::-webkit-scrollbar,
.wk-messageinput-field::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
}

.wk-messageinput-input:empty:before {
        content: attr(data-placeholder);
        position: absolute;
        color: #a9a9a9;
}

.wk-messageinput-bar {
    display: none;
}

.wk-messageinput-tabs {
    height: 100%;
    width: 50%;
}

.wk-messageinput-toolbar {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: space-between;
}

.wk-messageinput-actionbox {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.wk-messageinput-actionitem {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wk-messageinput-sendbtn {
    height: 28px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: linear-gradient(180deg,#92a2b1 4.39%,#7b8e9f 94.46%);
    border-radius: 2px;
    cursor: pointer;
}

.wk-messageinput-hasValue {
    background-color: var(--wk-color-theme);
}


.wk-messageinput-member {
    height: 100%;
    width: 100%;
    padding: 0 16px;
    align-items: center;
    box-sizing: border-box;
    display: flex;
}

.wk-messageinput-iconbox {
    margin-right: 8px;
}

.wk-messageinput-icon {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.wk-messageinput-selected {
    color: #fff;
}

.quickReplyPanel {
    position: absolute;
    box-shadow: 1px -1px 12px -2px rgb(0 0 0 / 28%);
    max-height: 400px;
    overflow-x: hidden;
    bottom: 0;
    background-color: white;
    width: 100%;
    border-radius: 4px;
}

    .quickReplyPanel ul {
        margin: 0;
        padding: 0;
    }

        .quickReplyPanel ul li {
            list-style-type: none;
            height: 60px;
            border-bottom: 1px solid rgba(9,30,66,.12);
            cursor: pointer;
        }

.quickReplyItem {
}

    .quickReplyItem :hover {
        background-color: #f4f5f7;
    }


.quickReplySelect {
    background-color: #5d657a !important;
    color: #fff !important;
}

.wk-messageinput-header {
}

.wk-messageinput-reply {
    margin: 10px 10px 0px 10px;
    background-color: #f5f6f7;
    display: flex;
    color: #8f959e;
    align-items: center;
}

.wk-messageinput-closeicon {
    margin: 0px 6px;
    cursor: pointer;
}

.wk-messageinput-replycontent {
    overflow: hidden;
    text-overflow: ellipsis;
    height: 22px;
}

.wk-messageinput-input__control {
    background-color: transparent !important;
    min-height: 36px !important;
    height: auto !important;
    width: 100% !important;
}

.wk-messageinput-input__input {
    min-height: 36px !important;
    max-height: 100px !important;
    padding: 8px 10px !important;
    line-height: 1.35 !important;
    font-size: 16px !important;
    font-family: inherit !important;
    overflow-y: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.wk-messageinput-input__highlighter {
    min-height: 36px !important;
    padding: 8px 10px !important;
    overflow: hidden !important;
}

body[theme-mode=dark]  .wk-messageinput-input__control {
    background-color: transparent !important;
}

.wk-messageinput-input__suggestions {
    background-color: var(--wk-color-item);
}

body[theme-mode=dark] .wk-messageinput-input__input {
    color: white;
}

.wk-messageinput-emojipanel {
    height: 260px;
    background: #f0f2f5;
    border-top: 1px solid #e5e7eb;
    overflow: hidden;
}

body[theme-mode=dark] .wk-messageinput-emojipanel {
    background: var(--wk-color-secondary);
    border-top-color: rgba(255,255,255,0.08);
}

body[theme-mode=dark] .wk-messageinput-field {
    background: var(--wk-color-secondary-2);
}

.wk-image-preview {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 20000;
  margin: 0;
  padding: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: none;
  overscroll-behavior: none;
  box-sizing: border-box;
}

.wk-image-preview-img {
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  transform-origin: center center;
  transition: transform 0.08s linear;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.wk-image-preview-bar {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.wk-image-preview-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 16px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.wk-image-preview-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.wk-image-preview-close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top, 0px));
  right: 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
}

.wk-message-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #e5e7eb;
  cursor: pointer;
  max-width: 48vw;
}

.wk-message-image-thumb {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
  background: #e5e7eb;
}

.wk-message-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #888;
}

body[theme-mode="dark"] .wk-message-image {
  background: #374151;
}

.wk-video-preview {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 20000;
  margin: 0;
  padding: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.wk-video-preview-player {
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  -o-object-fit: contain;
     object-fit: contain;
  background: #000;
}

.wk-video-preview-bar {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.wk-video-preview-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 16px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

.wk-video-preview-btn:disabled {
  opacity: 0.6;
}

.wk-message-video {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  max-width: 52vw;
}

.wk-message-video-cover {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
}

.wk-message-video-poster {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.wk-message-video-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
}

.wk-message-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
}

.wk-message-video-play::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.wk-message-video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
}

.wk-message-video-player {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background: #000;
  border-radius: 6px;
}

.wk-message-file {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  max-width: 260px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.wk-message-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-message-file-icon img {
  width: 28px;
  height: 28px;
  -o-object-fit: contain;
     object-fit: contain;
}

.wk-message-file-meta {
  flex: 1 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wk-message-file-name {
  font-size: 15px;
  color: #111827;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wk-message-file-size {
  font-size: 12px;
  color: rgba(17, 24, 39, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-message-file-save {
  color: #2563eb;
}

body[theme-mode="dark"] .wk-message-file-name {
  color: #e5e7eb;
}

body[theme-mode="dark"] .wk-message-file-size {
  color: rgba(229, 231, 235, 0.5);
}

body[theme-mode="dark"] .wk-message-file-save {
  color: #60a5fa;
}

.wk-plustoolbar {
  width: 100%;
  padding: 16px 20px 22px;
  box-sizing: border-box;
  background: #f5f7f9;
  border-top: 0;
}

.wk-plustoolbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 16px 12px;
  gap: 16px 12px;
}

.wk-plustoolbar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wk-plustoolbar-tile {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.wk-plustoolbar-item:active .wk-plustoolbar-tile {
  background: #f3f4f6;
}

.wk-plustoolbar-label {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

body[theme-mode=dark] .wk-plustoolbar {
  background: var(--wk-color-secondary);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body[theme-mode=dark] .wk-plustoolbar-tile {
  background: var(--wk-color-secondary-2);
}

body[theme-mode=dark] .wk-plustoolbar-label {
  color: #9ca3af;
}


.wk-emojitoolbar {
    padding: 10px;
}


.wk-emojitoolbar img {
    width: 20px;
    height: 20px;
}

.wk-emojitoolbar-emojipanel {
    max-width: 460px;
    height: 372px;
    background-color: var(--wk-color-item);
    position: absolute;
    left: 20px;
    top: calc(-372px - 15px);
    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(114,114,114,0.25098);
    border-radius: 0.75rem;
   
    transition: opacity .2s cubic-bezier(0.2, 0, 0.2, 1),transform .2s cubic-bezier(0.2, 0, 0.2, 1) !important;
    transform-origin: left bottom;
    visibility: hidden;
    z-index: 999;
}

body[theme-mode=dark] .wk-emojitoolbar-emojipanel {
    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(0,0,0,0.85098);
}

.wk-emojitoolbar-emojipanel-show {
    animation: emojiPanelAnimationShow 0.25s;
    -webkit-animation: emojiPanelAnimationShow 0.25s; /* Safari 与 Chrome */
    visibility: visible;
}

.wk-emojitoolbar-emojipanel-hide {
    animation: emojiPanelAnimationHide 0.25s;
    -webkit-animation: emojiPanelAnimationHide 0.25s; /* Safari 与 Chrome */
    visibility: visible;
}

@keyframes emojiPanelAnimationShow {
    from {
        transform: scale(0.5);
    }
    to {
        transform: scale(1);
    }
}

@keyframes emojiPanelAnimationHide {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0);
    }
}

.wk-emojipanel {
    width: 100%;
    height: 100%;
    
}

.wk-emojipanel-tab {
    width: 100%;
    height: 40px;
    background-color: var(--wk-color-secondary);
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;

    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

.wk-emojipanel-content {
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
    overflow-y: auto;
}

.wk-emojipanel-content ul {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    padding: 13px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    margin-left: 8px;
}

.wk-emojipanel-content ul li {
    cursor: pointer;
    padding: 6px 4px;
}

.wk-emojipanel-content ul li img {
    height: 26px;
    width: 26px;
    margin: auto;
    display: block;

    transition:transform .3s;
	-moz-transition:transform .3s;
	-webkit-transition:transform .3s;
	-o-transition:transform .3s;
}

.wk-emojipanel-tab-item {
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wk-emojipanel-tab-item-selected {
    background-color: white;
}

body[theme-mode=dark] .wk-emojipanel-tab-item-selected {
    background-color: var(--wk-color-secondary-2);
}

.wk-emojitoolbar-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top:0px;
    left: 0px;
    z-index: 998;
    cursor: default;
}


.wk-contextmenus {
    position: fixed;
    top: 100px;
    left: 0px;
    background-color: white;
    z-index: 99;

    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(114,114,114,0.25098);
    border-radius: 0.75rem;
    transform: scale(0.5);
    transition: opacity .2s cubic-bezier(0.2, 0, 0.2, 1),transform .2s cubic-bezier(0.2, 0, 0.2, 1) !important;

    visibility: hidden;
    padding: 10px 0px;

    min-width: 80px;
}

body[theme-mode=dark]  .wk-contextmenus {
    background-color: var(--wk-color-secondary);
    box-shadow: 0 0.25rem 0.5rem 0.125rem rgba(0,0,0,0.6);
}

.wk-contextmenus-open {
    transform: scale(1);
    visibility: visible;
}

.wk-contextmenus ul {
    margin-top: 0;
    margin-bottom: 0;
}

.wk-contextmenus li {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

body[theme-mode=dark]  .wk-contextmenus li {
    color: white;
}

.wk-contextmenus li:hover {
    background-color: #eee;
}

body[theme-mode=dark] .wk-contextmenus li:hover {
    background-color: var(--wk-color-secondary-2);
}

.wk-contextmenus-mask {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    visibility: hidden;
    z-index: 98;
}
.wk-group-call-banner {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #eef0f3;
  background: #f0faf4;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #191919;
  box-sizing: border-box;
}

.wk-group-call-banner:active {
  background: #e6f6ec;
}

.wk-group-call-banner-icon {
  flex-shrink: 0;
  display: inline-flex;
}

.wk-group-call-banner-text {
  flex: 1 1;
  min-width: 0;
  font-size: 14px;
  color: #07c160;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-group-call-banner-action {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #07c160;
}

.wk-conversationlist {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 4px 8px 12px;
}

.wk-conversationlist-item {
    height: 72px;
    width: 100%;
    cursor: pointer;
    padding: 0 8px;
    background-color: transparent;
    box-sizing: border-box;
    border-radius: 14px;
    transition: background-color 0.15s ease;
}

.wk-conversationlist-item:hover {
    background-color: #f3f4f6;
}

body[theme-mode=dark] .wk-conversationlist-item  {
    background-color: transparent;
}

body[theme-mode=dark] .wk-conversationlist-item:hover {
    background-color: rgba(255,255,255,0.06);
}

.wk-conversationlist-item-top {
    background-color: #f3f4f6 !important;
}

body[theme-mode=dark] .wk-conversationlist-item-top {
    background-color: rgba(255,255,255,0.06) !important;
}

.wk-conversationlist-item-content {
    display: flex;
    height: 100%;
}

.wk-conversationlist-item-left {
    width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-conversationlist-item-right {
    height: 100%;
    width: calc(100% - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8px;
    padding-left: 2px;
    flex-grow: 1;
    overflow: hidden;
    box-sizing: border-box;
}

.wk-conversationlist-item-avatar-box {
    margin-left: 0;
    position: relative;
}

.wk-conversationlist-item-avatar-box img,
.wk-conversationlist-item-avatar-box .wk-avatar {
    border-radius: 50% !important;
}

.wk-conversationlist-item-right-first-line {
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.wk-conversationlist-item-right-second-line {
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.wk-conversationlist-item-name {
    display: flex;
    width: 100%;
    flex: 1 1;
    align-items: center;
}

.wk-conversationlist-item-name h3 {
    font-size: var(--wk-font-size-title);
    font-weight: var(--wk-font-weight-regular);
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: auto;
    max-width: 80%;
    color: var(--wk-font-primary);
}

body[theme-mode=dark] .wk-conversationlist-item-name h3 {
    color: white;
}

.wk-conversationlist-item-selected .wk-conversationlist-item-name h3,
.wk-conversationlist-item-selected .wk-conversationlist-item-name  {
    color: #111827;
}

body[theme-mode=dark] .wk-conversationlist-item-selected .wk-conversationlist-item-name h3 {
    color: white;
}

.wk-conversationlist-item-time {
    color: var(--wk-font-tip);
    padding-left: 10px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: var(--wk-font-weight-regular);
    line-height: 1;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.wk-conversationlist-item-selected .wk-conversationlist-item-time {
    color: #9ca3af;
}

.wk-conversationlist-item-lastmsg {
    width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--wk-font-secondary);
    overflow: hidden;
    font-size: var(--wk-font-size-tip);
    font-weight: var(--wk-font-weight-regular);
    min-height: 20px;
}

.wk-conversationlist-item-selected .wk-conversationlist-item-lastmsg {
    color: #6b7280;
}

.wk-conversationlist-item-selected {
    background-color: #f3f4f6;
    border-radius: 14px;
}

body[theme-mode=dark] .wk-conversationlist-item-selected {
    background-color: rgba(255,255,255,0.08);
}

.wk-mention {
    color: #ef4444;
}

.wk-reminder {
    color: #ef4444;
}

.wk-onlinestatusbadge {
    background-color: var(--wk-color-item);
    position: absolute;
    padding: 1.5px;
    transform: scale(0.6);
    right: -10px;
    bottom: -5px;
    border-radius: 10px;
}
.wk-onlinestatusbadge-empty.wk-onlinestatusbadge {
    border-radius: 50%;
    right: -1px;
    bottom: -1px;
}

.wk-onlinestatusbadge-content {
    background-color: rgb(238, 249, 233);
    padding: 0px 5px;
    border-radius: 10px;
}
.wk-onlinestatusbadge-content-tip {
    padding: 0px;
    font-size: 14px;
    color: #22c55e;
}

.wk-onlinestatusbadge-empty  .wk-onlinestatusbadge-content {
    background-color: #22c55e;
    border-radius: 50%;
    padding: 0px;
}

.wk-onlinestatusbadge-empty .wk-onlinestatusbadge-content-tip{
    padding: 8px;
}

/* unread badge modern green */
.wk-conversationlist-item .semi-badge-count {
    background: #22c55e !important;
}

.wk-chat {
    width: 100%;
    height: 100%;
}

.wk-chat-content {
    display: flex;
    width: 100%;
    height: 100%;
}

.wk-chat-content-left {
    width: 100%;
    height: 100%;
    border-right: none;
    background: #fff;
}

.wk-chat-cache-hint {
    margin: 0 16px 6px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #92400e;
    background: #fffbeb;
    border-radius: 8px;
    border: 1px solid #fde68a;
}

.wk-chat-cache-hint--connect {
    color: #1e40af;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.wk-chat-list-loading-tip {
    margin: 12px 16px 0;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.wk-chat-list-empty {
    padding: 48px 24px;
    text-align: center;
    color: #374151;
}

.wk-chat-list-empty p {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 500;
}

.wk-chat-list-empty-sub {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #9ca3af !important;
    line-height: 1.5;
}

.wk-chat-list-empty-btn {
    margin-top: 16px;
    border: 0;
    border-radius: 20px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #22c55e;
    cursor: pointer;
}

.wk-chat-search {
    height: var(--wk-height-chat-search);
    width: 100%;
    padding: 8px 16px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
}

.wk-chat-title-bar {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-chat-search-add {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    min-width: 44px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #111827;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease;
}

.wk-chat-search-add:hover {
    background: #e5e7eb;
}

body[theme-mode=dark] .wk-chat-search-add  {
    color: white;
    background: #2a2a2a;
}

.wk-chat-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--wk-font-primary);
    text-align: center;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[theme-mode=dark] .wk-chat-title {
    color: white;
}

.wk-chat-search-bar {
    height: 36px;
    border-radius: 8px;
    background: #f2f3f5;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    cursor: text;
    color: #9ca3af;
    font-size: 14px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    padding: 0 12px;
}

.wk-chat-search-input {
    flex: 1 1;
    min-width: 0;
    height: 36px;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #111827;
}

.wk-chat-search-input::-moz-placeholder {
    color: #9ca3af;
}

.wk-chat-search-input::placeholder {
    color: #9ca3af;
}

body[theme-mode=dark] .wk-chat-search-bar {
    background: var(--wk-color-secondary-2);
    color: #9ca3af;
}

body[theme-mode=dark] .wk-chat-search-input {
    color: #f3f4f6;
}

.wk-chat-conversation-list {
    width: 100%;
    height: calc(100% - var(--wk-height-chat-search));
}

.wk-chat-content-right {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

@media screen and (max-width: 640px)  {
    .wk-chat-content-right {
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        transform: translate3d(0, 0, 0);
        transition: transform var(--wk-layer-transition);
        overflow: hidden;
    }

   .wk-chat-content:not(.wk-conversation-open) .wk-chat-content-right {
        transform: translate3d(100vw, 0, 0);
    }

    .wk-chat-content-left {
        width: 100%;
        overflow: hidden;
    }

    .wk-chat-conversation-header-back {
        display: flex !important;
    }

    .wk-chat-channelsetting {
        width: 100%;
        margin-right: -100%;
    }

    .wk-chat-content-right.wk-chat-channelsetting-open .wk-chat-channelsetting {
        margin-right: 0;
    }
}

.wk-chat-content-chat {
    width: 100%;
    height: 100%;
    transition: width 150ms ease-in-out 0s;
}

.wk-chat-content-right.wk-chat-channelsetting-open .wk-chat-content-chat {
    width: calc(100% - var(--wk-wdith-chat-channelsetting));
}

.wk-chat-conversation {
    width: 100%;
    height: calc(100% - var(--wk-height-chat-conversation-header));
}


.wk-chat-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--wk-color-secondary);
}

.wk-chat-empty img {
    height: 340px;
    transform: scale(1.14);
}

.wk-chat-conversation-header {
    height: var(--wk-height-chat-conversation-header);
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    box-shadow: none;
    border-bottom: 1px solid #ececef;
    z-index: 11;
    padding: 0 8px;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
}

body[theme-mode=dark] .wk-chat-conversation-header {
    background-color: var(--wk-color-secondary);
}

.wk-chat-conversation-header-left {
    display: flex;
    align-items: center;
}

.wk-chat-conversation-header-back {
    width: 40px;
    height: 40px;
    display: none;
    position: relative;
    justify-content: center;
    align-items: center;
}

.wk-chat-conversation-header-back-icon {
    position: absolute;
    /* transform: rotate(-45deg); */
    transform: rotate(180deg);
}

.wk-chat-conversation-header-back-icon::before, .wk-chat-conversation-header-back-icon::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
}

.wk-chat-conversation-header-back-icon::after {
    transform: rotate(-45deg) scaleX(0.75) translate(0, 0.375rem);
}

.wk-chat-conversation-header-back-icon::before {
    transform: rotate(45deg) scaleX(0.75) translate(0, -0.375rem);
}

.wk-chat-conversation-header-back-icon, .wk-chat-conversation-header-back-icon::before, .wk-chat-conversation-header-back-icon::after {
    width: 1.125rem;
    height: 0.125rem;
    border-radius: 0.125rem;
    background-color: rgb(112,117,121);
    transition: transform var(--wk-slide-transition);
}


.wk-chat-conversation-header-channel {
    display: flex;
}

.wk-chat-conversation-header-channel-avatar {
    display: none;
}

.wk-chat-conversation-header-channel-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-chat-conversation-header-channel-info {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 56px;
    right: 56px;
    top: 0;
    bottom: 0;
    pointer-events: none;
}

.wk-chat-conversation-header-channel-info-name {
    margin-left: 0;
    font-size: 17px;
    font-weight: 500;
    color: #191919;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

body[theme-mode=dark] .wk-chat-conversation-header-channel-info-name  {
    color: white;
}

.wk-chat-conversation-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.wk-chat-conversation-header-right {
    display: flex;
    align-items: center;
}

.wk-chat-conversation-header-right  div {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.wk-chat-conversation-header-right div:last-child {
    margin-right: 0px;
}

.wk-chat-conversation-header-setting {
    display: flex;
    align-items: center;
}

.wk-chat-channelsetting {
    pointer-events: auto;
    width: var(--wk-wdith-chat-channelsetting);
    height: 100%;
    transition: margin-right 150ms ease-in-out 0s;
    position: absolute;
    z-index: 99;
    top: 0;
    right: 0;
    border-left: var(--wk-line);
    margin-right: calc( 0px - var(--wk-wdith-chat-channelsetting));
    background-color: var(--wk-color-secondary);

    box-shadow: 0 .25rem .5rem .125rem rgba(114,114,114,0.25098);
    border-left: none;
}


body[theme-mode=dark] .wk-chat-channelsetting  {
    box-shadow: 0 .25rem .5rem .125rem rgba(0,0,0,0.25098);
}



.wk-chat-content-right.wk-chat-channelsetting-open .wk-chat-content-chat {
    width: 100%;
}

.wk-chat-content-right.wk-chat-channelsetting-open .wk-chat-channelsetting {
    margin-right: 0px;
}

.wk-chat-conversation-list-loading {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.wk-chatmenuspopover {
    width: 168px;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.wk-chatmenuspopover ul {
    margin-bottom: 0px;
    width: 100%;
    height: 100%;
    padding: 6px 0;
}

body[theme-mode=dark] .wk-chat-popover {
    background-color: var(--wk-color-secondary);
    color: white;
    --color-popover-bg-default: red
}

.wk-chatmenuspopover li {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px 16px;
}

.wk-chatmenuspopover li:active {
    background: #f5f5f5;
}

.wk-chatmenuspopover li:first-child {
    margin-top: 0px;
}

.wk-chatmenuspopover li img {
    width: 22px;
    height: 22px;
    filter: brightness(0) saturate(100%) invert(55%) sepia(86%) saturate(1486%) hue-rotate(360deg) brightness(101%) contrast(101%);
}

.wk-chatmenuspopover-title {
    margin-left: 12px;
    font-size: 15px;
    color: #191919;
}

.wk-chat-conversation-header-right-item {
    position: relative;
}

.wk-conversation-header-mask {
    background-color: rgb(0,0,0,0.0);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    border-radius: 100%;
}

.wk-conversation-header-mask:hover {
    background-color: rgb(0,0,0,0.1);
}
.wk-sections {
    
}

.wk-section {
  margin-top: 10px;
}

.wk-section:first-child {
  margin-top: 0px;
}

.wk-section-rows {

}

.wk-section-title {
  padding: 5px 15px;
  color: var( --wk-color-font-tip);
  font-size: 13px;
}

.wk-section-row {

}

.wk-section-subtitle {
  padding: 5px 15px;
  color: var( --wk-color-font-tip);
  font-size: 13px;
}


:root {
    --wk-channelsetting-header: 56px;
}

.wk-channelsetting {
    width: 100%;
    height: 100%;
    background-color: var(--wk-color-secondary);
}

.wk-channelsetting-header {
    width: 100%;
    height: 56px;
    height: var(--wk-channelsetting-header);
    padding: 0.5rem 0.8125rem;
    display: flex;
    align-items: center;
}

.wk-channelsetting-close {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

.wk-channelsetting-close:hover {
    background-color: rgb(112,117,121,0.08);
}

.wk-channelsetting-close-icon {
    position: absolute;
    transform: rotate(-45deg);
}

.wk-channelsetting-close-icon,.wk-channelsetting-close-icon::before,.wk-channelsetting-close-icon::after {
    width: 1.125rem;
    height: 0.125rem;
    border-radius: 0.125rem;
    background-color: rgb(112,117,121);
    transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.wk-channelsetting-close-icon::before {
    transform: rotate(90deg);
}

.wk-channelsetting-close-icon::before ,.wk-channelsetting-close-icon::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
}

.wk-state-back {
    transform: rotate(180deg);
}

.wk-state-back::before {
    transform: rotate(45deg) scaleX(0.75) translate(0, -0.375rem);
}

.wk-state-back::after {
    transform: rotate(-45deg) scaleX(0.75) translate(0, 0.375rem);
}




.wk-channelsetting-box {
    width: 100%;
    height: calc(100% - 56px);
    height: calc(100% - var(--wk-channelsetting-header));
    overflow: hidden;
    position: relative;
}

.wk-channelsetting-content {
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-bottom: 40px;
}

.wk-channelsetting-channel-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;

}

.wk-channelsetting-avatar {
    /* 高宽比率 */
    width: 64px;
    height: 64px; 
    position: relative;
}

.wk-channelsetting-avatar img {
    width: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 50%;
}

.wk-channelsetting-name {
    color: #191919;
    color: var(--wk-font-primary, #191919);
    font-size: 20px;
    font-size: var(--wk-font-size-name, 20px);
    font-weight: 500;
    font-weight: var(--wk-font-weight-medium, 500);
    margin-left: 10px;
}


.wk-channelsetting-header-title-box {
    color: #999;
   display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    flex: 1 1;
}

.wk-channelsetting-header-title-box-open {

}

.wk-channelsetting-header-title {
    font-size: 18px;
    font-weight: 500;
    margin-left: 1.375rem;
    color: black;
}

.wk-channelsetting-header-title-box-open .wk-channelsetting-header-title{
    display: none;
}

.wk-channelsetting-header-title-route {
    font-size: 18px;
    font-weight: 500;
    margin-left: 1.375rem;
    color: black;
    position: absolute;

    transform: translate3d(100vw, 0, 0);
    transition: transform var(--wk-layer-transition);
    width: 240px;

}

.wk-channelsetting-header-title-box-open .wk-channelsetting-header-title-route {
    transform: translate3d(0, 0, 0);
}



.wk-channelsetting-route {
    width: 100%;
    height: 100%;
    background-color: var(--wk-color-secondary);
    position: absolute;
    top: 0px;
    overflow: hidden;
    transform: translate3d(100vw, 0, 0);
    transition: transform var(--wk-layer-transition);
}

.wk-channelsetting-route-open {
    transform: translate3d(0, 0, 0);
}

.wk-channelsetting-route-content {
    width: 100%;
    height: 100%;
}

.wk-channelsetting-header-right-view {
    opacity: 0;
    transition: opacity 500ms ease-out;
}

.wk-channelsetting-header-right-view-open {
    opacity: 1;
}

.wk-channelsetting-content-loading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.wk-channelmanage {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.wk-route {
    width: 100%;
    height: 100%;
    --wk-height-route-header: 56px;
}

.wk-route-header {
    width: 100%;
    height: var(--wk-height-route-header);
    padding: 0.5rem 0.8125rem;
    display: flex;
    align-items: center;
    background-color: var(--wk-color-secondary);
}

.wk-route-box {
    width: 100%;
    height: calc(100% - var(--wk-height-route-header));
    position: relative;
}

.wk-route-content {
    width: 100%;
    height: 100%;
    background-color: var(--wk-color-secondary);
    position: relative;
    /* opacity: 1; */
    /* transition: opacity 150ms ease-in 0s; */
}

.wk-route-content-route {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transform: translate3d(100vw, 0, 0);
    transition: transform var(--wk-layer-transition);
}

.wk-route-content-next {
   width: 100%;
   height: 100%;
   background-color: var(--wk-color-secondary);
   overflow: auto;
   /* transition: opacity 350ms ease-in 0s; */
}

.wk-route-header-close {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
}

.wk-route-header-close:hover {
    background-color: rgb(112,117,121,0.08);
}

.wk-route-header-close-icon {
    position: absolute;
    transform: rotate(-45deg);
}

.wk-route-header-close-icon,.wk-route-header-close-icon::before,.wk-route-header-close-icon::after {
    width: 1.125rem;
    height: 0.125rem;
    border-radius: 0.125rem;
    background-color: rgb(112,117,121);
    transition: transform 300ms cubic-bezier(0.25, 1, 0.5, 1);
}

.wk-route-header-close-icon::before {
    transform: rotate(90deg);
}

.wk-route-header-close-icon::before ,.wk-route-header-close-icon::after {
    position: absolute;
    left: 0;
    top: 0;
    content: "";
}


.wk-state-back {
    transform: rotate(180deg);
}

.wk-state-back::before {
    transform: rotate(45deg) scaleX(0.75) translate(0, -0.375rem);
}

.wk-state-back::after {
    transform: rotate(-45deg) scaleX(0.75) translate(0, 0.375rem);
}




.wk-route-header-title-box {
    color: #999;
   display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    flex: 1 1;
}

.wk-route-header-title-box-open {

}

.wk-route-header-title {
    font-size: 17px;
    font-size: var(--wk-font-size-title, 17px);
    font-weight: 400;
    font-weight: var(--wk-font-weight-regular, 400);
    margin-left: 1.375rem;
    color: #191919;
    color: var(--wk-font-primary, #191919);
}

body[theme-mode=dark]  .wk-route-header-title {
    color: white;
}


.wk-route-header-title-box-open .wk-route-header-title{
    display: none;
}

.wk-route-header-title-next {
    font-size: 17px;
    font-size: var(--wk-font-size-title, 17px);
    font-weight: 400;
    font-weight: var(--wk-font-weight-regular, 400);
    margin-left: 1.375rem;
    color: #191919;
    color: var(--wk-font-primary, #191919);
    position: absolute;
    opacity: 0;
    transform: translate3d(100vw, 0, 0);
    transition: transform var(--wk-layer-transition),opacity 500ms ease-in 0s;
    width: 180px;

}

body[theme-mode=dark] .wk-route-header-title-next {
    color: white;
}

.wk-route-header-title-box-open .wk-route-header-title-next {
    transform: translate3d(0, 0, 0);
    opacity:1;
}

.wk-route-content-route-open .wk-route-content {
    /* opacity: 0; */
}

.wk-route-content-route-open .wk-route-content-route {
    transform: translate3d(0, 0, 0);
}

.wk-route-content-route-open .wk-route-content-next {
    /* opacity: 1; */
}


.wk-route-header-right-view {
    opacity: 0;
    transition: opacity 500ms ease-out;
}

.wk-route-header-right-view-open {
    opacity: 1;
}





.wk-viewqueue {
    width: 100%;
    height: 100%;
    position: relative;
}

.wk-viewqueue-route {
    width: 100%;
    height: 100%;
    position: relative;
}

.wk-viewqueue-view{
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: var(--wk-color-secondary);
    transition: transform var(--wk-layer-transition);
    overflow: hidden;
}

.wk-viewqueue-view-in {

    animation: routeAnimationIn 0.25s;
    -webkit-animation: routeAnimationIn 0.25s; /* Safari 与 Chrome */
}

.wk-viewqueue-view-out {
    animation: routeAnimationOut 0.5s;
    -webkit-animation: routeAnimationOut 0.5s; /* Safari 与 Chrome */
}

@keyframes routeAnimationOut {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(100vw, 0, 0);
    }
}

@keyframes routeAnimationIn {
    from {
        transform: translate3d(100vw, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.wk-item-contacts {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;

}

.wk-item-contacts:hover {
    background-color: #f0f0f0; /* Change this color to your desired hover color */
}

body[theme-mode=dark] .wk-item-contacts:hover {
    background-color: #333333; /* Change this color to your desired hover color */
}

.wk-item-contacts-name {
    margin-left: 15px;
    color: var(--wk-text-item);
    font-size: 14px;
    font-weight: 500;
}

body[theme-mode=dark] .wk-item-contacts-name {
    color: white;
}


mark {
    background-color: transparent; /* 移除默认背景色 */
    color: var(--wk-color-theme); /* 设置文本颜色为红色，可以根据需要更改 */
}

.wk-item-group {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
}


body[theme-mode=dark] .wk-item-group:hover {
    background-color: #333333; /* Change this color to your desired hover color */
}

.wk-item-group:hover {
    background-color: #f0f0f0; /* Change this color to your desired hover color */
}

.wk-item-group-name {
    margin-left: 15px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

body[theme-mode=dark] .wk-item-group-name {
    color: white;
}






.wk-item-message {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;

}

.wk-item-message:hover {
    background-color: #f0f0f0; /* Change this color to your desired hover color */
}
body[theme-mode=dark] .wk-item-message:hover {
    background-color: #333333; /* Change this color to your desired hover color */
}

.wk-item-message-content {
    display: grid;
    grid-template-columns: 1fr; /* 两列，左边自适应，右边自动宽度 */
    grid-template-rows: auto auto; /* 两行 */
    grid-gap: 0px;
    gap: 0px; 
    min-width: 200px;
    max-width: 420px;

}

.wk-item-message-name {
    margin-left: 15px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    grid-column: 1 / 2; /* 第一列 */
    grid-row: 1 / 2; /* 第一行 */
}

body[theme-mode=dark] .wk-item-message-name {
    color: white;
}


.wk-item-message-digest {
    margin-left: 15px;
    color: #999;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分以省略号显示 */
}

mark {
    background-color: transparent; /* 移除默认背景色 */
    color: var(--wk-color-theme); /* 设置文本颜色为红色，可以根据需要更改 */
}


.wk-tab-all {
    width: 100%;
    height: 50vh;
    display: flex;
    overflow: auto;
    flex-direction: column;
}

.wk-tab-contacts {
    width: 100%;
    height: 50vh;
    display: flex;
    overflow: auto;
    flex-direction: column;
}


.wk-tab-group {
    width: 100%;
    height: 50vh;
    display: flex;
    overflow: auto;
    flex-direction: column;
}


.wk-item-file-icon {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wk-item-file {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto; /* 两行 */
    grid-gap: 0px;
    gap: 0px;
    padding: 10px;
    border-radius: 4px;
}

.wk-item-file:hover {
    background-color: #f0f0f0; /* Change this color to your desired hover color */
}

body[theme-mode=dark] .wk-item-file:hover {
    background-color: #333333; /* Change this color to your desired hover color */
}


.wk-item-file-icon {
    grid-column: 1 / 2; /* 第一列 */
    grid-row: 1 / 3; /* 第一行 */
}

.wk-item-file-name {
    grid-column: 2 / 3; /* 第二列 */
    grid-row: 1 / 2; /* 第一行 */
    margin-left: 15px;
    color: var(--wk-text-item);
    font-size: 14px;
    font-weight: 500;
}

.wk-item-file-desc {
    grid-row: 2 / 3; /* 第二行 */
    grid-column: 2 / 3; /* 第二列 */
    display: flex;
    margin-left: 15px;
    color: #666;
    font-size: 12px;
    align-items: center;
}

.wk-item-file-line {
    width: 1px;
    height: 8px;
    background-color: #666;
    margin-top: 10px;
    margin-bottom: 10px;
    margin: 4px;
}
.wk-tab-file {
    width: 100%;
    height: 50vh;
    display: flex;
    overflow: auto;
    flex-direction: column;
    cursor: pointer;
}


 :root {
    --wk-color-theme: #111827;
    --wk-color-theme-soft: #22c55e;
    --wk-color-secondary: #ededed;
    --wk-color-secondary-2:  #f7f7f7;
    --wk-color-hover: #f3f4f6;
    /* 字体：对齐微信式详细资料——主色黑、辅色灰、常规字重 */
    --wk-font-primary: #191919;
    --wk-font-secondary: #888888;
    --wk-font-tip: #b2b2b2;
    --wk-font-link: #576b95;
    --wk-font-danger: #fa5151;
    --wk-font-size-base: 16px;
    --wk-font-size-title: 17px;
    --wk-font-size-name: 20px;
    --wk-font-size-sub: 14px;
    --wk-font-size-tip: 13px;
    --wk-font-weight-regular: 400;
    --wk-font-weight-medium: 500;
    /* 提示类型的字体颜色 */
    --wk-color-font-tip: var(--wk-font-secondary);
    --wk-width-layout-content-left: 340px;
    --wk-wdith-conversation-list: var(--wk-width-layout-content-left);
    --wk-height-chat-search: 100px;
    --wk-height-chat-conversation-header: 64px;
    --wk-wdith-chat-channelsetting: 340px;
    --wk-layer-transition: 300ms cubic-bezier(0.33,1,0.68,1);
    --wk-slide-transition: 450ms cubic-bezier(0.25, 1, 0.5, 1);

    --wk-line: 1px solid #e5e5e5;
    --wk-line-color:  #e5e5e5;

    --wk-color-item: white;
    --wk-text-item:  var(--wk-font-primary);

    --wk-message-item: white;
    --wk-message-color: #191919;
  }

  *, *:before, *:after {
    box-sizing: inherit;
  }

  body[theme-mode=dark] {
    --wk-color-secondary: #0F0F0F;
    --wk-color-secondary-2: rgb(33,33,33);
    --wk-line: 1px solid rgb(255,255,255,0.1);
    --wk-line-color: rgb(255,255,255,0.1);
    --wk-color-item: rgb(33,33,33);
    --wk-text-item: white;
    color: white !important;

    --wk-message-item: #0F0F0F;
    --wk-message-color: white;

    --semi-color-primary: #111827;
    --semi-color-primary-hover: rgba(17, 24, 39, 0.7);

  }

  /* ::-webkit-scrollbar-thumb:window-inactive {
    background:rgba(255,0,0,0.4);
  } */

html {
    height: 100%;
    height: 100dvh;
    box-sizing: border-box;
    overflow: hidden;
    overscroll-behavior: none;
}
  
  body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 系统中文优先：贴近图中微信/iOS 细体观感，去掉 Roboto 偏粗显示 */
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
      "Helvetica Neue", "Microsoft YaHei", "Segoe UI", sans-serif;
    font-size: 16px;
    font-size: var(--wk-font-size-base);
    font-weight: 400;
    font-weight: var(--wk-font-weight-regular);
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    background: var( --background-color);
    color: #191919;
    color: var(--wk-font-primary);

    --semi-color-primary: #111827;
  }

  /* 全局去掉粗体：标题最多 medium，正文 regular */
  h1, h2, h3, h4, h5, h6, strong, b {
    font-weight: 500;
    font-weight: var(--wk-font-weight-medium);
  }

  body.wk-keyboard-open {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
  }

  div {
    outline:none; /** 让div没有焦点边框 不加这个 第一次打开Modal会聚焦**/
  }
  
  #root {
    height: 100%;
  }
  
  code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
  }
  
  
  .page {
    width: 100%;
    height: 100%;
    background-color: rgb(236, 239, 243);
  }
  
  .pageContent {
    padding: 0px 40px;
    overflow-y: auto;
  }
  
    .pageContent.space {
        padding-top: 40px;
        width: 100%;
        height: 100%;
    }
  
  @font-face {
    font-family: "icomoon";
    src: url(../../static/media/icomoon.536087723585cc76b849.woff2);
  }
  
  [class^=icon-], [class*=" icon-"] {
    font-family: "icomoon" !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  
  
  ul {
      list-style-type: none;
      margin-block-start: 0px;
      margin-block-end: 0px;
      margin-inline-start: 0px;
      margin-inline-end: 0px;
      padding-inline-start: 0px;
  }
  


  .wk-loading {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 15px 0px;
  }

  .wk-text-oneline {
    display: inline-block;
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body[theme-mode=dark] .semi-badge-count {
    color: white;
  }

.wk-channelqrcode {
    width: 100%;
    height: 100%;
    padding: 15px;
}

.wk-channelqrcode-box {
    width: 100%;
    background-color: var(--wk-color-item);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-direction: column;
}

.wk-channelqrcode-info-avatar {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-channelqrcode-info-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.wk-channelqrcode-qrcode {
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
}

.wk-channelqrcode-expire {
    font-size: 12px;
    color: #666;
    text-align: center;
    padding: 20px 0px;
}

.wk-channelqrcode-info-name {
    text-align: center;
    color: var(--wk-text-item);;
}

.wk-channelqrcode-qrcode-box {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-top: 20px;
}

.wk-channelqrcode-qrcode-mask {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255,0.98);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

body[theme-mode=dark] .wk-channelqrcode-qrcode-mask {
    background-color: rgb(0, 0, 0,0.98);
}

.wk-channelqrcode-qrcode-mask p {
    font-size: 18px;
    margin-bottom: 0px;
    color: #666;
}

.wk-channelqrcode-qrcode-loading {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.wk-inputedit {
    width: 100%;
    height: 50px;
   
}

.wk-inputedit .semi-input-textarea-wrapper {
    background-color: var(--wk-color-item);
}

.wk-inputedit-placeholder {
    font-size: 13px;
    color: #999;
    margin: 5px 0px 0px 5px;
}


.wk-list-item {
    width: 100%;
    padding: 1rem;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    background-color: white;
    justify-content: space-between;
    box-sizing: border-box;
}

body[theme-mode=dark] .wk-list-item {
    background-color: var(--wk-color-secondary-2);
}

.wk-list-item:hover {
    background-color: #eee;
}


.wk-list-item-ripple {
    position: relative;
    overflow: hidden;
}


.wk-list-item-ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #666 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .7s, opacity .5s;
}

.wk-list-item-ripple:active:after {
    transform: scale(0, 0);
    opacity: .7;
    transition: 0s;
}

.wk-list-item-title {
    font-size: var(--wk-font-size-title);
    font-weight: var(--wk-font-weight-regular);
    color: var(--wk-font-primary);
}


body[theme-mode=dark] .wk-list-item-title{
    color: white;
}


.wk-list-item-action {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0;
    margin-left: auto;
}

.wk-list-item-subtitle {
    flex: 1 1;
    margin-left: 20px;
    font-size: var(--wk-font-size-sub);
    font-weight: var(--wk-font-weight-regular);
    color: var(--wk-font-secondary);
    text-align: end;
    word-wrap: break-word;
    word-break: normal;
   
}

.wk-list-item-subtitle-oneline {
    display: inline-block;
    white-space: nowrap; 
    width: 100%; 
    overflow: hidden;
    text-overflow:ellipsis;

   
}

.wk-list-item-subtitle-muliteline {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    white-space:  pre-line;
    word-wrap:break-word;
}

.wk-list-item-arrow {
    margin-right: -10px;
}

.wk-list-item-arrow img{
    width: 9px;
    height: 14px;
}

.wk-list-item-tip {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wk-color-font-tip);
    font-size: 13px;

}

/* 操作类行：蓝链 / 红警告，字重常规 */
.wk-list-item-button-link .wk-list-item-title {
    color: #576b95;
    color: var(--wk-font-link, #576b95);
    font-weight: 400;
    text-align: center;
    width: 100%;
}

.wk-list-item-button-warn .wk-list-item-title {
    color: #fa5151;
    color: var(--wk-font-danger, #fa5151);
    font-weight: 400;
    text-align: center;
    width: 100%;
}


.wk-subscribers {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.wk-subscribers-content {
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
}

.wk-subscribers-item {
    width: 60px;
    height: 80px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
   
}

.wk-subscribers-item img {
    width: 50px;
    height: 50px;
    border-radius: 40%;
}

.wk-subscribers-item-name {
    font-size: 12px;
    color: rgba(9,30,66,.87);
    text-overflow: ellipsis;
    width: 100%;
    height: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    margin-top: 5px;
    line-height: 12px;
}

body[theme-mode=dark] .wk-subscribers-item-name {
    color: white;
}

.wk-subscribers-more {
    font-size: 14px;
    margin-top: 10px;
    color: var(--wk-color-theme);
    cursor: pointer;
    text-align: center;
}




.wk-conversationselect {
    max-height: 600px;
    overflow: hidden;
}

.wk-conversationselect-content {
    display: flex;
    padding: 10px 10px 10px 0px;
    cursor: pointer;
    align-items: center;
}

.wk-conversationselect-content-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    width: 100%;
    background: var(--wk-color-secondary);
    font-weight: 400;
    font-size: 17px;
}

.wk-conversationselect-content-searchBox {
    display: flex;
    align-items: center;
    width: 100%;
    height: 57px;
    padding-left: 20px;
    flex-wrap: wrap;
    overflow: auto;
    max-height: 400px;
}

.wk-conversationselect-content-selectedChannel {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
}

.wk-conversationselect-content-selectedAvatar {
    padding: 2px;
    cursor: pointer;
}


.wk-conversationselect-content-searchContent {
    display: flex;
    min-width: 200px;
    height: 50px;
}

.wk-conversationselect-content-searchContent input {
    flex: 1 1;
    height: 32px;
    font-size: 12px;
    line-height: 18px;
    background-color: transparent;
    color: #1f2329;
    padding: 0;
    outline: none;
    border: none;
    height: 100%;
}

.wk-conversationselect-content-searchIcon {
    display: flex;
    align-items: center;
}

.wk-conversationselect-content-searchInput {
    margin-left: 10px;
    max-width: 100px;
}

.wk-conversationselect-content-box {
    padding: 0px 20px;
    max-height: 400px;
    overflow: auto;
}


.wk-conversationselect-content-header {
    background: var(--wk-color-secondary);
    font-weight: 400;
    font-size: 13px;
    padding: 0 18px;
    line-height: 25px;
}

.wk-conversationselect-content-list {

}

.wk-conversationselect-content-box-data {
    display: flex;
    margin-left: 10px;
}

.wk-conversationselect-content-box-name {
    margin-left: 10px;
    display: flex;
    align-items: center;
}


.wk-conversationselect-footer {
    background: var(--wk-color-secondary);
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wk-conversationselect-okBtn {
    cursor: pointer;
    width: 160px;
    border-radius: 8px;
    height: 40px;
    background-color: var(--wk-color-theme);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}



.wk-userinfo {
    background-color: #f2f3f5;
    position: relative;
    --wk-height-userInfo-footer: 60px;
    --wk-height-userInfo-nav: 44px;
    width: 100%;
    height: 100%;
}


.wk-userInfo-footer {
    width: 100%;
    height: var(--wk-height-userInfo-footer);
    background-color: white;
    position: absolute;
    bottom: 0px;
}

body[theme-mode=dark]  .wk-userInfo-footer {
    background-color: var(--wk-color-secondary);
}

.wk-userinfo-user {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.wk-userinfo-content {
    width: 100%;
    height: calc(100% - var(--wk-height-userInfo-footer));
    overflow: auto;
}

.wk-userinfo-header {
    background: #fff;
    margin-bottom: 10px;
}

.wk-userinfo-user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 0;
    padding: 0 16px 16px;
}

.wk-userinfo-user-avatar {
    margin: 20px auto 12px;
    border-radius: 50%;
    background-color: var(--wk-color-item);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-userinfo-user-avatar  img{
    width: 72px;
    height: 72px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-userinfo-user-info-name {
    font-size: 20px;
    font-weight: 500;
    color: #191919;
    line-height: 1.35;
    text-align: center;
}

.wk-userinfo-user-info-others  ul {
    margin-bottom: 0px;
    margin-top: 8px;
    padding: 0;
    list-style: none;
    text-align: center;
}

.wk-userinfo-user-info-others li {
    color: #8c8c8c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
}

.wk-userinfo-footer-sendbutton {
    width: 100%;
    height: 100%;
    padding: 10px 15px 15px 15px;
}

.wk-userinfo-footer-sendbutton button {
    width: 100%;
    height: 40px;
    font-size: 17px !important;
    font-weight: 400 !important;
}

.wk-userinfo-footer-sendbutton .semi-button-primary,
.wk-userinfo-footer-sendbutton .semi-button {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #576b95 !important;
}

.wk-userinfo-footer-sendbutton .semi-button:hover {
    background: rgba(0, 0, 0, 0.03) !important;
}

.wk-list-item-title[style*="red"],
.wk-userinfo .wk-list-item-title {
    font-weight: 400;
}


.wk-userinfo-sections{
    margin-top: 0;
    background: #fff;
}

.wk-userinfo-sections .wk-section {
    margin-top: 0;
    border-radius: 0;
    box-shadow: none;
}

.wk-userinfo-sections .wk-list-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 16px;
}

.wk-userinfo-loading {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}


.wk-friendapply {
    width: 100%;
    height: 100%;
    background-color:white;
}

body[theme-mode=dark] .wk-friendapply {
    background-color:var(--wk-color-secondary);
}

.wk-friendapply-content {
    padding: 15px;
}

.wk-friendapply-content-tip {
    color: gray;
}

.wk-friendapply-content-message {
    margin-top: 5px;
}
.wk-base {
  width: 100%;
  height: 100%;
}

.wk-base-modal .semi-modal-content {
  border: none !important;
  padding: 0px !important;
}

.wk-base-modal .semi-modal-close {
  display: none;
}

.wk-base-modal .semi-modal-body-wrapper {
  margin: 0px;
}

.wk-base-modal-userinfo .semi-modal-body {
  height: 500px;
}

/* 加入组织 */
.wk-base-modal-join-org .semi-modal-content {
  border: none !important;
  padding: 12px !important;
}
.wk-base-modal-join-org .semi-modal-header {
  margin: 12px !important;
}
.wk-base-modal-join-org .semi-modal-body-wrapper {
  margin: 0px;
}
.wk-base-modal-join-org .semi-modal-body {
  height: 420px;
}

.semi-button.semi-button-primary:focus-visible, .semi-button.semi-button-secondary:focus-visible, .semi-button.semi-button-tertiary:focus-visible, .semi-button.semi-button-warning:focus-visible, .semi-button.semi-button-danger:focus-visible {
  outline: none;
}


.wk-indextable {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.wk-indextable-section-letter {
    padding: 8px 16px 4px;
    font-size: 14px;
    font-weight: 500;
    color: #8c8c8c;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.wk-indextable-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    box-sizing: border-box;
}

body[theme-mode=dark] .wk-indextable-item {
    background-color: var(--wk-color-secondary);
}

.wk-indextable-item:active {
    background-color: #f7f7f7;
}

.wk-indextable-item-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
    display: block;
}

.wk-indextable-item-name {
    margin-left: 12px;
    flex: 1 1;
    min-width: 0;
    font-size: 16px;
    color: #191919;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[theme-mode=dark]  .wk-indextable-item-name {
    color: white;
}

.wk-indextable-checkcircle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #d0d0d0;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
}

.wk-indextable-checkcircle-on {
    border-color: #f5a677;
    background: #f5a677;
}

.wk-indextable-search {
    padding: 10px 12px;
    width: 100%;
    background-color: #f5f5f5;
    box-sizing: border-box;
    z-index: 10;
}

body[theme-mode=dark] .wk-indextable-search  {
    background-color: var(--wk-color-secondary-2);
}

.wk-indextable-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 8px;
}

body[theme-mode=dark] .wk-indextable-search-box  {
    background-color: var(--wk-color-secondary);
}

.wk-indextable-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6px;
}

.wk-indextable-search-input {
    flex: 1 1;
    min-width: 0;
    height: 100%;
}

.wk-indextable-search-input input {
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: 20px;
    background-color: transparent;
    color: #1f2329;
    outline: none;
    border: none;
    padding: 0;
}

body[theme-mode=dark] .wk-indextable-search-input input {
    color: white;
}

.wk-indextable-contacts {
    width: 100%;
    height: calc(100% - 56px);
    overflow-y: auto;
    padding-bottom: 72px;
    box-sizing: border-box;
}

.wk-indextable-indexbar {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 2px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.wk-indextable-indexbar-item {
    font-size: 10px;
    line-height: 14px;
    color: #666;
    padding: 0 4px;
    cursor: pointer;
}

/* 兼容群成员列表等旧用法 */
.wk-indextable-checkbox {
    margin-right: 10px;
}

.wk-indextable-item-index {
    width: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}


.wk-message-card {
    background-color: white;
    width: 300px;
    cursor: pointer;
    border-radius: 8px;
}

body[theme-mode=dark] .wk-message-card {
    background-color: var(--wk-color-secondary);
}


.wk-message-card-content {
    display: flex;
    padding: 10px;
    align-items: center;
}

.wk-message-card-content-name {
    margin-left: 20px;
    color: var(--wk-text-item);

}

.wk-message-card-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px 5px 10px;
} 

.wk-message-card-bottom-flag {
    font-size: 12px;
    color: #999;
}

.wk-message-card-bottom-time {
    position: absolute;
    right: 10px;
    top: -5px;
    color: #999 !important;
}
.wk-join-oraganization {
  background-color: white;
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
}

body[theme-mode=dark] .wk-join-oraganization {
  background-color: var(--wk-color-secondary);
}


.wk-join-oraganization-content {
  display: flex;
  padding: 10px;
  align-items: center;
}

.wk-join-oraganization-content-name {
  margin-left: 20px;
  color: var(--wk-text-item);
}

.wk-join-oraganization-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 10px 5px 10px;
}

.wk-join-oraganization-bottom-flag {
  font-size: 12px;
  color: #999;
}

.wk-join-oraganization-bottom-time {
  position: absolute;
  right: 10px;
  top: -5px;
  color: #999 !important;
}

.wk-message-system {
    padding: 10px 20px;
    width: 85%;
    margin: 0 auto;
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: rgba(9,30,66,.87);
    white-space:  pre-line;
}
body[theme-mode=dark] .wk-message-system  {
    color: #999;
}
.wk-message-text {
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
}

.wk-message-text  pre {
    margin-bottom: 0;
    white-space: pre-wrap; /*css-3*/
    white-space: -moz-pre-wrap; /*Mozilla,since1999*/
    white-space: -pre-wrap; /*Opera4-6*/
    white-space: -o-pre-wrap; /*Opera7*/
    word-wrap: break-word; /*InternetExplorer5.5+*/
    font-family: inherit;
    font-weight: 400;
}

.wk-message-text-send {
    color: #191919;
    color: var(--wk-font-primary, #191919);
}

.wk-message-text-recv {
    color: #191919;
    color: var(--wk-font-primary, #191919);
}

body[theme-mode=dark] .wk-message-text-recv {
    color: white;
}

.wk-message-text-richemoji {

}

.wk-message-text-richemoji img {
    width: 22px;
    height: 22px;
}

.wk-message-text-reply {
    display: flex;
    color: rgba(17, 24, 39, 0.45);
    font-size: 14px;
    flex-direction: column;
    cursor: pointer;
}

.wk-message-text-reply.wk-message-text-reply-recv {
    color: rgba(0, 0, 0, 0.45);
}


.wk-message-text-reply-author {
    display: flex;
    align-items: center;
}

.wk-message-text-reply-authoravatar {
    margin-right: 4px;
}

.wk-message-text-reply-content { 
    width:100%;
	word-break:break-all;
	display:-webkit-box;
	-webkit-line-clamp:1;
	-webkit-box-orient:vertical;
	overflow:hidden;
}

.wk-message-text-content {
    margin: 0;
    word-break: break-word;
    line-height: 1.3125;
    text-align: left;
    text-align: initial;
    display: flow-root;
    unicode-bidi: plaintext;
}
.icon-play::before {
    content: "";
    color: var(--wk-color-theme);
    font-size: 20px;
}

.icon-pause::before {
    content: "";
    font-size: 20px;
    color: var(--wk-color-theme);
}

.voicePlay {
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    display: flex;
}

.wk-message-base-bubble-box.recv .voicePlay {
    background-color: var(--wk-color-secondary-2);
}

.voicePlay .icon-play {
    opacity: 1;
    transform: scale(1);
    transition: opacity .4s,transform .6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.voicePlay .icon-pause {
    opacity: 0;
    transform: scale(0.5);
}

.voicePlay i {
    position: absolute;
}

.voicePlaying .icon-pause {
    opacity: 1;
    transform: scale(1);
    transition: opacity .4s,transform .6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.voicePlaying .icon-play {
    opacity: 0;
    transform: scale(0.5);
}

.mediaLoading {
    position: absolute;
    cursor: pointer;
}

.voiceDownloading .icon-pause {
    opacity: 0;
    transform: scale(0.5);
}

.voiceDownloading .icon-play {
    opacity: 0;
    transform: scale(0.5);
}


.progressSpinner {
    width: auto;
    height: auto;
    background: transparent url(data:image/svg+xml;base64,PHN2ZyAgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIzMTkiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+PHBhdGggZD0iTTU2Mi4yODExNzMgNTEwLjgwMDY4NWwyOTQuOTk2NjY0LTI5My40NjY4MjFjMTMuOTQ5NzEtMTMuODc4MDc5IDE0LjAyMDMxOC0zNi4zNjcyNzkgMC4xNDIyNC01MC4zMTY5ODktMTMuOTEzODk0LTEzLjk4NDUwMy0zNi4zNjcyNzktMTQuMDIwMzE4LTUwLjMxNjk4OS0wLjE0MjI0TDUxMi4wMzQ3OTIgNDYwLjM3NzI3MiAyMTkuNTI4ODU1IDE2Ni45ODIwODJjLTEzLjg0MjI2My0xMy44NzgwNzktMzYuMzY3Mjc5LTEzLjk0OTcxLTUwLjMxNjk4OS0wLjA3MTYzMS0xMy45MTM4OTQgMTMuODc4MDc5LTEzLjk0ODY4NyAzNi40MDMwOTUtMC4wNzE2MzEgNTAuMzUyODA1TDQ2MS41NzY1ODcgNTEwLjU4NzgzNyAxNjYuNzIxMTM5IDgwMy44NzY2MDRjLTEzLjk0OTcxIDEzLjg3ODA3OS0xNC4wMjAzMTggMzYuMzY3Mjc5LTAuMTQyMjQgNTAuMzE2OTg5IDYuOTM5MDM5IDYuOTc0ODU1IDE2LjA4NDMyNyAxMC40OTcwNzUgMjUuMjI5NjE0IDEwLjQ5NzA3NSA5LjA3MzY1NiAwIDE4LjE0ODMzNS0zLjQ1MTYxMiAyNS4wODczNzUtMTAuMzU0ODM1bDI5NC45MjYwNTYtMjkzLjM2MDM5OCAyOTUuMTc0NzIgMjk2LjA2NDk5NmM2LjkzOTAzOSA2Ljk3NDg1NSAxNi4wNDg1MTEgMTAuNDYyMjgzIDI1LjE5Mzc5OSAxMC40NjIyODMgOS4xMDk0NzIgMCAxOC4xODQxNTEtMy40ODc0MjggMjUuMTIzMTktMTAuMzkwNjUxIDEzLjkxMzg5NC0xMy44NzgwNzkgMTMuOTQ5NzEtMzYuMzY3Mjc5IDAuMDcxNjMxLTUwLjMxNjk4OUw1NjIuMjgxMTczIDUxMC44MDA2ODV6IiAgZmlsbD0iIzJmNzBmNSI+PC9wYXRoPjwvc3ZnPg==) no-repeat 49% 49%;
}

.progressSpinner svg {
    display: block;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    animation: 4s linear 0s infinite ProgressSpinnerAnimation;
}

.progressSpinner svg circle {
    transition: stroke-dashoffset .5s;
}

@keyframes ProgressSpinnerAnimation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
} 


.wk-message-voice {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.wk-message-voice-info {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.wk-message-voice-info-status {
    display: flex;
}

.wk-message-voice-info-time {
    display: flex;
    font-size: 14px;
}

.wk-message-voice-info-tail {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.wk-message-voice-waveform {
    position: relative;
    width: 100%;
    height: 100%;
}


.wk-message-voice-lightWavform {
    position: absolute;
    top: 0px;
    left: 0px;
    overflow: hidden;
    transition: width 100ms ease-in-out;
    width: 0%;
}

.wk-message-location {
    cursor: pointer;
}

.wk-message-location-content {
    width: 250px;
    background-color: white;
    border-radius: 4px;
}

body[theme-mode=dark] .wk-message-location-content{
    background-color: var(--wk-color-secondary);
}


.wk-message-location-content-title {
    color: var(--wk-text-item);
    font-size: 16px;
    padding: 5px 5px 0px 5px;
}

.wk-message-location-content-address {
    color: #666;
    font-size: 12px;
    padding: 0px 5px 5px 5px;
}

.wk-message-location-content-locationimg {
    width: 250px;
    height: 100px;
    overflow: hidden;
    background-size: cover;
}


.wk-iconclick {
   padding: 10px;
}

.wk-iconclick  img {
    width: 20px;
    height: 20px;
}
.wk-channelavatar {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 40px;
    flex-direction: column;
}

.wk-channelavatar-avatar {
    width: 200px;
    height: 200px;
    
}

.wk-channelavatar-upload {
    margin-top: 20px;
}



.wk-imagetoolbar {
   
}

.wk-imagetoolbar-content {
    padding: 10px;
}

.wk-imagetoolbar-content-icon  img{
    width: 20px;
    height: 20px;
}

.wk-imagetoolbar-content-icon {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}


.wk-imagedialog {
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-app-region: no-drag;
    z-index: 100;
}

.wk-imagedialog-mask {
    position: absolute;
    background-color: rgba(0,0,0,.3);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.wk-imagedialog-content {
    width: 420px;
    position: relative;
    padding: 28px;
    background: var(--wk-color-item);
    box-shadow: 0 2px 8px 0 rgba(0,0,0,.2);
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
    max-height: 580px;
}

.wk-imagedialog-content-close {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 28px;
    right: 28px;
    font-size: 18px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    line-height: 18px;
}

.wk-imagedialog-content-close svg {
    fill: var(--wk-text-item);
}

.wk-imagedialog-content-title {
    font-size: 16px;
    font-weight: 400;
}

.wk-imagedialog-content-body {
    width: 100%;
    font-size: 14px;
    text-align: center;
    margin-top: 28px;
}

.wk-imagedialog-content-preview {
    box-sizing: border-box;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    border-radius: 4px 4px 4px 4px;
}

.wk-imagedialog-content-previewImg {
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 240px;
    background-size: auto 100%;
    background-position: 50%;
    margin: 0 auto 16px;
}

.wk-imagedialog-content-preview-file {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.wk-imagedialog-content-preview--filecontent {
    flex: 1 1;
    width: 100%;
    height: 78px;
    padding: 12px 0px 12px 20px;
    overflow: hidden;
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    background-color: rgb(247, 247, 247);
}

body[theme-mode=dark] .wk-imagedialog-content-preview--filecontent {
    background-color: var(--wk-color-secondary);
}

.wk-imagedialog-content-preview-file-icon {
    height: 78px;
    width: 78px;
    display: flex;
    align-items: center;
    border-radius: 0px 0px 0px 10px;
}

.wk-imagedialog-content-preview-file-thumbnail {
    width: 48px;
    height: 48px;
    margin: auto 16px auto auto;
}

.wk-imagedialog-content-preview--filecontent-name {
    color: var(--wk-text-item);
    white-space: nowrap;
    overflow-x: hidden;
    text-overflow: ellipsis;
    line-height: normal;
}

.wk-imagedialog-content-preview--filecontent-size {
    font-size: 12px;
    color: var(--wk-color-font-tip);
}

.wk-imagedialog-footer {
    margin-top: 28px;
    justify-content: flex-end;
    display: flex;
}

.wk-imagedialog-footer button{
    background-color: #fff;
    border: 1px solid #dee0e3;
    color: #1f2329;
    border-radius: 4px;
    height: 32px;
    min-width: 100px;
    padding: 0 16px;
    cursor: pointer;
}

.wk-imagedialog-footer-okbtn {
    margin-left: 16px;
    color: white !important;
    border: none !important;
}



.wk-message-system {
    padding: 10px 20px;
    width: 85%;
    margin: 0 auto;
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: rgba(9,30,66,.87);
    white-space:  pre-line;
}
.wk-message-approve {
    margin-left: 10px;
    color: #f65835;
}
body[theme-mode=dark] .wk-message-system  {
    color: #999;
}

.wk-layout {
    --wk-width-layout-tab: 72px;
    --wk-height-layout-tab-min: 58px;
    --wk-layer-transition: 300ms cubic-bezier(0.33,1,0.68,1);
    --wk-slide-transition: 450ms cubic-bezier(0.25, 1, 0.5, 1);

    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    background: #fff;
}

.wk-layout-tab {
    width: var(--wk-width-layout-tab);
    height: 100%;
    flex-shrink: 0;
    z-index: 20;
}

.wk-layout-content {
    width: calc(100% - var(--wk-width-layout-tab));
    height: 100%;
    display: flex;
    flex: 1 1;
    min-width: 0;
    min-height: 0;
}

.wk-layout-content-left {
    width: var(--wk-width-layout-content-left);
    height: 100%;
    flex-shrink: 0;
    border-right: 1px solid #ececef;
    background: #fff;
}

.wk-layout-content-right {
    width: calc(100% - var(--wk-width-layout-content-left));
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    flex: 1 1;
    min-width: 0;
    background: #f7f7f8;
}

/* 移动端：底栏 + 会话盖住列表 */
@media screen and (max-width: 640px)  {
    .wk-layout {
        flex-direction: column-reverse;
    }

    .wk-layout-tab {
        width: 100%;
        height: var(--wk-height-layout-tab-min);
    }

    .wk-layout-tab-hidden {
        display: none;
        height: 0;
        overflow: hidden;
    }

    .wk-layout-content {
        width: 100%;
        height: calc(100% - var(--wk-height-layout-tab-min));
        position: relative;
    }

    .wk-layout-hide-tab .wk-layout-content {
        height: 100%;
    }

    .wk-layout-content-left {
        width: 100%;
        border-right: none;
    }

    .wk-layout-content-right {
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        /* 默认藏到右侧；只有打开会话时盖住列表。旧逻辑默认 translate(0) 会在部分 WebView 整屏白 */
        transform: translate3d(100%, 0, 0);
        pointer-events: none;
        transition: transform var(--wk-layer-transition);
        z-index: 10;
        background: #fff;
    }

   .wk-layout-content.wk-layout-open .wk-layout-content-right {
        transform: translate3d(0, 0, 0);
        pointer-events: auto;
    }
}

.wk-layout-content-right,
.wk-layout-content-left {
    overscroll-behavior-x: contain;
}

.wk-call-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: #4a4a4a;
}

.wk-call-overlay-sheet {
  background: rgba(0, 0, 0, 0.45);
  align-items: flex-end;
}

/* 浮窗模式：不挡整屏，可操作 App 其它区域 */
.wk-call-overlay-float {
  inset: auto;
  width: 0;
  height: 0;
  background: transparent;
  pointer-events: none;
  overflow: visible;
}

.wk-call-minimize-btn {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 10px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.wk-call-minimize-btn:active {
  background: rgba(0, 0, 0, 0.2);
}

.wk-call-float {
  position: fixed;
  z-index: 10001;
  pointer-events: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  touch-action: none;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  animation: wk-call-float-in 0.2s ease-out;
}

.wk-call-float:active {
  cursor: grabbing;
}

@keyframes wk-call-float-in {
  from {
    opacity: 0.5;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.wk-call-float-video {
  width: 108px;
  height: 152px;
}

.wk-call-float-audio {
  width: 88px;
  height: 112px;
}

.wk-call-float-video-el,
.wk-call-float-avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wk-call-float-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.wk-call-float-meta {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  pointer-events: none;
}

.wk-call-float-name {
  font-size: 11px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.wk-call-float-time {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.wk-call-float-hangup {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.35);
  -webkit-tap-highlight-color: transparent;
}

.wk-call-float-hangup .wk-icon-phone-hangup,
.wk-call-float-hangup svg {
  transform: rotate(135deg);
}

.wk-call-picker-sheet {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  animation: wk-call-sheet-up 0.22s ease-out;
}

@keyframes wk-call-sheet-up {
  from {
    transform: translateY(24px);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.wk-call-picker-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 4px auto 14px;
}

.wk-call-picker-title {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  margin-bottom: 10px;
  text-align: center;
}

.wk-call-picker-error {
  margin: 0 4px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
  word-break: break-word;
}

.wk-call-picker-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border: none;
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
}

.wk-call-picker-item:hover,
.wk-call-picker-item:active {
  background: #f3f4f6;
}

.wk-call-picker-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wk-call-picker-item-audio {
  background: #10b981;
}

.wk-call-picker-item-video {
  background: #3b82f6;
}

.wk-call-picker-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wk-call-picker-item-name {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
}

.wk-call-picker-item-desc {
  font-size: 12px;
  color: #9ca3af;
}

.wk-call-picker-cancel {
  width: 100%;
  margin-top: 8px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: #f3f4f6;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.wk-call-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wk-call-stage-bg {
  position: absolute;
  inset: 0;
  background: #4a4a4a;
}

.wk-call-stage-bg-audio {
  background: #4a4a4a;
}

.wk-call-audio-name {
  margin-top: 48px;
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  max-width: 80%;
  word-break: break-word;
}

.wk-call-stage-audio .wk-call-status {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

.wk-call-actions-audio {
  gap: 36px;
}

.wk-call-actions-audio .wk-call-btn-label {
  color: rgba(255, 255, 255, 0.9);
}

.wk-call-stage-bg-video .wk-call-stage-bg-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: blur(18px) brightness(0.45);
  transform: scale(1.12);
}

.wk-call-stage-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 24px calc(48px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.wk-call-avatar-wrap {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
  margin-bottom: 20px;
}

.wk-call-avatar-square {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  margin-top: 28px;
  margin-bottom: 16px;
}

.wk-call-avatar {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wk-call-name {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.wk-call-status {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.wk-call-status-wait {
  margin-top: 36px;
}

.wk-call-wait-spacer {
  flex: 1 1;
  min-height: 24px;
}

.wk-call-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wk-call-actions-row {
  flex-direction: row;
  gap: 20px;
}

.wk-call-actions-video {
  width: 100%;
  max-width: 440px;
  justify-content: space-evenly;
  gap: 4px;
}

.wk-call-actions-video .wk-call-btn {
  width: 48px;
  height: 48px;
}

.wk-call-actions-video .wk-call-btn-hangup {
  width: 56px;
  height: 56px;
}

.wk-call-actions-video .wk-call-btn-label {
  font-size: 11px;
  max-width: 64px;
  text-align: center;
}

.wk-call-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.wk-call-btn-hangup {
  width: 64px;
  height: 64px;
  background: #ef4444;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.35);
}

.wk-call-btn-hangup .wk-icon-phone-hangup,
.wk-call-btn-hangup svg {
  transform: rotate(135deg);
}

.wk-call-btn-soft {
  background: rgba(60, 60, 60, 0.55);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.wk-call-btn-off {
  background: #fff;
}

.wk-call-btn-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.wk-call-btn-accept {
  width: 64px;
  height: 64px;
  background: #10b981;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.wk-call-action-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wk-call-error {
  margin-top: 10px;
  font-size: 12px;
  color: #fda4af;
  text-align: center;
  max-width: 280px;
}

.wk-call-notice {
  margin-top: 10px;
  font-size: 12px;
  color: #fde68a;
  text-align: center;
  max-width: 300px;
  line-height: 1.4;
}

.wk-call-unmute-btn {
  margin-top: 12px;
  border: 0;
  border-radius: 20px;
  padding: 10px 18px;
  background: #22c55e;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.wk-call-unmute-btn:active {
  opacity: 0.88;
}

.wk-call-unmute-fab {
  position: fixed;
  top: calc(52px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10003;
  border: 0;
  border-radius: 18px;
  padding: 10px 16px;
  background: #22c55e;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.wk-call-notice-bar {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10002;
  pointer-events: none;
  max-width: min(92vw, 360px);
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.88);
  color: #fde68a;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.wk-call-remote-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
}

.wk-call-self-fullscreen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 1;
  transform: scaleX(-1);
  background: #111;
}

.wk-call-self-off {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2a2a2a;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}

.wk-call-local-pip {
  position: absolute;
  right: 12px;
  top: 56px;
  width: 112px;
  height: 144px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111;
  z-index: 5;
  cursor: pointer;
}

.wk-call-video-mirror {
  transform: scaleX(-1);
}

.wk-call-video-unmirror {
  transform: none;
}

.wk-call-pip-hint {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 2;
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 11px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.wk-call-local-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scaleX(-1);
}

.wk-call-local-off {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18181b;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.wk-call-name-top {
  margin-top: 8px;
}

.wk-call-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  grid-gap: 4px;
  gap: 4px;
  padding: 4px;
  box-sizing: border-box;
}

.wk-call-grid-many {
  grid-template-columns: 1fr 1fr;
}

.wk-call-grid-cell {
  position: relative;
  background: #111827;
  border-radius: 10px;
  overflow: hidden;
  min-height: 120px;
}

.wk-call-grid-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wk-call-grid-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  background: linear-gradient(145deg, #1f2937, #0f172a);
}

.wk-call-grid-name {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-call-peer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 280px;
  margin: 8px 0 4px;
}

.wk-call-peer-chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  font-size: 12px;
}

.wk-chat-header-call-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111827;
  padding: 0;
}

.wk-chat-header-call-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

body[theme-mode="dark"] .wk-chat-header-call-btn {
  color: #fff;
}


.wk-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 12px;
    box-sizing: border-box;
    background-color: #f2f3f5;
    border-radius: 8px;
}

body[theme-mode=dark] .wk-search-box {
    background-color: var(--wk-color-secondary-2);
}

.wk-search-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: 6px;
}

.wk-search-input {
    flex: 1 1;
    min-width: 0;
    height: 100%;
}

.wk-search-input input {
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: 20px;
    background-color: transparent;
    color: #1f2329;
    padding: 0;
    outline: none;
    border: none;
}

body[theme-mode=dark] .wk-search-input input {
    color: white;
}


.wk-search-input .semi-input-wrapper{
    width: 100%;
    height: 100%;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body[theme-mode=dark] .wk-search-input .semi-input-wrapper {
    background-color: transparent !important;
}

.wk-search-input .semi-input-wrapper-focus,
.wk-search-input .semi-input-wrapper:hover,
.wk-search-input .semi-input-wrapper-focus:active {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.wk-search-input .semi-input {
    background: transparent !important;
    font-size: 14px !important;
}


:root {
    --wk-height-navheader: 52px;
}

.wk-navheader {
    height: 52px;
    height: var(--wk-height-navheader);
    width: 100%;
    background-color: var(--wk-color-secondary);
}

.wk-navheader-content {
    padding: 0 16px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
}

.wk-navheader-content-left {
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 1;
}

.wk-navheader-back {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}

.wk-navheader-back::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-left: 2px solid #111827;
    border-bottom: 2px solid #111827;
    transform: rotate(45deg);
}

@media screen and (max-width: 640px) {
    .wk-navheader-back {
        display: inline-block;
    }
}

.wk-navheader-content-title {
    font-size: 17px;
    font-weight: 500;
    color: #191919;
    color: var(--wk-font-primary, #191919);
    text-align: center;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[theme-mode=dark] .wk-navheader-content-title {
    color: white;
}

.wk-navheader-content-right {
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* 兼容旧类名 */
.wk-navheader-content-left-title {
    font-size: 17px;
    font-weight: 500;
    color: #191919;
    color: var(--wk-font-primary, #191919);
}



.wk-qrcodemy {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wk-qrcodemy-content-qrcodebox {

    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.wk-qrcodemy-content-qrcodeinfo {
    background-color: white;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body[theme-mode=dark] .wk-qrcodemy-content-qrcodeinfo {
    background-color: var(--wk-color-secondary-2);
}

.wk-qrcodemy-content-userinfo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 15px;
}

.wk-qrcodemy-content-userinfo-avatar img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.wk-qrcodemy-content-qrcode {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    width: 250px;
    height: 250px;
}

.wk-qrcodemy-content-tip {
    font-size: 13px;
    text-align: center;
    color: #999;
    margin: 15px 0px;
}

.wk-qrcodemy-content-userinfo-name {
    font-size: 15px;
    font-weight: 500;
}

body[theme-mode=dark]  .wk-qrcodemy-content-userinfo-name {
    color: white;
}

.wk-iconlistitem {
    background-color: white;
    height: 70px;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.wk-iconlistitem-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0px 20px;
}

.wk-iconlistitem-content-icon img {
    width: 32px;
    height: 32px;
}

.wk-iconlistitem-content-title {
    font-size: 17px;
    font-size: var(--wk-font-size-title, 17px);
    font-weight: 400;
    margin-left: 15px;
    color: #191919;
    color: var(--wk-font-primary, #191919);
}

body[theme-mode=dark] .wk-iconlistitem-content-title {
    color: white;
}

.wk-iconlistitem-content-badge {
    position: absolute;
    right: 15px;
}
.wk-meinfo {
    background-color: #f2f3f5;
    position: relative;
    width: 100%;
    height: 100%;
}

.wk-meinfo-sections {
    padding: 10px 0 28px;
    box-sizing: border-box;
}

.wk-meinfo .wk-section {
    margin-top: 0;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.wk-meinfo .wk-section + .wk-section {
    margin-top: 10px;
}

.wk-meinfo .wk-channelsetting-section-rows,
.wk-meinfo .wk-section-rows {
    background: transparent;
}

.wk-meinfo .wk-list-item {
    background-color: transparent;
    padding: 16px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.wk-meinfo .wk-section .wk-list-item:last-child {
    border-bottom: 0;
}

.wk-meinfo .wk-list-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.wk-meinfo .wk-list-item-subtitle {
    color: #191919;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.wk-meinfo .wk-list-item-title {
    font-size: 16px;
    color: #191919;
}

.wk-meinfo .wk-list-item-clickable::after,
.wk-meinfo .wk-list-item-avatar::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #c8c8c8;
    border-bottom: 2px solid #c8c8c8;
    transform: rotate(-45deg);
    flex-shrink: 0;
    margin-left: 8px;
}

.wk-meinfo .wk-list-item-static {
    cursor: default;
}

.wk-meinfo .wk-list-item-static:hover {
    background-color: transparent;
}

body[theme-mode=dark] .wk-meinfo .wk-section {
    background: var(--wk-color-secondary-2);
}

body[theme-mode=dark] .wk-meinfo .wk-list-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
}


.wk-smalltableedit {
    overflow-y: auto;
    width: 100%;
    height: 100%;
}

.wk-smalltableedit-content-item{
    display: flex;
    padding: 5px 15px;
    background-color: var(--wk-color-item);
}

.wk-smalltableedit-content-item-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}


.wk-smalltableedit-content-item-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.wk-smalltableedit-content-item-name {
    margin-left: 15px;
    max-width: 200px;
    line-height: 40px;
    color: var(--wk-text-item);
   
}

.wk-smalltableedit-content-item-action {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}


.wk-blacklist {

}

.wk-blacklist-content ul li {
    height: 80px;
    width: 100%;
    background-color: var(--wk-color-item);
    display: flex;
    align-items: center;
    cursor: pointer;
}


.wk-blacklist-content-avatar {
    margin-left: 15px;
}

.wk-blacklist-content-avatar img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.wk-blacklist-content-title {
    margin-left: 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--wk-text-item);
}
.wk-friendadd .wk-search-box {
  border-radius: 0px;
  background-color: white;
}

.wk-friendadd .wk-search-input {
  max-width: 100%;
}

.wk-friendadd .wk-search-input input {
  width: 250px;
}

.wk-friendadd-content-qrcode {
  margin-top: 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[theme-mode="dark"] .wk-friendadd-content-qrcode {
  color: white;
}

.wk-friendadd-content-qrcode img {
  margin-left: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.wk-friendadd-search-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 16px auto 0;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #22c55e;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}



.wk-groupsave {
    width: 100%;
    height: 100%;
    border-right: var(--wk-line);
}

.wk-groupsave-content {
    height: calc(100% - var( --wk-height-viewqueueheader));
    width: 100%;
}

.wk-groupsave-content li {
    height: 80px;
    background-color: var(--wk-color-item);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wk-groupsave-content-avatar {
    margin-left: 15px;
}

.wk-groupsave-content-avatar img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.wk-groupsave-content-title {
    margin-left: 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--wk-text-item);
}


.wk-newfriend {
    width: 100%;
    height: 100%;
    border-right: var(--wk-line);
}

.wk-newfriend-content {
    height: calc(100% - var( --wk-height-viewqueueheader));
    width: 100%;
    overflow-y: auto;
}

.wk-newfriend-content  li {
    display: flex;
    width: 100%;
    height: 80px;
    background-color: var(--wk-color-item);
    align-items: center;
}


.wk-newfriend-content-avatar {
   margin-left: 15px;
}

.wk-newfriend-content-avatar img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.wk-newfriend-content-title {
    margin-left: 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--wk-text-item);
}

.wk-newfriend-content-title-remark {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.wk-newfriend-content-action {
    margin-right: 10px;
    margin-left: auto;
}

.wk-contacts {
    width: 100%;
    height: 100%;
    --wk-height-contacts-content-header: 52px;
    border-right: none;
    background: #fff;
    position: relative;
}

.wk-contacts-content-header {
    width: 100%;
    padding: 8px 12px 10px;
    background-color: #fff;
    box-sizing: border-box;
}

.wk-contacts-content {
    width: 100%;
    height: calc(100% - var(--wk-height-navheader));
    overflow: auto;
    position: relative;
}

.wk-contacts-content-contacts {
    width: 100%;
    padding-bottom: 24px;
}

.wk-contacts-section-list {
    padding: 0;
    background-color: #fff;
}

.wk-contacts-section-letter {
    padding: 4px 16px;
    font-size: 13px;
    color: #8c8c8c;
    background: #f5f5f5;
}

.wk-contacts-section-item-index {
    display: none;
}

.wk-contacts-section-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

body[theme-mode=dark] .wk-contacts-section-item  {
    background-color: var(--wk-color-secondary-2);
}

.wk-contacts-section-item-selected {
    background-color: #f5f5f5;
    color: inherit;
    border-radius: 0;
}

.wk-contacts-section-item-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-contacts-section-item-name {
    margin-left: 12px;
    font-size: 16px;
    color: #191919;
}

body[theme-mode=dark] .wk-contacts-section-item-name {
    color: white;
}

.wk-contacts-content-fnc {
    width: 100%;
    border-bottom: 8px solid #f5f5f5;
}

.wk-contacts-content-header .wk-search-box{
    background-color: #f2f3f5;
    width: 100%;
    height: 36px;
    border-radius: 8px;
}

.wk-contacts-count {
    text-align: center;
    padding: 18px 0 28px;
    font-size: 13px;
    color: #8c8c8c;
}

.wk-contacts-indexbar {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 2px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}

.wk-contacts-indexbar-item {
    font-size: 10px;
    line-height: 14px;
    color: #666;
    padding: 0 4px;
    cursor: pointer;
}

.wk-contacts .wk-iconlistitem {
    height: 58px;
    border-bottom: 1px solid #f0f0f0;
}

.wk-contacts .wk-iconlistitem-content-icon img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.wk-nearby {
  width: 100%;
  height: 100%;
  background: #f5f6f8;
}

.wk-nearby-body {
  height: calc(100% - 50px);
  overflow: auto;
}

.wk-nearby-hint {
  padding: 10px 16px 6px;
  font-size: 12px;
  color: #9ca3af;
}

.wk-nearby-loading,
.wk-nearby-empty {
  padding: 48px 16px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

.wk-nearby-list {
  list-style: none;
  margin: 0;
  padding: 0 10px 20px;
}

.wk-nearby-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.wk-nearby-item:active {
  background: #f3f4f6;
}

.wk-nearby-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  -o-object-fit: cover;
     object-fit: cover;
  background: #e5e7eb;
}

.wk-nearby-meta {
  flex: 1 1;
  min-width: 0;
}

.wk-nearby-name {
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-nearby-dist {
  margin-top: 4px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

.wk-main-modal-organizational-group-new .semi-modal-body-wrapper {
  margin: 0;
}
.wk-main-modal-organizational-group-new .semi-modal-close {
  display: none;
}
.wk-main-modal-organizational-group-new .semi-modal-body {
  height: 500px;
  display: flex;
}
.wk-main-modal-organizational-group-new .semi-modal-content {
  border: none !important;
  padding: 0px !important;
}

.wk-organizational-group-new-left {
  width: 50%;
  height: 100%;
  background-color: var(--wk-color-secondary);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.wk-organizational-group-new-left .group-new-left-main {
  flex: 1 1 auto;
  overflow-y: auto;
}

.wk-organizational-group-new-left .group-new-left-search {
  margin-bottom: 12px;
}
.wk-organizational-group-new-left
  .group-new-left-search
  .group-new-left-search-input.semi-input-wrapper-focus {
  border: var(--wk-color-theme) solid 1px;
}
.wk-organizational-group-new-left
  .group-new-left-search
  .group-new-left-search-input.semi-input-wrapper-focus:active {
  border: var(--wk-color-theme) solid 1px;
}
/* 好友选择 */
.group-new-left-main .friend-opt .organization-name {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  color: var(--semi-color-text-0);
  cursor: pointer;
}
.group-new-left-main .friend-opt .organization-name:hover {
  background-color: var(--semi-color-fill-0);
}
.group-new-left-main .friend-opt .friend-opt-main .friend-opt-item {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--semi-color-text-0);
  row-gap: 0;
}
.group-new-left-main .friend-opt .friend-opt-main .friend-opt-item:hover {
  background-color: var(--semi-color-fill-0);
}

/* 组织架构选择 */
.group-new-left-main .organizational-opt {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.group-new-left-main .organizational-opt-header {
  height: 44px;
  margin-bottom: 12px;
  border-radius: 4px;
}
.group-new-left-main .organizational-opt-header .wk-viewqueueheader {
  background-color: var(--semi-color-fill-0);
  height: 100%;
}
.group-new-left-main .organizational-opt-main {
  flex: 1 1 auto;
  overflow-y: auto;
}
.organizational-tree {
  width: 100%;
  height: 100%;
}
.organizational-tree .semi-input-wrapper-focus {
  border: var(--wk-color-theme) solid 1px;
}
.organizational-tree .semi-input-wrapper-focus:active {
  border: var(--wk-color-theme) solid 1px;
}
.organizational-tree .semi-tree-option-list {
  padding-top: 0;
  flex: 1 1 auto;
  overflow-y: auto;
}
.organizational-tree .semi-tree-option-list li.semi-tree-option {
  box-sizing: border-box;
  padding-top: 12px;
  padding-bottom: 12px;
}

.semi-checkbox:hover .semi-checkbox-inner-display {
  background: var(--semi-color-fill-0);
  box-shadow: inset 0 0 0 1px var(--wk-color-theme);
}

.semi-checkbox:hover .semi-checkbox-inner-checked .semi-checkbox-inner-display {
  background: var(--wk-color-theme);
  border-color: var(--wk-color-theme);
  color: var(--semi-color-white);
}

.organizational-tree .semi-tree-option-list-block .department-icon {
  color: var(--wk-color-theme);
}
.organizational-tree
  .semi-tree-option-list-block
  .semi-tree-option-selected
  .department-icon {
  color: #fff;
}

.organizational-tree .semi-tree-option-list-block .semi-tree-option-selected {
  background-color: var(--wk-color-theme);
  color: #fff;
}

.organizational-tree
  .semi-tree-option-list-block
  .semi-tree-option-selected:hover {
  background-color: var(--wk-color-theme);
  color: #fff;
}

.organizational-tree
  .semi-tree-option-list-block
  .semi-tree-option-selected
  .semi-tree-option-expand-icon {
  color: #fff;
}

.wk-organizational-group-new-right {
  width: 50%;
  height: 100%;
  background-color: var(--wk-color-item);
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.wk-organizational-group-new-right .organizational-group-new-right-title {
  font-size: 15px;
  font-weight: 400;
}
.wk-organizational-group-new-right .organizational-group-new-right-body {
  flex: 1 1 auto;
  overflow-y: auto;
  margin: 12px 0;
}
.wk-organizational-group-new-right
  .organizational-group-new-right-body
  .opt-personnel-item {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  word-break: break-word;
  color: var(--semi-color-text-0);
}

.wk-organizational-group-new-right
  .organizational-group-new-right-body
  .opt-personnel-item
  .user-info {
  display: flex;
  align-items: center;
}

.wk-organizational-group-new-right
  .organizational-group-new-right-body
  .opt-personnel-item
  .close-icon {
  display: flex;
  align-items: center;
}

.wk-organizational-group-new-right
  .organizational-group-new-right-body
  .opt-personnel-item
  .close-icon
  .semi-icon {
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-organizational-group-new-right
  .organizational-group-new-right-body
  .opt-personnel-item
  .close-icon
  .semi-icon:hover {
  background-color: rgb(112, 117, 121, 0.08);
}

.wk-organizational-group-new-right .organizational-group-new-right-footer {
  display: flex;
  justify-content: flex-end;
}

.wk-but-ok:hover {
  background-color: var(--wk-color-theme) !important;
}

#root {
  width: 100%;
  height: 100%;
}

.App {
  text-align: center;
}

.App-logo {
  height: 40vmin;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .App-logo {
    animation: App-logo-spin infinite 20s linear;
  }
}

.App-header {
  background-color: #282c34;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: calc(10px + 2vmin);
  color: white;
}

.App-link {
  color: #61dafb;
}

@keyframes App-logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.wk-network-bar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 10050;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px;
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
    pointer-events: none;
}

.wk-network-bar--offline {
    color: #7f1d1d;
    background: #fef2f2;
    border-bottom: 1px solid #fecaca;
}

.wk-network-bar--online {
    color: #14532d;
    background: #ecfdf5;
    border-bottom: 1px solid #bbf7d0;
}

:root {
  --sider-width: 72px;
}

.wk-main {
    width: 100%;
    height: 100%;
    display: flex;
}

.wk-main-content {
    width: calc(100% - 72px);
    width: calc(100% - var(--sider-width));
    height: 100%;
    background-color: white;
}

.wk-app-shell {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.wk-chat-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: #f7f7f8;
}

.wk-chat-empty-card {
    text-align: center;
    color: #6b7280;
}

.wk-chat-empty-title {
    font-size: 18px;
    font-weight: 400;
    color: #111827;
    margin-bottom: 8px;
}

.wk-chat-empty-desc {
    font-size: 14px;
}

/* 移动端：居中手机框观感可选，铺满更实用 */
@media screen and (max-width: 640px) {
    .wk-app-shell {
        max-width: 100%;
    }
}

.wk-main-tab {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    position: relative;
    border-top: 1px solid #ececef;
}

.wk-main-tab-content {
    width: 100%;
    height: 100%;
}

.wk-main-tab-content ul {
    margin-bottom: 0;
    padding: 0 8px;
    display: flex;
    width: 100%;
    height: 100%;
    list-style: none;
    box-sizing: border-box;
}

.wk-main-tab-content ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1 1;
    cursor: pointer;
    gap: 2px;
    color: #9ca3af;
    -webkit-user-select: none;
            user-select: none;
}

.wk-main-tab-content ul li.wk-main-tab-item-active {
    color: #111827;
}

.wk-main-tab-item-icon {
    position: relative;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-main-tab-item-icon img {
    width: 28px;
    height: 28px;
}

.wk-main-tab-me-avatar {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50%;
    object-fit: cover;
}

.wk-main-tab-item-title {
    font-size: 11px;
    line-height: 14px;
    font-weight: 500;
}

.wk-main-tab-item-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    z-index: 2;
}

.wk-main-tab-meinfo .semi-modal-content {
    border-radius: 0;
    height: calc(100vh - 56px);
    max-height: calc(100% - 0px);
}

.wk-main-tab-meinfo .semi-modal-body {
    padding: 0;
    height: 100%;
}

.wk-main-sider {
    width: 72px;
    width: var(--sider-width, 72px);
    height: 100%;
    background-color: #fafafa;
    border-right: 1px solid #ececef;
}

.wk-main-sider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
    padding: 16px 0 20px;
    box-sizing: border-box;
}

.wk-main-sider-logo {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
    cursor: default;
}

.wk-main-sider-avatar {
    margin-top: auto;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.wk-main-sider-avatar img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #e5e7eb;
}

.wk-main-sider-item {
    width: 44px;
    height: 44px;
    margin-top: 8px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #9ca3af;
    transition: background 0.15s ease, color 0.15s ease;
}

.wk-main-sider-item:hover {
    background: #f3f4f6;
}

.wk-main-sider-item-active {
    background: #ececef !important;
    color: #111827;
}

.wk-main-sider-item img{
    width: 24px;
    height: 24px;
}

.wk-main-sider-setting-box {
    margin-top: 16px;
    margin-bottom: 12px;
    position: relative;
}

.wk-main-sider-setting {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 12px;
}

.wk-main-sider-setting:hover {
    background: #f3f4f6;
}

.wk-sider-setting-position-re {
    position: relative;
}

.wk-icon-bar {
    width: 18px;
    height: 2px;
    margin: 3px 0;
    background-color: #9ca3af;
    border-radius: 2px;
}

.wk-icon-bar:nth-child(2n-1) {
    transform: rotateZ(0deg);
    transition: background-color 0.2s, transform 0.2s;
}

.wk-main-sider-setting.collapsed .wk-icon-bar:nth-child(1) {
    top: 5px;
    transform: rotateZ(45deg);
}

.wk-main-sider-setting.collapsed .wk-icon-bar:nth-child(2) {
   background-color: transparent;
}

.wk-main-sider-setting.collapsed .wk-icon-bar:nth-child(3) {
    top: -5px;
    transform: rotateZ(-45deg);
}

.wk-sider-setting-list {
    position: absolute;
    left: calc(72px + 8px);
    left: calc(var(--sider-width, 72px) + 8px);
    bottom: 12px;
    z-index: 30;
    width: 168px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    color: #111827;
    background-color: #fff;
    border: 1px solid #ececef;
    border-radius: 12px;
    transform: scale(0);
    transition: opacity .2s cubic-bezier(.2,0,.2,1),transform .2s cubic-bezier(.2,0,.2,1)!important;
    transform-origin: left bottom;
    overflow: hidden;
}

.wk-sider-setting-list.open {
    transform: scale(1);
}

.wk-sider-setting-list li {
    height: 44px;
    display: flex;
    align-items: center;
    padding-left: 16px;
    cursor: pointer;
    font-size: 13px;
}

.wk-sider-setting-list li:hover {
    background: #f3f4f6;
}

.wk-main-sider-item-badge {
    position: absolute;
    top: 2px;
    right: 2px;
}

.wk-versioncheckview-updateinfo {
    font-weight: 500;
}

.wk-versioncheckview-updateinfo  li {
    margin-bottom: 10px;
}

.wk-versioncheckview-tip {
    border-top: var(--wk-line);
}

.wk-versioncheckview-tip-title {
    margin-top: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.wk-versioncheckview-tip-content {
    margin-bottom: 40px;
}

.wk-versioncheckview-tip-content li {
    margin-bottom: 10px;
}

.wk-main-sider-setting-badge {
    position: absolute;
    right: 8px;
    top: 4px;
}

.wk-main-sider-modal .semi-modal-content  {
    border: none !important;
    padding: 0px !important;
  }

  .wk-main-sider-modal .semi-modal-close {
      display: none;
  }

  .wk-main-sider-modal .semi-modal-body-wrapper {
      margin: 0px;
  }

  .wk-main-sider-meinfo .semi-modal-body {
    height: 500px;
  }

.wk-me {
  width: 100%;
  height: 100%;
  background: #f2f3f5;
}

.wk-me > .wk-navmainheader {
  display: none;
}

.wk-me-body {
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px 28px;
  box-sizing: border-box;
}

.wk-me-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 20px;
}

.wk-me-hero-main {
  flex: 1 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.wk-me-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
  flex-shrink: 0;
}

.wk-me-hero-meta {
  flex: 1 1;
  min-width: 0;
}

.wk-me-hero-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wk-me-hero-name {
  font-size: 20px;
  font-weight: 600;
  color: #191919;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-me-hero-edit {
  display: inline-flex;
  flex-shrink: 0;
}

.wk-me-hero-id {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #8c8c8c;
}

.wk-me-hero-qr {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.wk-me-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wk-me-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.wk-me-row:active {
  background: #f7f7f7;
}

.wk-me-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wk-me-row-title {
  flex: 1 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
  color: #191919;
}

.wk-me-row-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #c8c8c8;
  border-bottom: 2px solid #c8c8c8;
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-right: 2px;
}

.wk-me-logout {
  margin-top: 24px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.wk-me-sub {
  width: 100%;
  height: 100%;
  background: #f2f3f5;
  display: flex;
  flex-direction: column;
}

.wk-me-sub-body {
  flex: 1 1;
  overflow: auto;
  padding: 12px;
  box-sizing: border-box;
}

.wk-me-settings-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 28px;
}

.wk-me-settings-card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  cursor: default;
  text-align: left;
  box-sizing: border-box;
  font: inherit;
  color: inherit;
}

button.wk-me-settings-card {
  cursor: pointer;
}

button.wk-me-settings-card:active {
  background: #f7f7f7;
}

.wk-me-settings-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.wk-me-settings-value {
  font-size: 14px;
  color: #8c8c8c;
  max-width: 56vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-me-sub-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.wk-me-sub-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.wk-me-sub-row:last-child {
  border-bottom: 0;
}

.wk-me-sub-row-static {
  cursor: default;
}

.wk-me-sub-row-title {
  font-size: 16px;
  color: #191919;
  font-weight: 400;
}

.wk-me-sub-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid #c8c8c8;
  border-bottom: 2px solid #c8c8c8;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.wk-me-sub-loading,
.wk-me-sub-empty {
  padding: 48px 16px;
  text-align: center;
  color: #8c8c8c;
  font-size: 14px;
}

.wk-me-about {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 48px;
}

.wk-me-about-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.wk-me-about-name {
  margin-top: 16px;
  font-size: 20px;
  color: #191919;
}

.wk-me-about-ver {
  margin-top: 6px;
  font-size: 13px;
  color: #8c8c8c;
}

.wk-me-about-desc {
  margin-top: 24px;
  font-size: 14px;
  color: #666;
}

.wk-me-invite {
  padding: 20px 16px;
}

.wk-me-invite-tip {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.wk-me-invite-link {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #f7f8fa;
  font-size: 13px;
  color: #333;
  word-break: break-all;
}

.wk-me-invite-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.wk-me-invite-btn {
  flex: 1 1;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  font-size: 15px;
  cursor: pointer;
}

.wk-me-invite-btn.primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.wk-me-invite-qr-entry {
  margin-top: 14px;
  width: 100%;
  height: 42px;
  border: 0;
  background: transparent;
  color: #3b82f6;
  font-size: 14px;
  cursor: pointer;
}

.wk-me-fav-item {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.wk-me-fav-item:last-child {
  border-bottom: 0;
}

.wk-me-fav-meta {
  font-size: 12px;
  color: #8c8c8c;
  margin-bottom: 8px;
}

.wk-me-fav-text {
  font-size: 15px;
  color: #191919;
  line-height: 1.45;
  word-break: break-word;
}

.wk-me-fav-img {
  max-width: 100%;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

.wk-me-fav-del {
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #ef4444;
  font-size: 13px;
  padding: 0;
  cursor: pointer;
}

.wk-me-scan-body {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  box-sizing: border-box;
}

.wk-me-scan-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-height: 70vw;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}

.wk-me-scan-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-me-scan-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-me-scan-frame {
  position: absolute;
  left: 16%;
  top: 16%;
  width: 68%;
  height: 68%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.28);
}

.wk-me-scan-tip {
  margin-top: 14px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.wk-me-scan-warn {
  margin-top: 8px;
  text-align: center;
  color: #b45309;
  font-size: 12px;
}

.wk-me-scan-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.wk-me-pwd-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
}

.wk-me-pwd-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.wk-me-pwd-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.wk-me-pwd-field:last-child {
  border-bottom: 0;
}

.wk-me-pwd-label {
  flex-shrink: 0;
  width: 72px;
  font-size: 15px;
  color: #191919;
}

.wk-me-pwd-input {
  flex: 1 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #191919;
  font: inherit;
}

.wk-me-pwd-input::placeholder {
  color: #bfbfbf;
}

.wk-me-pwd-submit {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: #3478f6;
  color: #fff;
  font-size: 16px;
  font: inherit;
  cursor: pointer;
}

.wk-me-pwd-submit:disabled {
  opacity: 0.65;
  cursor: default;
}

.wk-login {
    min-height: 100%;
    width: 100%;
    position: absolute;
    inset: 0;
    overflow: auto;
    background:
        radial-gradient(90% 70% at 10% 0%, rgba(34, 197, 94, 0.16), transparent 50%),
        radial-gradient(80% 60% at 100% 100%, rgba(17, 24, 39, 0.08), transparent 45%),
        linear-gradient(165deg, #f8fafc 0%, #eef2f7 48%, #e8edf3 100%);
}

.wk-login-content {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 80px;
    box-sizing: border-box;
    position: relative;
}

.wk-login-content-phonelogin {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 36px 28px 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 24px 60px rgba(17, 24, 39, 0.08);
}

.wk-login-content-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-width: 100%;
}

.wk-login-content-logo img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow: none;
    -o-object-fit: contain;
       object-fit: contain;
    background: transparent;
    overflow: hidden;
}

.wk-login-content-slogan {
    color: #111827;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 18px 0 8px;
    text-align: center;
}

.wk-login-content-form {
    margin-top: 28px;
}

.wk-login-content-form input {
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 14px;
    color: #111827;
    display: block;
    font-family: "SF Pro Text", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    height: 48px;
    margin: 0 auto 12px;
    padding: 0 16px;
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.wk-login-content-form input:focus {
    border-color: rgba(34, 197, 94, 0.55);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.wk-login-content-form-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-login-content-form-ok {
    border-radius: 999px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    font-size: 16px;
    font-weight: 400;
    min-width: 200px;
    height: 46px;
    background: #111827 !important;
    border-color: #111827 !important;
}

.wk-login-content-form-ok:hover {
    background: #1f2937 !important;
    border-color: #1f2937 !important;
}

.wk-login-content-form-others {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px auto 0;
    width: 100%;
    max-width: 320px;
}

.wk-login-content-form-scanlogin {
    color: #888888;
    color: var(--wk-font-secondary, #888888);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
}

.wk-login-content-form-scanlogin:hover {
    color: #111827;
}

.wk-login-footer {
    color: #6b7280;
    font-size: 13px;
    bottom: 0;
    margin-bottom: 28px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.wk-login-footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.wk-login-footer ul li {
    margin-left: 24px;
}

.wk-login-content-scanlogin {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 32px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}

.wk-login-content-scanlogin-show {
    display: flex;
}

.wk-login-content-scanlogin-qrcode {
    width: 280px;
    height: 280px;
    position: relative;
    opacity: 0;
    transform: scale(0);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms;
}

.wk-login-content-scanlogin-show .wk-login-content-scanlogin-qrcode {
    opacity: 1;
    transform: scale(1);
}

.wk-login-content-scanlogin-qrcode-avatar {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    opacity: 0;
    transform: scale(0);
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms;
}

.wk-login-content-scanlogin-qrcode-avatar-show {
    opacity: 1;
    transform: scale(1);
}

.wk-login-content-scanlogin-qrcode-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.wk-login-content-scanlogin-qrcode-title {
    margin-top: 30px;
    color: rgba(17, 24, 39, 0.9);
}

.wk-login-content-scanlogin-qrcode-desc li {
    counter-increment: item;
    text-align: left;
    margin: 0.75rem 0;
    display: flex;
    color: rgba(17, 24, 39, 0.72);
}

.wk-login-content-scanlogin-qrcode-desc li::before {
    content: counter(item);
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 1.375rem;
    height: 1.375rem;
    padding: 0;
    margin: 0 0.75rem 0 0;
    background: var(--wk-color-theme);
    border-radius: 50%;
    font-size: smaller;
    color: #fff;
}

.wk-login-footer-buttons button {
    background-color: transparent;
    color: #111827;
    outline: none !important;
    border: 0;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    cursor: pointer;
    font-weight: 400;
}

.wk-login-content-scanlogin-qrcode-expire {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.wk-login-content-scanlogin-qrcode-expire img {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

