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

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

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

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

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

body[theme-mode=dark] ::-webkit-scrollbar-thumb:hover {
  background: #424242; /* 更深的灰色 */
}


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

.wk-message-time {
    color: var(--qq-text-secondary);
    padding: 5px 8px 0;
    white-space: nowrap;
    width: auto;
    font-size: 12px;
    font-weight: 600;
}
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: 600;
}

.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-avatar {
    width: 50px;
    height: 50px;
    border-radius: 40%;
    /* round6：非方形头像按比例裁剪填充，避免拉伸变形 */
    -o-object-fit: cover;
       object-fit: cover;
}

/* SVIP badge 模式：包一层 wrapper，原 img 撑满，badge 绝对定位右上角。 */
.wk-avatar-wrapper {
    position: relative;
    display: inline-block;
    /* 默认 50x50 与 .wk-avatar 一致；外部 style 可覆盖。
       关键：不能让 wrapper 跟随 img 撑大 — img--full 用 100%，wrapper auto 会陷入
       循环，浏览器降级取 svip-badge.png intrinsic 192px → VIP 巨大。 */
    width: 50px;
    height: 50px;
}

.wk-avatar--full {
    width: 100%;
    height: 100%;
    display: block;
    /* round6：SVIP 模式下头像同样按比例裁剪，避免拉伸变形 */
    -o-object-fit: cover;
       object-fit: cover;
}

/* SVIP 角标：金色渐变小药丸(替换原心形 PNG,参考主流 IM 会员标),顶部居中贴边 */
.wk-avatar-svip-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    height: 13px;
    border-radius: 7px;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    line-height: 13px;
    color: #5a3500;
    background: linear-gradient(135deg, #ffe9a8 0%, #ffc94d 48%, #ff9d2e 100%);
    border: 0.5px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 3px rgba(196, 124, 0, 0.45), inset 0 0.5px 0 rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    pointer-events: none;
    /* 2026-06-02 fix：absolute 子元素天然在 static 兄弟之上,z-index auto 足够,避免穿透到下一页 */
    z-index: auto;
}



: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-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;
}
: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;
    bottom: 5px;
}

.senderAvatar img {
    width: 34px;
    height: 34px;
    border-radius: 40%;
}
/* 运营 SVIP 头像现在会真渲染(svipBadgeOn 修复后):wrapper 默认 50px,这里收回 34px 适配群消息头像槽 */
.senderAvatar .wk-avatar-wrapper {
    width: 34px;
    height: 34px;
}

/* 身份标识(群主/管理员/水军)— 与群设置成员格 .m-cs__rtag 统一:彩底白字药丸,同色板同尺寸。 */
.wk-message-sender-role-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* 与头像水平居中(原 left:-2px 是左对齐、往左探出) */
    bottom: -4px;
    padding: 2px 6px;
    line-height: 1;
    font-size: 9px;
    font-weight: 600;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
}

.wk-message-sender-role-owner {
    background: #ffb52e;  /* 群主·金 */
}

.wk-message-sender-role-manager {
    background: #2c7fe6;  /* 管理员·蓝 */
}

.wk-message-sender-role-operator {
    background: #ff8a3d;  /* 水军·橙 */
}

.wk-message-base-box {
    display: flex;
    align-items: center;
    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-flame-tag {
    margin-top: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.2px;
    opacity: 0.88;
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.18);
}

.wk-flame-label-inner {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.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: var(--qq-bubble-me) ;
    border-radius: var(--qq-radius-bubble);
    color: var(--qq-bubble-me-text);
}

.wk-message-base-bubble-box.recv .wk-message-base-bubble {
    border-radius: var(--qq-radius-bubble);
    background-color: var(--qq-bubble-other) ;
    color: var(--qq-bubble-other-text);
}

.wk-message-base-bubble a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wk-message-base-bubble-box.send .wk-message-base-bubble a,
.wk-message-base-bubble-box.send .wk-message-base-bubble a:visited {
    color: #0B57D0;
    text-decoration-color: rgba(11, 87, 208, 0.42);
}

.wk-message-base-bubble-box.send .wk-message-base-bubble a:hover {
    color: #0847AC;
    text-decoration-color: #0847AC;
}

.wk-message-base-bubble-box.recv .wk-message-base-bubble a,
.wk-message-base-bubble-box.recv .wk-message-base-bubble a:visited {
    color: #2563eb;
    text-decoration-color: rgba(37, 99, 235, 0.42);
}

.wk-message-base-bubble-box.recv .wk-message-base-bubble a:hover {
    color: #1d4ed8;
    text-decoration-color: #1d4ed8;
}

.wk-message-base-bubble-box.recv .wk-message-base-flame-tag {
    background: var(--qq-theme-soft);
    color: var(--wk-color-theme);
}

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);
}

body[theme-mode=dark] .wk-message-base-bubble-box.recv .wk-message-base-bubble a,
body[theme-mode=dark] .wk-message-base-bubble-box.recv .wk-message-base-bubble a:visited {
    color: #8ab4ff;
    text-decoration-color: rgba(138, 180, 255, 0.55);
}

body[theme-mode=dark] .wk-message-base-bubble-box.recv .wk-message-base-flame-tag {
    background: rgba(255, 180, 84, 0.18);
    color: #ffd08a;
}

.wk-message-base-bubble-box.send.middle .wk-message-base-bubble {
    border-radius: 0.75rem 0.375rem 0.375rem 0.75rem;
}

.wk-message-base-bubble-box.send.first .wk-message-base-bubble {
    border-radius: 0.75rem 0.75rem 0.375rem 0.75rem;
}

.wk-message-base-bubble-box.recv.middle .wk-message-base-bubble {
    border-radius: 0.375rem 0.75rem 0.75rem 0.375rem;
}

.wk-message-base-bubble-box.recv.first .wk-message-base-bubble {
    border-radius: 0.75rem 0.75rem 0.75rem 0.375rem;
}

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


.svgAppendix {
    display: none;
    overflow: hidden;
    position: absolute;
    width: 0.5625rem;
    height: 1.125rem;
    font-size: 1rem !important;
    bottom: -1px;
}


.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: var(--qq-bubble-me);
}

.wk-message-base-bubble-box.recv .svgAppendix .corner {
    fill: var(--qq-bubble-other);
}


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;
}

.messagePinIcon {
    display: inline-flex;
    align-items: center;
    margin-inline-end: 0.2rem;
    opacity: 0.75;
}

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

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

.wk-message-base-bubble-box.send .messageTime,
.wk-message-base-bubble-box.send .messagePinIcon {
    color: rgb(255, 255, 255,0.75);
}

.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: rgb(255,255,255,0.7);
}

.icon-message-succeeded::before {
    content: "";
    position: absolute;
    bottom: -4px;
    color: rgb(255,255,255,0.7);
}

.icon-message-pending::before {
    content: "";
    position: absolute;
    bottom: -4px;
}

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

.messageStatusReadCount {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: -0.1875rem;
}

.messageStatusReadCountIcon {
    position: relative;
    display: inline-flex;
    width: 1.19rem;
    height: 1.19rem;
    overflow: hidden;
    font-size: 1.1875rem;
}

.messageStatusReadCountText {
    color: rgb(255,255,255,0.78);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.messageFail {
    cursor: pointer;
}

.messageFail img {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

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

/* ============================================================
 * Modern IM overrides (2026-04-25 UX audit)
 * 消息气泡：padding/圆角向微信桌面版对齐，移除 last/first 不对称圆角，
 * 字号略降到 14.5px。svgAppendix 尾巴保留以维持原测试依赖。
 * ============================================================ */
.wk-message-base-bubble {
    padding: 9px 14px;
    font-size: 14.5px;
    line-height: 1.5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}
.wk-message-base-bubble-box.send .wk-message-base-bubble,
.wk-message-base-bubble-box.send.first .wk-message-base-bubble,
.wk-message-base-bubble-box.send.middle .wk-message-base-bubble,
.wk-message-base-bubble-box.send.last .wk-message-base-bubble {
    border-radius: var(--qq-radius-bubble);
}
.wk-message-base-bubble-box.recv .wk-message-base-bubble,
.wk-message-base-bubble-box.recv.first .wk-message-base-bubble,
.wk-message-base-bubble-box.recv.middle .wk-message-base-bubble,
.wk-message-base-bubble-box.recv.last .wk-message-base-bubble {
    border-radius: var(--qq-radius-bubble);
}
/* 接收气泡：白底 + 极淡描边，QQ/微信桌面风 */
.wk-message-base-bubble-box.recv .wk-message-base-bubble {
    background-color: var(--qq-bubble-other);
    color: var(--qq-bubble-other-text);
    border: 1px solid var(--qq-divider);
}
body[theme-mode="dark"] .wk-message-base-bubble-box.recv .wk-message-base-bubble {
    border-color: rgba(255, 255, 255, 0.06);
}
/* 自己气泡：紫主色 */
.wk-message-base-bubble-box.send .wk-message-base-bubble {
    background-color: var(--qq-bubble-me);
    color: var(--qq-bubble-me-text);
}


.wk-check {
    cursor: pointer;
}
/* Reaction Picker */
.wk-reaction-picker-mask {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: 999;
    background: transparent;
}
.wk-reaction-picker {
    position: fixed;
    z-index: 1000;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    padding: 6px 8px;
    min-width: 320px;
    transform-origin: 0 0;
}
.wk-reaction-picker-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 2px 0;
}
.wk-reaction-picker-emoji-row {
    border-top: 1px solid #f0f0f0;
    margin-top: 4px;
    padding-top: 6px;
}
.wk-reaction-picker-item,
.wk-reaction-picker-emoji {
    background: transparent;
    border: 0;
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}
.wk-reaction-picker-item img {
    width: 24px;
    height: 24px;
    -o-object-fit: contain;
       object-fit: contain;
}
.wk-reaction-picker-fallback-emoji {
    font-size: 20px;
    line-height: 1;
}
.wk-reaction-picker-item:hover,
.wk-reaction-picker-emoji:hover {
    background: rgba(0,0,0,0.05);
}

/* Reaction Bar (badges below bubble) */
.wk-reaction-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
    align-items: center;
}
.wk-reaction-bar-right {
    justify-content: flex-end;
}
.wk-reaction-bar-left {
    justify-content: flex-start;
}
.wk-reaction-bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(0,0,0,0.06);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 2px 8px 2px 4px;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}
.wk-reaction-bar-badge:hover {
    background: rgba(0,0,0,0.1);
}
.wk-reaction-bar-badge-self {
    border-color: var(--wk-color-theme);
    background: var(--qq-theme-soft);
}
.wk-reaction-bar-badge-emoji img {
    width: 16px;
    height: 16px;
    -o-object-fit: contain;
       object-fit: contain;
    vertical-align: middle;
}
.wk-reaction-bar-fallback-emoji {
    font-size: 14px;
    line-height: 1;
}
.wk-reaction-bar-badge-count {
    color: #666;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}
.wk-reaction-bar-more {
    color: #999;
    font-size: 12px;
}
.wk-reaction-bar-detail {
    position: absolute;
    z-index: 1001;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    padding: 8px 10px;
    min-width: 160px;
    max-width: 240px;
    margin-top: 24px;
}
.wk-reaction-bar-detail-head {
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
    margin-bottom: 6px;
}
.wk-reaction-bar-detail-close {
    margin-left: auto;
    cursor: pointer;
    color: #999;
    font-size: 16px;
}
.wk-reaction-bar-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 160px;
    overflow-y: auto;
}
.wk-reaction-bar-detail-list li {
    padding: 4px 0;
    font-size: 13px;
    color: #333;
    border-bottom: 1px dashed #f0f0f0;
}
.wk-reaction-bar-detail-list li:last-child {
    border-bottom: 0;
}



.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: 145px;
    --wk-height-conversation-replyview: 50px;
}

.wk-conversation {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--qq-chat-bg);
}


.wk-conversation-hasreply {

}


.wk-conversation-content {
    width: 100%;
    height: calc(100% - 145px);
    height: calc(100% - var(--wk-conversation-footer));
    position: relative;
    transition: height 150ms ease-out,opacity 150ms ease-out;
    background-color: var(--qq-chat-bg);
}

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

.wk-conversation-hasreply .wk-conversation-content {
    height: calc(100% - 145px - 50px);
    height: calc(100% - var(--wk-conversation-footer) - var(--wk-height-conversation-replyview));
}


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

.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: 145px;
    height: var(--wk-conversation-footer);
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    bottom: 0px;
}



.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: 1.5px dashed var(--wk-color-theme);
    border-radius: var(--qq-radius-card);
    background-color: var(--qq-theme-soft);
    color: var(--wk-color-theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    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: 145px;
    height: var(--wk-conversation-footer);
    background-color: var(--wk-color-secondary);
    width: 100%;
    z-index: 999;
    position: absolute;
    bottom: 0px;
    transform: translate3d(0, 145px, 0);
    transform: translate3d(0, var(--wk-conversation-footer), 0);
    transition: transform var(--wk-layer-transition);
    visibility: hidden;
    pointer-events: none;
}

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

}

.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: 500;
    text-align: center;
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    background: var(--qq-unread);
    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:*/

.wk-conversation-haspinned .wk-conversation-content {
    height: calc(100% - 145px - 48px);
    height: calc(100% - var(--wk-conversation-footer) - 48px);
}

.wk-conversation-haspinned.wk-conversation-hasreply .wk-conversation-content {
    height: calc(100% - 145px - 50px - 48px);
    height: calc(100% - var(--wk-conversation-footer) - var(--wk-height-conversation-replyview) - 48px);
}

.wk-conversation-pinned-bar {
    display: flex;
    align-items: center;
    height: 48px;
    background: var(--qq-theme-weak);
    border-bottom: 1px solid var(--qq-divider);
    cursor: pointer;
    flex-shrink: 0;
    overflow: hidden;
}

body[theme-mode=dark] .wk-conversation-pinned-bar {
    background: #1c1c1e;
    background: var(--wk-color-secondary, #1c1c1e);
    border-bottom-color: rgba(255,255,255,0.08);
}

.wk-conversation-pinned-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-left: 12px;
    color: var(--wk-color-theme);
}

.wk-conversation-pinned-main {
    flex: 1 1;
    min-width: 0;
    padding: 0 10px;
}

.wk-conversation-pinned-title {
    font-size: 12px;
    color: var(--wk-color-theme);
    font-weight: 500;
}

.wk-conversation-pinned-desc {
    margin-top: 2px;
    font-size: 13px;
    color: var(--qq-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body[theme-mode=dark] .wk-conversation-pinned-desc {
    color: #d1d5db;
}

.wk-conversation-pinned-actions {
    display: flex;
    align-items: center;
    padding-right: 10px;
    gap: 6px;
}

.wk-conversation-pinned-action {
    color: var(--wk-color-theme);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.wk-conversation-pinned-list {
    max-height: 420px;
    overflow-y: auto;
}

.wk-conversation-pinned-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--qq-divider);
    cursor: pointer;
}

.wk-conversation-pinned-list-text {
    flex: 1 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-conversation-pinned-empty {
    color: var(--qq-text-secondary);
    text-align: center;
    padding: 24px 0;
}



.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: var(--qq-panel-bg);
    border: 1px solid var(--qq-divider);
    border-radius: var(--qq-radius-card);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    font-size: 10pt;
    overflow: hidden;
  }

  .mentions__suggestions__item {
    padding: 5px 15px;
    border-bottom: 1px solid var(--qq-divider);
  }

  .mentions__suggestions__item--focused {
    background-color: var(--qq-theme-weak);
    color: var(--wk-color-theme);
  }
  
  .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: var(--qq-panel-bg);
    width: 100%;
    height: 100%;
    position: relative;

    box-shadow: none;
    border-top: 1px solid var(--qq-divider);
    border-left: none;
}

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

/* .wk-messageinput-box:hover {
     box-shadow: 0 0 10px rgb(0 0 0 / 15%)
} */

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

.wk-messageinput-input {
    height: 100%;
    width: 100%;
    border: none;
    color: #333;
    font-size: 14px;
    overflow-y: scroll;
    display: inline-block;
    -webkit-user-modify: read-write-plaintext-only;
    outline: none;
}

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

.wk-messageinput-input textarea {
    outline: none;
    border: none;
}

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

.wk-messageinput-bar {
    height: 40px;
    width: 100%;
    display: flex;
    top: 0px;
}

.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;
    border-radius: var(--qq-radius-control);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.wk-messageinput-actionitem:hover {
    background-color: var(--qq-hover);
}

.wk-messageinput-sendbtn {
    height: 28px;
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c3c5cc;
    border-radius: var(--qq-radius-control);
    cursor: pointer;
    transition: background-color 0.15s ease;
}

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

.wk-messageinput-hasValue:hover {
    background-color: var(--wk-color-theme);
    filter: brightness(1.08);
}


.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;
    /* background-color: #1264a3; */
}

.quickReplyPanel {
    position: absolute;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    overflow-x: hidden;
    bottom: 0;
    background-color: var(--qq-panel-bg);
    width: 100%;
    border-radius: var(--qq-radius-card);
}

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

        .quickReplyPanel ul li {
            list-style-type: none;
            height: 60px;
            border-bottom: 1px solid var(--qq-divider);
            cursor: pointer;
        }

.quickReplyItem {
}

    .quickReplyItem :hover {
        background-color: var(--qq-hover);
    }


.quickReplySelect {
    background-color: var(--qq-theme-weak) !important;
    color: var(--wk-color-theme) !important;
}

.wk-messageinput-header {
}

.wk-messageinput-reply {
    margin: 10px 10px 0px 10px;
    background-color: var(--qq-theme-weak);
    border-radius: var(--qq-radius-control);
    padding: 4px 2px;
    display: flex;
    color: var(--qq-text-secondary);
    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: var(--qq-panel-bg);
}

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

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

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


.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;
    max-height: calc(100vh - 8px);
    overflow-y: auto;
    box-sizing: border-box;
}

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;
}

/* ============================================================
 * Modern IM overrides (2026-04-25 UX audit)
 * 右键菜单：更柔的阴影/更紧凑的行高、150ms 过渡、
 * 删除类（文案含 "删除"/"退出"）自动变红。
 * ============================================================ */
.wk-contextmenus {
    min-width: 148px;
    padding: 4px 0;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: opacity 0.15s cubic-bezier(0.2, 0, 0.2, 1),
                transform 0.15s cubic-bezier(0.2, 0, 0.2, 1) !important;
}
body[theme-mode="dark"] .wk-contextmenus {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.wk-contextmenus ul {
    padding-left: 0;
    list-style: none;
}
.wk-contextmenus li {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
    color: #1f2329;
    border-radius: 6px;
    margin: 1px 4px;
    transition: background-color 0.12s ease;
}
.wk-contextmenus li:hover {
    /* round6：旧橙 hover 底 → 主题紫弱底（与 --qq-theme-soft 同向） */
    background-color: rgba(7, 193, 96, 0.08);
}
body[theme-mode="dark"] .wk-contextmenus li:hover {
    background-color: rgba(255, 255, 255, 0.08);
}
/* destructive 项目（包含 "删除"/"退出"/"解散"）变红 */
.wk-contextmenus li:has(> span:is([data-danger])),
.wk-contextmenus li.danger {
    color: #d14343;
}

.wk-conversationlist {
  height: 100%;
  overflow-y: auto;
  background-color: var(--qq-list-bg);
  /* padding: 0px 5px; */
}

.wk-conversationlist-empty {
  min-height: 220px;
  padding: 56px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wk-color-font-tip);
  text-align: center;
}

.wk-conversationlist-empty-title {
  font-size: 18px;
  line-height: 26px;
  font-weight: 600;
  color: var(--wk-color-font);
}

.wk-conversationlist-empty-desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 20px;
}

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

.wk-conversationlist-item {
  height: 64px;
  width: 100%;
  cursor: pointer;
  padding: 0px 5px;
  background-color: var(--qq-list-bg);
  box-sizing: border-box;
}

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

.wk-conversationlist-item-top {
  background-color: var(--qq-hover) !important;
}

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

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

.wk-conversationlist-item-right {
  height: 100%;
  width: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10px;
  padding-left: 5px;

  flex-grow: 1;
  overflow: hidden;
  box-sizing: border-box;
}

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

.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;
}

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

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

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: white;
}

.wk-conversationlist-item-time {
  color: var(--qq-text-secondary);
  padding-left: 10px;
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.wk-conversationlist-item-selected .wk-conversationlist-item-time {
  color: white;
}

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

.wk-conversationlist-item-selected .wk-conversationlist-item-lastmsg {
  color: white;
}

.wk-conversationlist-item-selected {
  background-color: var(--wk-color-theme);
  border-radius: 10px;
}

.wk-mention {
  color: red;
}

.wk-reminder {
  color: red;
}

.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: rgb(124, 208, 83);
}

.wk-onlinestatusbadge-empty .wk-onlinestatusbadge-content {
  background-color: rgb(124, 208, 83);
  border-radius: 50%;
  padding: 0px;
}

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

/* ============================================================
 * Modern IM overrides (2026-04-25 UX audit)
 * 会话列表选中态：从"实心橙+白字"换成"浅灰底+左侧主题条"，
 * 和微信/Telegram 桌面版对齐，长时间浏览不刺眼。
 * 注：selected 类实际挂在 .wk-conversationlist-item-content 上（内层 div），
 * 所以覆盖选择器用 .wk-conversationlist-item-selected 而不是外层。
 * DOM/类名保持不变，只追加覆盖规则。
 * ============================================================ */
.wk-conversationlist-item {
  transition: background-color 0.15s ease;
  position: relative;
}
.wk-conversationlist-item:hover .wk-conversationlist-item-content:not(.wk-conversationlist-item-selected) {
  background-color: var(--qq-list-hover);
}
body[theme-mode="dark"] .wk-conversationlist-item:hover .wk-conversationlist-item-content:not(.wk-conversationlist-item-selected) {
  background-color: rgba(255, 255, 255, 0.04);
}
.wk-conversationlist-item-content.wk-conversationlist-item-selected {
  background-color: var(--qq-list-active) !important;
  border-radius: 0 !important;
  position: relative;
}
body[theme-mode="dark"] .wk-conversationlist-item-content.wk-conversationlist-item-selected {
  background-color: rgba(255, 255, 255, 0.08) !important;
}
/* 选中时左侧主题色竖条，替代整行变色 */
.wk-conversationlist-item-content.wk-conversationlist-item-selected::before { content: none; }
/* 选中态下文字/时间/最后消息恢复正常配色，不再全白 */
.wk-conversationlist-item-content.wk-conversationlist-item-selected .wk-conversationlist-item-name h3,
.wk-conversationlist-item-content.wk-conversationlist-item-selected .wk-conversationlist-item-name {
  color: inherit !important;
}
.wk-conversationlist-item-content.wk-conversationlist-item-selected .wk-conversationlist-item-time {
  color: var(--qq-text-secondary) !important;
}
.wk-conversationlist-item-content.wk-conversationlist-item-selected .wk-conversationlist-item-lastmsg {
  color: var(--qq-text-secondary) !important;
}
body[theme-mode="dark"] .wk-conversationlist-item-content.wk-conversationlist-item-selected .wk-conversationlist-item-name h3 {
  color: white !important;
}

/* QQ 风未读红点：用微信红令牌 --qq-unread（muted 时 tsx 内联灰底优先，不受影响） */
.wk-conversationlist-item-reddot .semi-badge-count {
  background-color: var(--qq-unread);
}

@media screen and (max-width: 640px) {
  .wk-conversationlist-item {
    height: 84px;
  }
}

/* 2026-05-22 P1 — 群治理系统消息富文本灰条样式 */

/* 整条消息行：复用 .wk-message-system 的灰色居中、white-space pre-line */
.wk-message-gov {
  word-break: break-word;
}

/* actor 占位段（统一柔和灰，微信风） */
.wk-gov-actor {
  color: #8b8696;
  cursor: default;
  text-decoration: none;
  margin: 0;
}

/* 角色前缀 — 统一柔和灰（微信风），不再区分群主/管理员/水军配色 */
.wk-gov-role-prefix {
  color: #8b8696;
  cursor: default;
  margin-right: 2px;
}
.wk-gov-role-prefix-owner {
  color: #8b8696;
}
.wk-gov-role-prefix-operator {
  color: #8b8696;
}

body[theme-mode=dark] .wk-gov-role-prefix {
  color: #9a93ac;
}
body[theme-mode=dark] .wk-gov-role-prefix-owner {
  color: #9a93ac;
}
body[theme-mode=dark] .wk-gov-role-prefix-operator {
  color: #9a93ac;
}

/* 可点击 actor — 鼠标变指针 + hover 下划线 */
.wk-gov-actor-clickable {
  cursor: pointer;
}
.wk-gov-actor-clickable:hover {
  text-decoration: underline;
}

/* 不可点击 actor（超级管理员 / 已注销 / 群管理员 fallback）— 灰色 */
.wk-gov-actor-disabled {
  color: #999;
  cursor: default;
}

body[theme-mode=dark] .wk-gov-actor {
  color: #9a93ac;
}
body[theme-mode=dark] .wk-gov-actor-disabled {
  color: #888;
}

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

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

.wk-chat-content-left {
    width: var(--wk-wdith-conversation-list);
    height: 100%;
    border-right: var(--wk-line);
}

.wk-chat-search {
    height: var(--wk-height-chat-search);
    width: 100%;
    padding: 0px 20px 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F7F7F7;
    border-bottom: var(--wk-line);
}

.wk-chat-search-add {
    padding: 5px;
    cursor: pointer;
    color: #111111;
}

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

.wk-chat-search-icon {
    color: #888888;
}

.wk-chat-title {
    min-width: 0;
    flex: 1 1;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #111111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-chat-enterprise-logo {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 9px;
    background: #E8F7EE;
}

.wk-chat-enterprise-logo img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-chat-enterprise-logo:focus-visible {
    outline: 2px solid var(--wk-ui-primary);
    outline-offset: 2px;
}

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

.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: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        transform: translate3d(0, 0, 0);
        transition: transform var(--wk-layer-transition);
    }

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

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

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

.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: #F7F7F7;
    display: flex;
    align-items: center;
    border-bottom: var(--wk-line);
    z-index: 11;
    padding: 0.5rem 0.8125rem 0.5rem 1.5rem;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
}

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

.wk-chat-conversation-header-right svg {
    fill: #111111;
}

.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: #111111;
    transition: transform var(--wk-slide-transition);
}


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

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

.wk-chat-conversation-header-channel-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.wk-chat-conversation-header-channel-info-name {
    margin-left: 0;
    font-size: 16px;
    font-weight: 600;
    color: #111111;
}

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

.wk-chat-conversation-header-channel-info-tip {
    margin-left: 0;
    margin-top: 2px;
    min-height: 16px;
    font-size: 12px;
    line-height: 16px;
    color: #888888;
}

body[theme-mode=dark] .wk-chat-conversation-header-channel-info-tip {
    color: rgba(255, 255, 255, 0.82);
}

.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: 100%;
    height: 100%;
}

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

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: 10px;
}

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

.wk-chatmenuspopover li img {
    width: 20px;
    height: 20px;
    color: white;
}

.wk-chatmenuspopover-title {
    margin-left: 10px;
    font-size: 14px;
}

.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;
    background-color: var(--qq-panel-bg);
    border-bottom: 1px solid var(--qq-divider);
}

.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: var(--qq-hover);
}

.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;
    /* round6：顶部留白，避免首个头像的 SVIP 角标(top:-5px)被滚动容器顶边裁切 */
    padding-top: 12px;
    padding-bottom: 40px;
}

.wk-channelsetting-channel-info {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: var(--qq-panel-bg);
    border-bottom: 1px solid var(--qq-divider);
}

.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: var(--wk-color-theme);
    font-size: 16px;
    font-weight: 600;
    margin-left: 10px;
    font-weight: 500px;
}


.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: 18px;
    font-weight: 500;
    margin-left: 1.375rem;
    color: black;
}

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: 18px;
    font-weight: 500;
    margin-left: 1.375rem;
    color: black;
    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;
    /* 2026-06-02 fix 子页面 z-index 穿透：每个 view 自成 stacking context，
       否则前一页里 z-index>0 的元素（譬如 WKAvatar 的 VIP 角标）会盖到后入页面上。 */
    z-index: 0;
    isolation: isolate;
}

.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-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;
    width: calc(100% - 55px);

}

.wk-item-message-name-row {
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wk-item-message-name {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    grid-column: 1 / 2; /* 第一列 */
    grid-row: 1 / 2; /* 第一行 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.wk-item-message-time {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

body[theme-mode=dark] .wk-item-message-time {
    color: #b3b3b3;
}


.wk-item-message-digest {
    margin-left: 15px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

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-all-empty {
    color: #999;
    font-size: 14px;
    padding: 32px 16px;
    text-align: center;
}

/* WanxiangIM shared design contract.
 * All Web, Hybrid and embedded native-WebView business surfaces consume these
 * semantic tokens and primitives.  Product pages own layout only; color,
 * spacing, feedback and overlay treatment stay here. */
:root {
  color-scheme: light;
  --wk-ui-primary: #07c160;
  --wk-ui-primary-press: #06ad56;
  --wk-ui-primary-active: #059b4d;
  --wk-ui-primary-soft: #e8f7ee;
  --wk-ui-danger: #fa5151;
  --wk-ui-danger-press: #e2453b;
  --wk-ui-danger-soft: #ffebeb;
  --wk-ui-warning: #b67a13;
  --wk-ui-warning-soft: #fff3d8;
  --wk-ui-success: #18a957;
  --wk-ui-bg: #ededed;
  --wk-ui-surface: #ffffff;
  --wk-ui-surface-subtle: #f5f5f5;
  --wk-ui-text-1: #111111;
  --wk-ui-text-2: #7f7f7f;
  --wk-ui-text-3: #b2b2b2;
  --wk-ui-line: #e5e5e5;
  --wk-ui-mask: rgba(0, 0, 0, 0.42);
  --wk-ui-font-overlay-caption: 12px;
  --wk-ui-font-overlay-body: 15px;
  --wk-ui-font-overlay-action: 16px;
  --wk-ui-font-overlay-title: 17px;
  --wk-ui-font-nav-title: 18px;

  --wk-ui-call-bg: #101114;
  --wk-ui-call-surface: #1c1d20;
  --wk-ui-call-surface-raised: #2b2b31;
  --wk-ui-call-tile: #18181c;
  --wk-ui-call-text: #ffffff;
  --wk-ui-call-text-2: rgba(255, 255, 255, 0.72);
  --wk-ui-call-control: rgba(255, 255, 255, 0.14);
  --wk-ui-call-control-press: rgba(255, 255, 255, 0.22);

  --wk-ui-space-1: 4px;
  --wk-ui-space-2: 8px;
  --wk-ui-space-3: 12px;
  --wk-ui-space-4: 16px;
  --wk-ui-space-5: 20px;
  --wk-ui-space-6: 24px;
  --wk-ui-radius-control: 8px;
  --wk-ui-radius-card: 12px;
  --wk-ui-radius-modal: 14px;
  --wk-ui-radius-sheet: 18px;
  --wk-ui-radius-pill: 999px;
  --wk-ui-shadow-card: 0 8px 28px rgba(0, 0, 0, 0.12);
  --wk-ui-shadow-modal: 0 18px 56px rgba(0, 0, 0, 0.28);
  --wk-ui-nav-h: 52px;
  --wk-ui-control-h: 44px;
  --wk-ui-touch: 44px;
  --wk-ui-safe-top: env(safe-area-inset-top, 0px);
  --wk-ui-safe-right: env(safe-area-inset-right, 0px);
  --wk-ui-safe-bottom: env(safe-area-inset-bottom, 0px);
  --wk-ui-safe-left: env(safe-area-inset-left, 0px);
  --wk-ui-ease: 180ms cubic-bezier(0.2, 0, 0, 1);
  --wk-ui-layer-content: 0;
  --wk-ui-layer-chrome: 100;
  --wk-ui-layer-popover: 1000;
  --wk-ui-layer-floating: 9997;
  --wk-ui-layer-modal: 100040;
  --wk-ui-layer-toast: 100100;
  --wk-ui-layer-bootstrap: 2147483647;

  --semi-color-primary: var(--wk-ui-primary);
  --semi-color-primary-hover: var(--wk-ui-primary-press);
  --semi-color-primary-active: var(--wk-ui-primary-active);
}

body[theme-mode="dark"] {
  color-scheme: dark;
  --wk-ui-primary-soft: #173c28;
  --wk-ui-bg: #111111;
  --wk-ui-surface: #191919;
  --wk-ui-surface-subtle: #202020;
  --wk-ui-text-1: #f5f5f5;
  --wk-ui-text-2: #a3a3a3;
  --wk-ui-text-3: #737373;
  --wk-ui-line: rgba(255, 255, 255, 0.1);
  --wk-ui-mask: rgba(0, 0, 0, 0.58);
}

.wk-ui-press {
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms cubic-bezier(0.2, 0, 0, 1), color 180ms cubic-bezier(0.2, 0, 0, 1),
    opacity 100ms ease, transform 100ms ease;
  transition: background-color var(--wk-ui-ease), color var(--wk-ui-ease),
    opacity 100ms ease, transform 100ms ease;
}
.wk-ui-press:active:not(:disabled) { opacity: 0.72; transform: scale(0.98); }
.wk-ui-press:focus-visible { outline: 2px solid #07c160; outline: 2px solid var(--wk-ui-primary); outline-offset: 2px; }

.wk-ui-button {
  min-height: 44px;
  min-height: var(--wk-ui-control-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  gap: var(--wk-ui-space-2);
  padding: 0 16px;
  padding: 0 var(--wk-ui-space-4);
  border: 0;
  border-radius: 8px;
  border-radius: var(--wk-ui-radius-control);
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font: inherit;
  cursor: pointer;
}
.wk-ui-button.is-primary { color: #fff; background: #07c160; background: var(--wk-ui-primary); }
.wk-ui-button.is-primary:hover { background: #06ad56; background: var(--wk-ui-primary-press); }
.wk-ui-button.is-danger { color: #fff; background: #fa5151; background: var(--wk-ui-danger); }
.wk-ui-button.is-danger:hover { background: #e2453b; background: var(--wk-ui-danger-press); }
.wk-ui-button:disabled { opacity: 0.45; cursor: default; }

.wk-ui-input {
  min-width: 0;
  min-height: 36px;
  padding: 0 12px;
  padding: 0 var(--wk-ui-space-3);
  border: 1px solid #e5e5e5;
  border: 1px solid var(--wk-ui-line);
  border-radius: 8px;
  border-radius: var(--wk-ui-radius-control);
  outline: none;
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font: inherit;
}
.wk-ui-input::-moz-placeholder { color: #b2b2b2; color: var(--wk-ui-text-3); }
.wk-ui-input::placeholder { color: #b2b2b2; color: var(--wk-ui-text-3); }
.wk-ui-input:focus { border-color: #07c160; border-color: var(--wk-ui-primary); background: #ffffff; background: var(--wk-ui-surface); }

.wk-ui-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100040;
  z-index: var(--wk-ui-layer-modal);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top, 0px))
    max(16px, env(safe-area-inset-right, 0px))
    max(20px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  padding: max(var(--wk-ui-space-5), var(--wk-ui-safe-top))
    max(var(--wk-ui-space-4), var(--wk-ui-safe-right))
    max(var(--wk-ui-space-5), var(--wk-ui-safe-bottom))
    max(var(--wk-ui-space-4), var(--wk-ui-safe-left));
  background: rgba(0, 0, 0, 0.42);
  background: var(--wk-ui-mask);
}
.wk-ui-modal-card {
  width: min(520px, 100%);
  max-height: min(620px, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 40px));
  max-height: min(620px, calc(100dvh - var(--wk-ui-safe-top) - var(--wk-ui-safe-bottom) - 40px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  border-radius: var(--wk-ui-radius-modal);
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #ffffff;
  background: var(--wk-ui-surface);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  box-shadow: var(--wk-ui-shadow-modal);
}
.wk-ui-modal-header {
  min-height: 52px;
  min-height: var(--wk-ui-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  gap: var(--wk-ui-space-3);
  padding: 0 16px;
  padding: 0 var(--wk-ui-space-4);
  border-bottom: 1px solid #e5e5e5;
  border-bottom: 1px solid var(--wk-ui-line);
  font-size: 17px;
  font-size: var(--wk-ui-font-overlay-title);
  font-weight: 600;
}
.wk-ui-modal-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #7f7f7f;
  color: var(--wk-ui-text-2);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.wk-ui-bottom-sheet {
  width: min(520px, 100%);
  max-height: min(70dvh, 620px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  border-radius: var(--wk-ui-radius-sheet) var(--wk-ui-radius-sheet) 0 0;
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  box-shadow: var(--wk-ui-shadow-modal);
}
.wk-ui-list-cell {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  gap: var(--wk-ui-space-3);
  padding: 8px 16px;
  padding: var(--wk-ui-space-2) var(--wk-ui-space-4);
  border-bottom: 1px solid #e5e5e5;
  border-bottom: 1px solid var(--wk-ui-line);
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #ffffff;
  background: var(--wk-ui-surface);
}

.wk-ui-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 8px;
  padding: 2px var(--wk-ui-space-2);
  border-radius: 999px;
  border-radius: var(--wk-ui-radius-pill);
  color: #7f7f7f;
  color: var(--wk-ui-text-2);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}
.wk-ui-status.is-pending { color: #b67a13; color: var(--wk-ui-warning); background: #fff3d8; background: var(--wk-ui-warning-soft); }
.wk-ui-status.is-error { color: #fa5151; color: var(--wk-ui-danger); background: #ffebeb; background: var(--wk-ui-danger-soft); }
.wk-ui-status.is-success { color: #18a957; color: var(--wk-ui-success); background: #e8f7ee; background: var(--wk-ui-primary-soft); }

.wk-ui-empty,
.wk-ui-loading,
.wk-ui-error {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px;
  padding: var(--wk-ui-space-5);
  color: #7f7f7f;
  color: var(--wk-ui-text-2);
  text-align: center;
}
.wk-ui-error { color: #fa5151; color: var(--wk-ui-danger); }
.wk-ui-toast {
  max-width: min(80vw, 360px);
  padding: 10px 14px;
  border-radius: 8px;
  border-radius: var(--wk-ui-radius-control);
  color: #fff;
  background: rgba(17, 17, 17, 0.88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  box-shadow: var(--wk-ui-shadow-card);
}

@media (max-width: 640px) {
  :root { --wk-ui-touch: 48px; --wk-ui-control-h: 46px; }
  .wk-ui-modal-card { width: min(88vw, 420px); }
  .wk-ui-bottom-sheet {
    width: 100%;
    margin: auto 0 calc(-1 * max(20px, env(safe-area-inset-bottom, 0px)));
    margin: auto 0 calc(-1 * max(var(--wk-ui-space-5), var(--wk-ui-safe-bottom)));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-bottom: var(--wk-ui-safe-bottom);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wk-ui-press { transition: none; }
}

:root {
    /* 微信式桌面基线：绿色只用于功能强调，结构面保持中性灰白。 */
    --wk-color-theme: var(--wk-ui-primary);
    --wk-color-secondary: var(--wk-ui-bg);
    --wk-color-secondary-2: var(--wk-ui-surface-subtle);
    --wk-color-hover: var(--wk-ui-surface-subtle);
    /* 提示类型的字体颜色 */
    --wk-color-font-tip: var(--wk-ui-text-3);
    --wk-width-layout-content-left: 250px;
    --wk-wdith-conversation-list: var(--wk-width-layout-content-left);
    /* --wk-height-chat-search: 65px; */
    --wk-height-chat-search: 64px;
    --wk-height-chat-conversation-header: 60px;
    --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 var(--wk-ui-line);
    --wk-line-color: var(--wk-ui-line);

    --wk-color-item: var(--wk-ui-surface);
    --wk-text-item: var(--wk-ui-text-1);

    --wk-message-item: var(--wk-ui-surface);
    --wk-message-color: var(--wk-ui-text-1);
    --wk-font-scale: 1;

    /* 保留既有变量名以控制改动面，值统一到微信式桌面视觉。 */
    --qq-rail-bg: #EDEDED;
    --qq-rail-icon: #7A7A7A;
    --qq-rail-icon-active: var(--wk-color-theme);
    --qq-list-bg: #ffffff;                          /* 会话列表底 */
    --qq-list-hover: #F5F5F5;
    --qq-list-active: #EDEDED;
    --qq-chat-bg: #EDEDED;
    --qq-bubble-me: #95EC69;
    --qq-bubble-me-text: #111111;
    --qq-bubble-other: #ffffff;                     /* 对方气泡=白 */
    --qq-bubble-other-text: #111111;
    --qq-unread: #fa5151;                           /* 未读红点(对齐 --m-color-danger) */
    --qq-teal: #07C160;
    --qq-radius-card: 10px;
    --qq-radius-bubble: 8px;
    --qq-radius-control: 8px;
    --qq-divider: #E5E5E5;
    --qq-text-primary: #111111;
    --qq-text-secondary: #888888;
    --qq-text-tertiary: #B2B2B2;
    --qq-hover: #F5F5F5;
    --qq-panel-bg: #ffffff;                         /* 右侧详情面板底 */
    --qq-theme-weak: #E8F7EE;
    --qq-theme-soft: rgba(7, 193, 96, 0.10);
    --qq-primary-press: #06AD56;
    --qq-primary-grad: #07C160;
    --qq-primary-halo: none;
  }

  *, *: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: var(--wk-ui-primary);
    --semi-color-primary-hover: var(--wk-ui-primary-press);
    --semi-color-primary-active: var(--wk-ui-primary-active);

  }

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

html {
    height: 100%;
    box-sizing: border-box;
}
  
  body {
    height: 100%;
    margin: 0;
    margin: 0;
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Fira Sans,Droid Sans,Cantarell,sans-serif; */
    font-family: "Roboto",-apple-system,BlinkMacSystemFont,"Apple Color Emoji","Helvetica Neue",sans-serif;
    font-size: calc(14px * 1);
    font-size: calc(14px * var(--wk-font-scale, 1));
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background: var( --background-color);
    color: rgba(9,30,66,.87) ;

    --semi-color-primary: var(--wk-ui-primary);
    --semi-color-primary-hover: var(--wk-ui-primary-press);
    --semi-color-primary-active: var(--wk-ui-primary-active);
  }

  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(https://d.test.im.whytqkj.top/releases/20260905t075054z-a0a696064b0f/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;
}

@media screen and (max-width: 640px) {
  :root {
    --wk-font-scale: 1.08;
    --wk-height-chat-conversation-header: 68px;
  }

  html,
  body,
  #root {
    overflow-x: clip;
  }

  input,
  textarea,
  button {
    font-size: 17px;
  }
}

.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-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;
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 8px;
}

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

.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-disabled {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.wk-channelqrcode-qrcode-disabled p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

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

.wk-channelqrcode-actions {
    display: flex;
    justify-content: center;
    padding: 0 0 24px;
}

/* 会话级聊天背景覆盖:容器(chat-content-page)带 --wk-channel-chat-bg 时,
   用 !important 盖过 Conversation 行内的全局 chatBg 底色。无变量则不生效,回落全局背景。
   仅在设置了本会话背景时(.wk-has-channel-chat-bg)才覆盖。 */
.wk-has-channel-chat-bg .wk-conversation {
  background: var(--wk-channel-chat-bg) !important;
}

/* ===== 会话级聊天背景 选图弹框(桌面) ===== */
.wk-chatbg-modal .wk-chatbg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 14px;
  gap: 14px;
  padding: 4px 2px 10px;
}
.wk-chatbg-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.wk-chatbg-swatch {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid #eceaf1;
  border: 1px solid var(--qq-divider, #eceaf1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wk-chatbg-item:hover .wk-chatbg-swatch {
  border-color: #07c160;
  border-color: var(--wk-color-theme, #07c160);
}
.wk-chatbg-item.is-on .wk-chatbg-swatch {
  border: 2px solid #07c160;
  border: 2px solid var(--wk-color-theme, #07c160);
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.12);
  box-shadow: 0 0 0 3px var(--qq-theme-soft, rgba(7, 193, 96, 0.12));
}
.wk-chatbg-check {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
.wk-chatbg-label {
  font-size: 12.5px;
  color: #8b8696;
  color: var(--qq-text-secondary, #8b8696);
}
.wk-chatbg-item.is-on .wk-chatbg-label {
  color: #07c160;
  color: var(--wk-color-theme, #07c160);
}
.wk-chatbg-hint {
  padding: 6px 2px 0;
  font-size: 12px;
  color: #b6b2c0;
  color: var(--qq-text-tertiary, #b6b2c0);
  line-height: 1.5;
}

/* 选择会话/收件人 —— 清爽化重塑(对齐移动端多选风:轻留白、圆角、分组清晰)。类名保持不变。 */

.wk-conversationselect {
    max-height: 72vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 标题+搜索+列表 的内层包裹:占满除 footer 外的空间,让列表区(content-box)内部滚动 → 底部「发送」常驻可见。
   (修复:此层原来无 class、非 flex,导致 content-box 的 flex:1 失效、列表撑高把 footer 顶出可视区 → 发送按钮消失。) */
.wk-conversationselect-body {
    flex: 1 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* ── 标题栏 ── */
.wk-conversationselect-content-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 100%;
    font-weight: 600;
    font-size: 17px;
    color: #1f2329;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    flex-shrink: 0;
}

/* 头部关闭按钮(×):右侧居中,清晰可点(替代 Semi Modal 那个浅灰小 ×) */
.wk-conversationselect-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: #9aa0a6;
    cursor: pointer;
    border-radius: 50%;
    transition: background .15s, color .15s;
}
.wk-conversationselect-close:hover {
    background: rgba(0, 0, 0, .06);
    color: #333;
}

/* ── 搜索区(选中头像 chips 在上,搜索条独占一行 → 圆角灰条) ── */
.wk-conversationselect-content-searchBox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 12px 16px 6px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.wk-conversationselect-content-selectedChannel {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    max-height: 116px;
    overflow-y: auto;
}

.wk-conversationselect-content-selectedAvatar {
    cursor: pointer;
    flex-shrink: 0;
}
.wk-conversationselect-content-selectedAvatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
}

/* 搜索条:整行圆角灰底 */
.wk-conversationselect-content-searchContent {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, .04);
    border-radius: 10px;
    padding: 0 12px;
    box-sizing: border-box;
}
.wk-conversationselect-content-searchIcon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.wk-conversationselect-content-searchInput {
    flex: 1 1;
    margin-left: 8px;
    max-width: none;
}
.wk-conversationselect-content-searchContent input {
    width: 100%;
    height: 100%;
    font-size: 14px;
    line-height: normal;
    background-color: transparent;
    color: #1f2329;
    padding: 0;
    outline: none;
    border: none;
}

/* ── 列表区 ── */
.wk-conversationselect-content-box {
    flex: 1 1;
    min-height: 0;
    padding: 4px 8px 10px;
    overflow: auto;
}

/* 全选行:独立白底行(不再和"最近聊天"挤在灰块里),带下分隔线 */
.wk-conversationselect-content-header-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    margin: 0 4px;
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 400;
    color: #1f2329;
    line-height: normal;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

/* 分组标题(最近聊天/联系人/群聊):轻量灰色小标 */
.wk-conversationselect-content-header {
    background: transparent;
    color: #9aa0a6;
    font-weight: 400;
    font-size: 12px;
    padding: 12px 12px 4px;
    line-height: normal;
}

.wk-conversationselect-content-list {
    /* 占位 */
}

/* 单行会话/联系人 */
.wk-conversationselect-content {
    display: flex;
    align-items: center;
    padding: 8px 8px;
    margin: 2px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .12s;
}
.wk-conversationselect-content:hover {
    background: rgba(0, 0, 0, .04);
}

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

.wk-conversationselect-content-box-name {
    margin-left: 12px;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #1f2329;
}

/* ── 底部发送 ── */
.wk-conversationselect-footer {
    height: 76px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, .06);
    flex-shrink: 0;
}

.wk-conversationselect-okBtn {
    cursor: pointer;
    min-width: 220px;
    border-radius: 12px;
    height: 44px;
    background-color: var(--wk-color-theme);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity .15s;
}
.wk-conversationselect-okBtn:hover {
    opacity: .92;
}

/* 空态 */
.wk-conversationselect-empty {
    padding: 24px 16px;
    color: #9aa0a6;
    font-size: 13px;
    text-align: center;
}


.wk-emojitoolbar {
    padding: 10px;
}


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

.wk-emojitoolbar-emojipanel {
    width: 520px;
    max-width: 520px;
    height: 480px;
    background-color: var(--wk-color-item);
    position: absolute;
    left: 20px;
    top: calc(-480px - 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-main-tab {
    width: 100%;
    height: 40px;
    display: flex;
    border-top: 1px solid #f2f2f2;
    border-top: 1px solid var(--wk-color-line, #f2f2f2);
    border-bottom: 1px solid #f2f2f2;
    border-bottom: 1px solid var(--wk-color-line, #f2f2f2);
    box-sizing: border-box;
}

.wk-emojipanel-main-tab-item {
    flex: 1 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
}

.wk-emojipanel-main-tab-item-selected {
    color: #07C160;
    color: var(--wk-color-primary, #07C160);
    font-weight: 600;
}

.wk-emojipanel-content {
    width: 100%;
    /* 始终减去底部主 tab 栏 40px，内部内容自己负责再次切分 */
    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;
}

.wk-emojipanel-tab-store {
    min-width: 62px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
    color: #07C160;
    color: var(--wk-color-primary, #07C160);
    cursor: pointer;
}

.wk-emojipanel-tab-manage {
    min-width: 90px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 12px;
    color: #64748b;
    cursor: pointer;
}

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-sticker-store-list {
    max-height: 420px;
    overflow-y: auto;
}

.wk-sticker-store-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f2f2f2;
    border-bottom: 1px solid var(--wk-color-line, #f2f2f2);
}

.wk-sticker-store-item-main {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1 1;
}

.wk-sticker-store-item-main img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-sticker-store-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wk-sticker-store-item-text div:last-child {
    color: #9ca3af;
    font-size: 12px;
}

.wk-sticker-store-empty {
    text-align: center;
    padding: 24px 0;
    color: #9ca3af;
}

/* 动态表情 tab：上面是 4 列网格，下面是 pack 封面切换 */
.wk-sticker-tab {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wk-sticker-tab-grid {
    flex: 1 1;
    overflow-y: auto;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    gap: 10px;
}

.wk-sticker-tab-item {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    transition: background-color 0.15s;
}

.wk-sticker-tab-item:hover {
    background-color: #f3f4f6;
    background-color: var(--wk-color-secondary, #f3f4f6);
}

.wk-sticker-tab-item img {
    /* WebP/GIF 原图较小（~100px），需要 width/height 100% 强制放大铺满格子 */
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
}

.wk-sticker-tab-packs {
    display: flex;
    gap: 6px;
    padding: 6px 8px;
    border-top: 1px solid #f2f2f2;
    border-top: 1px solid var(--wk-color-line, #f2f2f2);
    overflow-x: auto;
    flex-shrink: 0;
}

.wk-sticker-tab-pack {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

.wk-sticker-tab-pack img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-sticker-tab-pack-active {
    border-color: #07C160;
    border-color: var(--wk-color-primary, #07C160);
}

.wk-sticker-store-detail-desc {
    color: #9ca3af;
    margin-bottom: 12px;
}

.wk-sticker-store-detail-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.wk-sticker-store-detail-item {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 8px;
}

.wk-sticker-manage-footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.wk-my-sticker-manage-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}

.wk-my-sticker-manage-item {
    width: 76px;
    height: 76px;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.wk-my-sticker-manage-item-selected {
    border-color: #07C160;
    border-color: var(--wk-color-primary, #07C160);
    box-shadow: 0 0 0 1px rgba(7, 193, 96, 0.25);
    box-shadow: 0 0 0 1px var(--qq-theme-soft, rgba(7, 193, 96, 0.25));
}

.wk-category-manage-list {
    max-height: 360px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wk-category-manage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
}

.wk-category-manage-item-selected {
    border-color: #07C160;
    border-color: var(--wk-color-primary, #07C160);
    box-shadow: 0 0 0 1px rgba(7, 193, 96, 0.25);
    box-shadow: 0 0 0 1px var(--qq-theme-soft, rgba(7, 193, 96, 0.25));
}

.wk-category-manage-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-category-manage-item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wk-category-manage-item-text div:last-child {
    color: #9ca3af;
    font-size: 12px;
}

.wk-flame-toolbar-btn {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.15s;
    color: #666;
    color: var(--semi-color-text-2, #666);
}

.wk-flame-toolbar-btn:hover {
    background: rgba(0,0,0,0.06);
    background: var(--semi-color-fill-0, rgba(0,0,0,0.06));
}

.wk-flame-toolbar-btn--on {
    color: #FF4500;
}

.wk-flame-toolbar-btn--loading {
    opacity: 0.5;
    cursor: not-allowed;
}


.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-friendapply-content-count {
    margin-top: 8px;
    text-align: right;
    color: #8f959e;
    font-size: 12px;
}

.wk-friendapply-content-count.exceeded {
    color: #ef4444;
}

.wk-friendapply-content-error {
    margin-top: 6px;
    color: #ef4444;
    font-size: 12px;
}



.wk-iconclick {
   padding: 10px;
}

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

.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 {
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.wk-iconlistitem-content-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

.wk-iconlistitem-content-title {
    font-size: 14px;
    font-weight: 500;
    margin-left: 15px;
}

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

.wk-iconlistitem-content-badge {
    position: absolute;
    right: 15px;
}



.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: 600;
}

.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-indextable {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.wk-indextable-section-title {
    background-color: var(--wk-color-secondary);
    margin-left: 15px;
}

.wk-indextable-item {
    display: flex;
    align-items: center;
    padding: 15px 15px 15px 0px;
    cursor: pointer;
}

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

.wk-indextable-item:hover {
    background-color: var(--wk-color-hover);
}

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

.wk-indextable-item-name {
    margin-left: 15px;
}

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

.wk-indextable-search {
    padding: 10px 0px;
    display: flex;
    overflow: hidden;
    width: 100%;
    background-color: #f4f4f5;
    z-index: 10;
}

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

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

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

.wk-indextable-checkbox {
    margin-right: 10px;
}

.wk-indextable-search-box {
    display: flex;
    min-width: 100px;
    height: 50px;
    background-color: #f4f4f5;
}

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

.wk-indextable-selected-box {
    display: flex;
    overflow-x: scroll;
}

.wk-indextable-search-icon {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.wk-indextable-search-input {
    margin-left: -20px;
    max-width: 100px;
}

.wk-indextable-search-input input {
    flex: 1 1;
    height: 32px;
    font-size: 12px;
    line-height: 18px;
    background-color: transparent;
    color: #1f2329;
    outline: none;
    border: none;
    height: 100%;
    padding-left: 25px;
}

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

.wk-indextable-select-user {
    padding: 0px 5px;
    cursor: pointer;
}

.wk-indextable-search .wk-indextable-select-user img{
    border-radius: 50%;
}

.wk-indextable-contacts {
    width: 100%;
    height: calc(100% - 70px);
    overflow-y: auto;
}

.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: 15px;
    font-weight: 400;
    color: black;
}


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: 14px;
    color: var(--wk-color-font-tip);
    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-qrcodemy {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 弹框内渲染：高度交给内容自适应，避免 height:100% 在自适应 body 里塌陷 */
.wk-qrcodemy--modal {
    height: auto;
}
.wk-qrcodemy--modal .wk-qrcodemy-content-qrcodebox {
    padding: 0;
}

.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-sex-select {
    width: 100%;
    height: 100%;
}

.wk-sex-select-item {
    background-color: white;
    height: 50px;
    width: 100%;
    background-color: var(--wk-color-item);
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wk-sex-select-item .checked {
    color: var(--wk-color-theme);
    margin-left: 40px;
}

.wk-sex-select-item .sex {
    margin-left: 20px;
}
.wk-cartoon-avatar-picker {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 16px;
  background-color: var(--wk-color-secondary);
}

.wk-cartoon-avatar-picker-loading {
  padding: 28px;
  text-align: center;
  color: #999;
}

.wk-cartoon-avatar-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 14px;
  gap: 14px;
}

.wk-cartoon-avatar-picker-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 0.5px solid rgba(0, 0, 0, 0.08);
  background: #f5f5f7;
  cursor: pointer;
  transition: transform 120ms ease;
}

.wk-cartoon-avatar-picker-item:hover {
  transform: scale(1.06);
}


.wk-meinfo {
    background-color: var(--wk-color-secondary);
    position: relative;
    --wk-height-userInfo-footer: 60px;
    --wk-height-userInfo-nav: 44px;
    width: 100%;
    height: 100%;
}

.wk-meinfo-sections {
    
}


.style_wk-popupmenus__kNwqe {
    background-color: white;
    border-radius: 4px;
    box-shadow: -5px 5px 20px 0px #eee, 
    0px 20px 20px -15px #eee;
    display: flex;
    height: 30px;
    align-items: center;
    padding: 0px 0px;
}
.style_wk-popupmenus-item__oFRfI {
    align-items: center;
    display: flex;
    margin: 10px 10px 10px 0px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}
.style_wk-popupmenus-item__oFRfI:first-child {
    margin-left: 10px;
}



.style_wk-popupmenus-comment__txyI9 {
      /* webpackIgnore: true */
    background-image: url(./icons/comment.png);
    background-size: cover;

}

.style_wk-popupmenus-comment__txyI9:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAE4klEQVR4Ae2b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HpH1BtYjcxXyJfDYr0/FB2r5XxlP7uVqfauWT6tsvECb6/WoCZGng+YIrCDXkSzLvApf3kcGDZWp/rLnSQ0o01FOertzLcQzKdj+CKbP+z4ny1mJWAHs7/kWSylfjv2W0DjixLX4F5/x5jb1hr7b/NH80npT1QS0XlA9+tmxvmGwS1/xnhJW/vxi8T7vRy95YzMjMf7SDFlKz9W22NWF92/9dDHr9fu35MBbrBmLGZzKneKn2Cfda/H+8mJ2NPGMK6s+a8X2u3AcvYkvtBMctaaWVZCTMP/KjMaOk01q01cVUjRMY++OqYVz2Ym+3VQqn+Fba5NjQ3yPN8mX1bidWssqyE2yh7r28b5yQclcLT1lu/zZ7xP9d9NKacqFwxvPj3Rn4hU3pp36lleQSjYzltzF+9FpBtKrZJ7UeZ91e4xFMEMPpqauOxCVrp1ayytIJauSZzhrj6ioN6FrEBAOtisctcYNAaQmUu+t0DDeUWO3oYEnmvEMj3u9VvQbBkgtfiC+c5L3o6+dRBAuRsLmgVYk1cxrbsgeVL1g9c8vFhcfioSNs+t907jaX8ZCQAgIASEgBISAEGgRgb8A57BPQY2qtgcAAAAASUVORK5CYII=);
}

.style_wk-popupmenus-like__qTcMl {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAHoklEQVR4Ae2bf2wURRTHuf6ybUqJ2GABFWiLJBhQKC2lRWkMEmpom0DBGBJI/EMDokZIJAQkVSNGjAlEQzT+CmpEUiFwVksQtWJL+pMqEoOQcmqMbYEotOnvH+dnzpvNdG/38I7u3cntJdv35s2b2fe+++bN7Ox03Dj7ZyNgI2AjYCNgI2AjYCNgI2AjYICAw0AWcaLs7OxkjNo2MjLSn56e/lpVVVV/qIyMCdWNgr1PeXl5jNvtPgg4O+j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OVzREbeBOPEd/fDnPfZKWUilDmlJs4G3SdlN0jFvyMM0J84vNkDf4X7XiaSL5F/XA0NDX9Qvm5IBWuDX4Do1AccjDnD5cRYJ8Y16Y3zlvcFa1Cg7bhfoE0C0vcBiCcljuVqPwwYpHAS6iR8nXV1db/KSquNk/cJJ/UBiLB9gfBNBCiHOFEK/ZIV57VwGmnf20bARsBGwEbARsBGIBgE/gEZ69NglfPWnQAAAABJRU5ErkJggg==);
    background-size: cover;
}

.style_wk-popupmenus-like__qTcMl:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAIdUlEQVR4Ae2bf2wcRxXH5+3enX/Q+hzXSRoTe8/9AVKTAFIFqkCQUgEqKDhSk3PitLSIP4qSUqCtRFW1IAMiEkGIVkUViNJSWvzr0rS9GtqKCqq2SDRQUYpBpaX1ndOaxDb2XUhs34+d4Tt3mfVmb++CHa99ze1KvnlvZnZn3mfnzczOjBnzL5+AT8An4BPwCfgEfAI+AZ+ACwFyiau6qPEb2xqzqdk7GOcZY8O6H9C9/8qsVCW1lSpoqeWI3l4tO31iUHB+l2Dsu8ljUz9f6rOWcl/VA0qM/Gg/wGxTxgHUtclo07eU7nVY1S6W2Nl0LeA84oSASgud2BXtseOHnWnLrVdtCzoSbfoII3a/MhhQXiOiUakDGpmM3SOE8PwFVyWgsd2tbQDwmBCsXgIhRik9VNdFmvZVqcsLaVeM9TRfVdS8+606QKNfjNSbZu5xAGiTZhMxE3/d7X2TbxiDM8NoRU9bOPJspyV7JFQdIJpN3Y/m8WFlLzHtNiOW/q3SGYlhJQsSW5XsVVhVgJLd4dvlKKWMhWs9YMRS9yhdhhoxq2NGF7TRnuaFXDWAkrvWbEOnu18ZCbf6g0Eb9yr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U/HNeLx9oH0n52VO6Xf57zLM33ApYrLWFgJIHSsk8rrC+XgJCqOiDwvoXCNxTsHUgmr/EFvK2eVs4pCCaCgrn87x3k9DjeCixgOC/03LQdn0qtYR79on4BPwCfgE/AJ+ASWROB/N1Lg2G2c6yIAAAAASUVORK5CYII=);
}

.style_wk-popupmenus-forward__WW6Ez {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAGs0lEQVR4Ae2afWhVZRjAvftm2RwR7rM5N9IIzfY902CUkYNckoxMSUgJBIkgEkWR5l99YWkEQZ9/iFYsIthsmaQw92H7Ev9QKzFXsrvtpotrmrnPfs/tvONl3rVz7j1neO89L7x7n/Pc97zP8/7O+7wf52zOHDe5BFwCLgGXgEvAJeAScAm4BIIQ8ATR3bGqoqKiBR6PpwEH/fHx8Rs6OzsvO+1snNMGbG5//cTExFLyytHR0S+qqqoSbG7/tuYiChCjp4k8avTikWvXrtXd1iObFfE2t+doc/39/YOZmZnDGFllGFqZm5vb7PV6e50yHFFzkEAgvDzFxcXfIypIfYmJics6OjquOgEpokJMABBiE3FxcZsQ/zCA5DAffWbIthcRFWKq94TadULrLKNpAzqJgsVZWVlDAwMDHaqOXWVEApLOM+9cyM7Onoe43IDxWF5eXkNfX9+gcW1LEXEhpve6sLBwJyHXY+iSZekvKSlJ1euEK0c0oPr6+uGEhITngHBdQBByD4yPj78XLhT9/ogNMdUJQupqTk6OFzhrDV0xoXeeeeqsqhNOGXHL/HSd5RhyiN9k0paVzp+UlPTwqVOneuU6nBTRIaZ3PDU1dStgfhUdo2ne8PDwYTuOIlEDqLW19S8OsOuBNGJAWs5RZK8OMRQ54ucgvdMs/V72Q7fQPWHoVzAftTAfXdLrWZGjZg5SnSa85ChylO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rdRw74iv2LrFTLGbUnbDU2TWOWAOHsWiAtNdoa4kX5gWnatUXNSrWbsNqqGgNOC7mSZfxnpXO6tAQIZzYrh3D0HXlRrq6dKHkYcioPJOwd4siyipFzRelmo5x8HTCTMZbXjJGRkdVSD2fHGOafzHRPuL8zv9WxER1h83kcMB+H214o95sGhKPy72+q/jH+P1BeaDmasCGvTjc4amSGxk2HGHDUpxT5MHd4hnaj5mdTgGpra+Ug+KjW6x80OapFU4B6e3tlB5tmkLjA5swb1VS0zpkCxCatSN3DBN2i5FgoTQEChHyzUuknJcRCaRbQIgWDULuo5FgozQJaqGCwN3EBKRhaqSZoUV3V9FEvmh1BcxUJRtANJcdCaQoQ884koPT0dBdQkJGRrHRNTU3yD0oxk0yNoJihEaSjLqAgUHSVC0inEUR2AQWBoqtcQDqNILILKAgUXWUWkFraVam3EdWyKUC8E67jNcdv7KL3RjUNt3MuAZeAS8Al4BJwCcQSgX8B+1+BtWx3kXwAAAAASUVORK5CYII=);
    background-size: cover;
}

.style_wk-popupmenus-forward__WW6Ez:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAHT0lEQVR4Ae2aa2xURRSA58w+amnZbquUUrrdNvEVAqLI00dCFAImogbZLW2jQYiEBInBiCBgXH75CghqYgIKiQh9bGNMwAcSIUH+GASCoagodreFbSlLuwuUsq87ntky221p2Lu792J3e+dHz8zcmTNnvj0z98zcEqIljYBGQCOgEdAIaAQ0AhoBjcAQBGCIumFb5akxWwMhtg8I8xt0+prx9V1tahtL1R5ASf2hMFtMGJvEGHkiFA7XM8dsvZL6h9KVUYCojv6ALh/mE2GEPOZuPukYalJK1mUUIEtd9+9AYWM/APZ2y2Lz7P6y8rmM2oP49Blj4Labf0I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oBHQCGgENAIjnMB/kA1uZ0VoI4QAAAAASUVORK5CYII=);
    background-size: cover;
}

.style_wk-popupmenus-delete__2OsZD {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAFm0lEQVR4Ae2cXWgcVRSAs5tNdtvV5EHWpAmBWFYCCkKSNcmTCUEXgxUhtIigPlWUPrS1gtS+ND4IraIVH4SiNQj+IAElFgxqoKE+xJC/Vqog+PNgzI+JP90sxs1uNn5nu7NImJ07mZ3dUbwXbu7de87cc+43Z+7M7tybqiqdNAFNQBPQBP61BHxeeTYwMBBcX1/fu7W1VfAhm81maE8ODQ1lvfJrp92CczsF5foci8UOAuUl+m81s+Hz+dK0fxoMBp+anJz82Uynkm0VBdTR0XF2e3v7WZsD/D0QCPRPT09fsalfFrWKAQJOP3DGGYXYlEvoQ/JVIqZwOVGv4zJ7kPY7yFV8/oocm52dlajyJAUqaPUUtnInhEEfnJub+8jMNnPQ6ZWVlY+BGSffhY4AE5ieJH8lrDJQARMTW8C5XAyOyMfGxlJ+v/+k1CVx7N03at78rQggJuY9DLQ+P8QV1VAjkcg3hg5AbzPqXpQVAcQc8ieDW8gPsL+rq+sWq8Gurq7m5qC8znUr3XLLcnOCHSN9fX2h2traaju6ZjoM+nnanxEZUTFLPh4Kha6Gw+HCJJ1MJsMbGxs9yM4Rcfvz/TxCRF3M13dd1NfXp0dGRjZ3fWD+AFuAOjs7X+bucpxjKhJxTgdT5LgUwA8z771TRG7ZbGvAnM1D9GJL19KaN8IggO5zatrWbV7OAJCeoKwVQ9QPUAiwX2j7Utq8Tvi0Fx/uFT/w6QeKa1InrXNXfPFGdfd/bV1iO7ttb29P0SawPpmfn39gp9yLzz09Pa2pVOpHsQ2gc1xSJ9z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FvDJmpqaBP9w4KeJiYmSLlnHjugDNQFNQBPQBDQBTUAT+B8R+BsujpQdJf70rAAAAABJRU5ErkJggg==);
    background-size: cover;
}

.style_wk-popupmenus-delete__2OsZD:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAGAklEQVR4Ae2bfYhUVRTA77lvnXVWnZndXDfX3JmV9Z+K8A8D/0pYMoKUQHY2+7D6Y0sRXEUhTAK3PwItUikKtA8Lqm13RCkhkATNiIIwMjSItNlZt11b3Y/Z/JiZnbmnc+fLZZl59/n2zYzSfTC89+4595xzf3PufV/3MqY3TUAT0AQ0gTuWAFQqsj83t1S7RhI1fFLkY6hx3UjWLe28Bl1dolJxTfebD266oFTnkaC3DRl7CxEDBX0AmwRkxw2YtXFxaOTvgjplLCwroHC7dw8T+IqV9gHAGDJobQ6N/2pFv1Q6ZQPUF/S2MsQTlD3UdkZdCI7Q+VnGId+dUDAPAK5BZPdnGgy/BepalsPBM5OlAqCyW6VScEyObKeEk7HH2wKh8aOFbOPmll19Q1e+Zgwfo99DkejFNaR3pJBuOcp4OZzQeAMIbHnaF8DpYnCkHN69EIcq2JGLCwQ+nDuuxL4sgIY2LHJTd/LKBtIA/I+qof76+b/ndKj/NeeOK7EvC6DGg4M3gMFApoHYOvD8onvMGhu5cjU7BqW1oma6pZZZHqTDLwZmu1M3DbsBxeKx11HgdlmfRukzwPjWmnnG2dSkkR+kSTQnEYuvEIj7kOGSrK+n3W73sezxbe8aYvMnIXQ+cdsVsxUsAeoLet4m/a10dSlLxtltTJF6cc6NDn/v2GdF5KbFlhpM9yPBuxSObHw1XQ1XmVIwEVq6zBucdQgBL1Hau6QtSrvVWWDDdPKTif2yiWiMq6Gr5aOZ+OAvum6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QOuzIMBlgLg2/y94+/Ysa2qM2NA0gF2dfHIub07KdFfpUwqafZMbRD9EReoAZv8oei3U8udPHYEUC6g/nXzG4VI7mAo5PKpKXe2OQ1n9gTmF/pbDvlrlx4o9YpoRwHlmk/dC4ZeWLR48maiXhjJeZAEd05mZ89p6Thl5jWObGLuHO+l2k/6ZtRl7cSg62gCmoAmoAloApqAJvB/I/AfApesHm/AJwcAAAAASUVORK5CYII=);
    background-size: cover;
}

.style_wk-popupmenus-mulselect__MhgEq {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAFWElEQVR4Ae2bXWgcVRTH8520QoJpbJJVo5IoCqmaT4mBGl8ii01aCtE++CJ+IAi2lmJFH7L6oNQgSkt9kkTBl5qnBJS8iKkNpPlG7UtLA1bErWQbNEIh3/7Osne5c3eztRFkMnsu3Nx7zj0zmfPbe2dn/jObk6NFCSgBJaAElIASUAJKQAkoASWgBP5vAvnb/Yc9PT35xcXFfaFQaKC6unozGo1e3O6+/Lxd7nYOrqmpaffm5uY56gHZPjc39/fZ2dm7t7Mvv2+T5x5gJBJJ8dkxra2tewDznYEjYwDqt2OC1PfMoMbGxgiJn8jLy+ufnp4+SuKbdrINDQ334Rsh5mHjx/6A2fOusd2WfTYRc6/r95O9QSHnqZmZmah7XB5AAPiNgPhSIamPSPyk2YBltQ8wAieU8G0Q8wYxZ02M2wLnOeLPuX6f2otlZWW1o6Ojf9rH51lOUBwwgyT2Fgm+KnZLS8tT2BeoBs5yfn7+85ngyHbEPyTtDinlS0tLFe6xFtiOrq6u3qGhoX34Dib8Z5lVD6ytrb2JXSw+Zs1fgDzEEhwVO1MpKio6vbKychfb1GSK88HYBscwwgd+1T0WzxKTwcQ31Hk+/eaUYL6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Pl1T/J85GYMnDW+8g/yo5Zv3bEg2SnXQZIcTy9mAfAodSxdsvgvUZ8IOhzJPe0MMlDkacbw8HAn9tPUvUBZZFaN1dbWfjM4OLhi4rRVAkpACSgBJaAE/EjgH2HcEZLo1uc8AAAAAElFTkSuQmCC);
    background-size: cover;
}

.style_wk-popupmenus-mulselect__MhgEq:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAF9ElEQVR4Ae2bX2xTVRzHf+fcjjr+tN0YTPeHdmEacUNENIaQQHyREDAQs7sRg0ajEhODDELE6MOqDxpB0UDgyQxMiNBur5i9EFGWCAFN1PEAmqzd5oYy1j9uspX2HH/nbre797R2f15su3Mfes75nd9pzu/T37m9/Z5TAHUpAoqAIqAIKAKKgCKgCCgCioAioAgUDAGu61qo2f1pSHf90dvsOVAwE5/jRMkc/Q33wb1VixMjowEOsEMYCIFBX0e8ej7vle9jqDxB7vdn2Kw+Ay9XL09ERi+acIw+QtutPsVUt2UQLhU/4fwQpkS7NxDZTwhBDtPX4IsebyLButD4qGklQD7ydcbeN9tyGdbdGxghtbI9n9oaB8acjmu+s8ND8rxsgEK6e4BzPrlUKDlSF4wdNgf062VrU5Dq4hyqhA2XFQMCb/uC8ZOmj1yGm93NjPGAbM/HNibDCF9CVtediUat87MvJ0JOpzsZfwc//b2i3a97tiSBXTbhoGkCM6clFxwxjjP+iCgL4cLEKHeMsQp5rg6rwftYa1uo59hatO0Udhx0EiHVJTkT31JOYcPUiYFGdnnPRy8Z7Rwvy5yO4/GJ5Ar8dFblcPv/u3CJEQpdtcHY7/JkbEtMdE5+Q419x4E/leGM31aaQ9tWey7yi9xXrO0MQCLQXn3FgwCJq5hC0588gZvOErq16utouFhhZIvLfg+a8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YiYcZ/7OuMHzf5iKzE++8X1hkVhGPgRATSKHsyQf5BUOz4w/oq3kno0vYZ95ZN9MKQRaKztiFuWnOgpnisDkAgt1OJ+ElJwGZ+g0/cjOWQcmASq7fQFI9/IfcXUzngOEsH5ArGfqAaP49Nyd7Zgcen14D9+nil2OCL2rBlkQhG7GaEbx57DJfYs5XwlLjFcSrTbC9UXSMeNhOmnSkVAEVAEFAFFQBHIRwL/AjGFE+mcjazPAAAAAElFTkSuQmCC);
    background-size: cover;
}

.style_wk-popupmenus-revoke__S8LvT {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAASKADAAQAAAABAAAASAAAAACQMUbvAAAHY0lEQVR4Ae2bbUxVZRzA5UUIYmAvK14Clpg4nRkIXEFZfsjSzMuWudIPrTk33MxVy9ZWq6G9+6Vay9xcNZupjZmaVstkUgkoCHwpFBKHY4C05eWlJe/0e4zn7uGMyz333nMO3nvP2R6el3Pu8/8/v/N//s/bYdYs+7IJ2ARsAjYBm0CwEoiySvGysrLI3t7enSkpKd8SlmzduvVoZWXluFXy/ZUT4e8PffndypUrE/r6+r4eHx93yt9FR0cvr6urq5b5WzWONluxpUuXZmA53yFniZQVERFxA0BXZf5WjiPNVA44jrGxsVpkuOGQ7omKinLW1NR0mCnbqLpNA5SXl7eRLlWJovdKZbGcy8BZRtc6Lctu9dhwQECJyMnJ2TU6OnqQ9G0SAHDOxMbGOi5cuNAsy4IhNtRJFxYWxg0ODu4HzAa18cDZR9hWX18/rJYHQ9owQFhNKhCOAydPafgYZTsaGho+VMqCKmkIIJxxLs5YjFRpsvWA6Y+MjHyGLvWDLAvGOGAfhOWsx2p+U+GQbgNOUbDDES80IEC5ubmvU0c5gOJFZRNXVUJCQgFwfpcFwRz7tdRYs2ZNbGJionDGL9J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0PK4QU5ZdpbbAkgoQRrtJ85OMzhbZaRLSHfKMqtuJA5TvhJygLQWqYBur5L0PWQrDjQ+Ny5c23UsTPQevz5PYDEZp/86R39/f1i66ZVFniKLbMgTwpYVQ6gTlUWsMS2idcrbABBoktDQ+wteb3CCdC/Ghq2BWmAaLNztAVT5cPJgia1H5+ka9EaToCSVEI4aa1PUm+702EDSDtqaUc1NxFNImwAcSw0adRiJj9p2NdwcWfDBhAWs0C2mvRVNvDaZX66OCwAcbgwGwjiHO3mBSDxsZeuKywA0Z0exge5nTR5G5BqHmySbZR5rKcXf/SLzHuLQ96CCgoK5gPhWQkCS/qM7Q/dX9taupqXSloZDw8Pv4M82U5XUlLSB77ID2kL4mt/sUn3lARC93pPnHbIvJ44ZAEBJxtfc1BCEEM731V+IvN6Y0MPDvUKNfs5hnVxzHSWcPM4HDg3kFnM/ni9r7JDzoL4Em4hYM5LOAIIgLb4A0f8NqQAcfTtxCnXAGeuaJy4gLObUcvd1f4v1f83JLoYh5Hi85vdgHlMbToTwrc5HHgTSO7NaPW+nnTQAhIfJ/BvnmtppPhXiBJid28AyABwNgPnkB4I0z0zo4A4J8/ng6dlNMbdOE/KAiGGe2JFnko6HQj5xGKNNemi/AphE93q/KQbfmZmDBDdYjUNFP8JZJQO1wHzFsfKezjR1XWsrIeZnGHqedbQZ2jMKgAFDId6uqhnv5ghi0kgo5Whes4YIBr1PY17gdjXDyjEKWkLFI4TjoquRN5vJ+yNZsBv0JuA6e7jghbhgxzT+SDReGbELuoR/6vRSdzly2JzOvn2PZuATcAmYBOwCdgEbAI2Ac8E/gPDDKeya9rv9gAAAABJRU5ErkJggg==);
    background-size: cover;
}

.style_wk-popupmenus-revoke__S8LvT:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABA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jKjAbkneOchq2N2QqIFcZph1KPKWYsoCNaydU4o6uJECCfGOxcFanHJ2UkoOaq0pJO1rlFjlzoWmexcT+r/H1ve3xYIndlHCCfVjy2s+vMLmyxXh15TPEwtnz3ROrxSxkFqFErmqGz8E/YgB5tIuC00u1pU7qaeSUuAacx/f+nqco5PhTSV6JLTVGfBm+YvOSq87/QvWmvXrAg91tAxssJdFqfjlPTWZjnzMTxttkbcNzcjqXFwvL6to8ssLjgrRcVUGNlwS0izCZib8Z8uAt6CSW6DY6uxXC8sF5KQowCgFvUt0jk53D2dsiRkzNvVG3LLqlLpLxogBq0gqk4rdqBSVxSfEA3asU7pi+6acRq8vzamQgU9bNpPRdTDYPKpGTAQTtHAecDY4Z8bhJoaR6ounRB+aIBQuB8igPPx5A7LL3EACAIFPYncs8WRo5NLnSlRJLwBakoyqSEt9KeJdFXVTxOhPUJ+JeqnnMQ9ibwgrgff5oH6KJ5uHP0USuLTUsO2TfbBGwCNgGbgE3AJmATsAmYBP4FPRiIVdFLoSsAAAAASUVORK5CYII=);
    background-size: cover;
}

.style_wk-popupmenus-favorites__6MBwY {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAB/lJREFUeF7tnAesrEUVgD96UaoIwYj0ohBpggZQkF4NGFCBBOkIKE2pwUACBJDelWpEBaRjoSMGla5BSigqYlQgaCRKDRDI93LmZt7/7t6/zL27e9+7J9ncfbsz85/5dv45Z845/5uNKRmTwGxTfMYmMEyAPgX8FXhrmH60YQF0NfBV4P/AicD3hgXSMAA6FTiiAmQX4KphgDRoQGsBjwDq8TKwREDxs3WmAMGFwP4B4gRg3wzS3sBlg4Y0yBX0aeBRYM7Ye9ykBfTdgPIg8LlZGdB5wDcDwJnAt4GPA38EFovP9wB+OEhIg1pBq8bqmQd4F1gNeCZAnAQcE+9/D6w/KwI6Gzg4Jv79bB/yo6VjFS0S3+8GXDkoSINYQavE6pk/Jq0l87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zHd1bBNOP/1biIxmoVAyVdLHQQkdU6TrPzh3zA2FSSGskGF9aqX6KdQL6Vq4ob6tcDLtq6jtJV7KbR7TOGmuXtOlowTQuCuikbX0nS3qFZB2T4Rdvb1M/nfe/roCSqlZPTPgjSfVcJq5FKaCJ02xIRp4CVPNDTAGqAfQB5mVuWFT3ffkAAAAASUVORK5CYII=);
    background-size: cover;
}

.style_wk-popupmenus-favorites__6MBwY:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAC2dJREFUeF7tnA1wXFUVx//n7qalRdCiyOCAkGpt9u222bcN6iAfgiLI1whjCSb7tqWUKqYIyofK4MgMMiIVVEzainy0+9IWrChKLYh8OSBfTfZt2uzbNA22MH7ggANaaRuy7x3nvn2bbrb52H1vm4S2d2Ynk7x77j3nt/fdc++554ZwqIxKgA7xGZ3ApAGUag4r/6l5569nrNqxZzJ9aZMCUEoLP0DgRgJ2MvgHqp69fbJAmnBAhhb6EUA3FANhQU2x1Zl1kwHShALqiIdiAaIOAFKPfwE4Jg+FO1Q9e9JBD8jQwssBvlKCIOZbmGhJARKDF8f07L0TDWnCRtCWRGRuju1OAEEAO4UdVCwaWEJE33OhvKTq5qcPWkCphPJzYix1XijGnbF289qu5rnH2SJnAPiQC+YyVTdXTSSkCRlB6QVKmG3I0TOVGTkLVuSk9q1bJQgjrtwKwo3uXPS8qmc/c9ABMhLhn4L5amfuAVZGddOZh2RJNYVOoADJUTTDGV3gREzP6hMFadxH0OaFc+osy5KjZ7oDiBCLJk0JZLCkEqHbiOnbeUB4Nqabpx00gFJx5Q4ifCtvMCVVPbOg1PjNl82ZmctZBgFH5qtRs5rMrJ0ISOM6goym0CwESI6eI9zX69Sobj43nOFGQlkGxnVuvaejunnmgQ8oHr4dxNe7hq5XdfOSkYxOJ+o+wSxSAA6XdWziS+clsw+ON6RxG0EvN82ZOSVgdbA7+ZIQZ0dXdz8+msGGFroToG+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YNCaDrngoJk8VCHQ65xMK5A58mw08zJb9p3lre2ReYkWlUwtfIMC/r5Yn8wOo4ME4OFUcO+eesQPgg6+BvLMRFC3M9lICBYYlwHLtSSsstlY2rOnZUi4l9z5Ib7U8mR9AhY1hr1qULjKaIVsWR44Z6OelBJY3DZ1kiTJKvwRFZK2IJnsKho8qZiSUv7sZaL49mSdAQ/dgY18r6Fgyb3pgz64WMMmM+eOKrHuLQW2C+JFgDfXt2TUgAqJmNglexMCiEgo7JSi27OWxtdlXRyNkxJWNIOQjCz49mTdARR6MCHdGk+a1Iymc0pSvAbiaAJnYWSgDALXZjLZ5w5yHy0opre50gpA5OzLNbrAw8G8BWhEMcNtIuUtpTfkxA65O7GtP5g1Qkadg4MqYbq4sBWTElWYQZArNkPvvBNwLQlvpLcORAHcm6s4nFi0EDLmjIZM0QbQimBOtpZluRjy0GET5LYfPPZk3QEUeTIA+V69nnioYmIorFxLhGgBDYkMEepCY2+rbzWfLmHf2qdKlhS+1wXJEubv1wSqvArzcmja9tXBqkdaUU+RVTreGrz2ZV0COByNCP1nBj9ev2fy3dCJ8BoOvAePCEus2AtxWjdCDbNfQwlcgD6p+SD9O+iC3RfsjrZ3BrhmBYFAmJEzzuyfzCqjgwbph0yIIliPGXb3m1ZbfIBO37Y9bgt3zlSm5w6iF86A+VvKFZBhoJfDlADUA8OXJvAJyQpsE+g2DLy5R0GBw23j8W4mXEnUfrOFAC+VBOclQhSITLQiIyd/9xKe9Atq7Idyrk0zGbrOmTW9ruLtzwMs841XGbAqdsDtIS4m5hUDytSouO1TdlDcCPBVPgDqa674gBC0j0FznUgn4AWEF2yY6b1pevpP3yhiQeUwy/PIgwOv9zH+eAA16rOawMh5Xkjx99VUS8gWoSjpM6mYOARrj6zkEaAxA/wesVU+Fw61lkwAAAABJRU5ErkJggg==);
    background-size: cover;
}

.style_wk-popupmenus-copy__L3h6W {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAA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PWE6/XE/sBUAlglMAFACVen+1fzx4UBfwIK1I0WZhbYhpC0E6/46be2CbA6B8QHkp12RRJ/fqLMSgAKiERwRAnQlonTWI1RAlTWUtSoWTnlZqp9V1kNYKdXOcNtZn6ZpSva3guF3DpMk1oHpr54wKpKyswNDOusQuD9TgGpCyAEr4m8WZaqVQip1V/QzUuwakO6/t2XaxI73+ldJNY02QEYBuol3QRWu+j/oAJEjFKllVpe5YB57PuE6bfcn/0OALkBTWakUr5du3xMR8ApIOvRWk0Cze1IEbXNVTb0c5+ZyCcb4BxT3UnNv4aO5N+yHS0t5EnyGCUrCS3j9tpBamGTRC8QAAAABJRU5ErkJggg==);
    background-size: cover;
    width: 16px;
    height: 16px;
}

.style_wk-popupmenus-copy__L3h6W:hover {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAABZZJREFUeF7tnF1sFFUUx/9npgjRYJQQEwLGslbtzrZ0t0URo4kkiIDxAeIXtLPUECAhYqLxAeOD8GBoYoyJEhM/0LJT/EwgIZFqNIGoiRC73aXQ2YIFqsEYEyPGB5OmnXvMlN1hO2zd3e6dtix3H3fu/M89v3vuvbvnzhxCgc/R9to5czG3lkZFrQ6uc4D5hdpNx3e6hl9ZiPOowVCsc2Ao6D6Q30DKjGwB+BUAdwRtvGJ9wneCxIst+weSFWtNIDAOUMo0PgLQHpSxwHQZ22Jd9ntB6HuA0qaxh4GdQRiZCk0NuL/Jsk/ItjUGKLmpvkUTWo9PvFNoYu+skVnnl3x86pJsw5PVs9vCC4Z1LcSCXydgeU6HgD8uhW5btGL3sdHJahe6bwxQyjS+AbDSM0a8PprIHJJpKAitZJuxSyO8mgfpjahlvyTTFvWYxjIdOJ4TFYzdLV32LplGgtRKm8ZhBh7P2rgYs+zbZdqjdNzYwYy3cqKOEEuWHhg4JdNIkFqpNmMrCO96A0xOU0viTJ8sm5QyjS4ArVnBoZhlL5YlPhU6p9sidSPEP3u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XU095YrztO/psznTHLfrbcjk5Xe395IDc/LxWQW7nqFudGN+HvFWeia6RQSjoeXsc8Lqv6y9/6v/VSAWUzk24Fq/HFjhi7HBYHZ2JNkJ7W+kadtPUg+Aq60NaY1f++dECXIU1YyWoI4MDrjpU+Rcl9ua/QC37e0hAIoGz69pqsaEVAR9SyX/YShKXTLr9ldlfoyC/eVL7KlN3xrdDETv+uG1gE5bvlFnGqIdzH7J698cIpc7moIToLRlLoIjnRz5H/AN3JkWl3wnZtAAAAAElFTkSuQmCC);
    background-size: cover;
}


.wk-receipt-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}

.wk-receipt-detail-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wk-receipt-detail-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

.wk-receipt-detail-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.wk-receipt-detail-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border-radius: 16px;
  background: #f8fafc;
  color: #475569;
  font-size: 14px;
}

.wk-receipt-detail-state-error {
  color: #b42318;
  background: #fff1f1;
}

.wk-receipt-detail-list {
  display: flex;
  flex-direction: column;
  max-height: 420px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
}

.wk-receipt-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
}

.wk-receipt-detail-item:last-child {
  border-bottom: none;
}

.wk-receipt-detail-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
  font-size: 16px;
  font-weight: 600;
}

.wk-receipt-detail-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wk-receipt-detail-avatar span {
  position: relative;
  z-index: 1;
}

.wk-receipt-detail-main {
  display: flex;
  flex: 1 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.wk-receipt-detail-name {
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  word-break: break-all;
}

.wk-receipt-detail-uid {
  color: #6b7280;
  font-size: 12px;
  word-break: break-all;
}

.wk-receipt-detail-footer {
  display: flex;
  justify-content: center;
}

.wk-message-richtext-content {
    word-break: break-word;
    line-height: 1.5;
    margin: 0;
}

.wk-message-richtext-mention {
    cursor: pointer;
    font-weight: 500;
}

.wk-message-richtext-mention-send {
    color: #fff;
    text-decoration: underline;
}

.wk-message-richtext-mention-recv {
    color: #1f8aff;
}

.wk-richtext-toolbar-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wk-richtext-toolbar-imgs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
}

.wk-richtext-toolbar-img {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: #f7f7f7;
    border-radius: 6px;
}

.wk-richtext-toolbar-img img {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-richtext-toolbar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}



.wk-search-box {
    display: flex;
    min-width: 200px;
    height: 45px;
    background-color: #f4f4f5;
    border-radius: 25px;
}

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

.wk-search-icon {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.wk-search-input {
    margin-left: 10px;
    max-width: 100px;
}

.wk-search-input 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%;
}

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


.wk-search-input .semi-input-wrapper{
    height: 100%;
    background-color: white;
}

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

.wk-search-input .semi-input-wrapper-focus {
    border: none !important;
}

.wk-search-input .semi-input-wrapper-focus:active {
    border-color: none !important;
}

.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;
}
/* StickerStore J1 实施 2026-04-25 */

.wk-sticker-store-modal .semi-modal-body {
    padding: 16px 24px 24px;
}

.wk-sticker-store-body {
    margin-top: 12px;
    max-height: 480px;
    overflow-y: auto;
}

.wk-sticker-store-loading {
    display: flex;
    justify-content: center;
    padding: 60px 0;
}

.wk-sticker-store-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
    gap: 12px;
}

.wk-sticker-store-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #e5e6eb;
    border: 1px solid var(--semi-color-border, #e5e6eb);
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.15s ease;
}

.wk-sticker-store-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.wk-sticker-store-cover {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    -o-object-fit: cover;
       object-fit: cover;
    background: #f5f5f5;
}

.wk-sticker-store-meta {
    flex: 1 1;
    min-width: 0;
}

.wk-sticker-store-name {
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-sticker-store-desc {
    color: #86909c;
    color: var(--semi-color-text-2, #86909c);
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-sticker-store-count {
    color: #86909c;
    color: var(--semi-color-text-2, #86909c);
    font-size: 12px;
}

.wk-sticker-store-add-btn {
    align-self: center;
}

.wk-sticker-store-preview-head {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid #e5e6eb;
    border: 1px solid var(--semi-color-border, #e5e6eb);
    border-radius: 10px;
    margin-bottom: 12px;
}

.wk-sticker-store-preview-head img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
}

.wk-sticker-store-preview-head .meta {
    flex: 1 1;
}

.wk-sticker-store-preview-head .name {
    font-weight: 600;
}

.wk-sticker-store-preview-head .desc {
    font-size: 12px;
    color: #86909c;
    color: var(--semi-color-text-2, #86909c);
}

.wk-sticker-store-preview-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 8px;
    gap: 8px;
}

.wk-sticker-store-preview-cell {
    aspect-ratio: 1 / 1;
    background: #f7f8fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-sticker-store-preview-cell img {
    max-width: 100%;
    max-height: 100%;
}



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

.wk-subscribers-content {
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
    /* round6：顶部留白，避免首行成员的 SVIP / 群主 / 水军 角标被面板顶边裁切 */
    padding-top: 10px;
}

.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-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.wk-subscribers-item-robot-badge {
    position: absolute;
    right: -4px;
    bottom: -2px;
    min-width: 24px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wk-color-theme);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 6px var(--qq-theme-soft);
}

.wk-subscribers-item-role-badge {
    position: absolute;
    /* round6：对齐 h5 —— 角标移到头像底部居中(原 bottom-right 偏出右侧) */
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 24px;
    height: 16px;
    padding: 0 3px;
    border-radius: 999px;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
}

/* round6：角色色对齐 h5 —— 群主金、管理员蓝、水军橙红，统一白字 */
.wk-subscribers-item-role-owner {
    background: #ffb52e;
    box-shadow: 0 2px 6px rgba(255, 181, 46, 0.35);
}

.wk-subscribers-item-role-manager {
    background: #2c7fe6;
    box-shadow: 0 2px 6px rgba(44, 127, 230, 0.35);
}

.wk-subscribers-item-role-operator {
    background: #ff8a3d;
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 138, 61, 0.35);
}

.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-userinfo {
    background-color: var(--wk-color-secondary);
    position: relative;
    --wk-height-userInfo-nav: 44px;
    width: 100%;
    height: 100%;
}

.wk-userinfo-user {
    display: flex;
}

.wk-userinfo-content {
    width: 100%;
    height: 100%;
    overflow: auto;
}

/* 资料页顶部操作区（对齐 h5）：发送消息 + 音视频通话 并排，单按钮整行兜底 */
.wk-userinfo-actions {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    align-items: center;
}

.wk-userinfo-action-full {
    flex: 1 1;
}

.wk-userinfo-action-full .semi-button {
    width: 100%;
    height: 44px;
}

.wk-userinfo-actions .wk-userinfo-btn-primary {
    flex: 1 1;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2DCB78, #06AD56);
}

.wk-userinfo-actions .wk-userinfo-btn-ghost,
.wk-userinfo-actions .wk-userinfo-btn-ghost.semi-button {
    height: 44px;
    border-radius: 10px;
    padding: 0 16px;
    background: #fff;
    background: var(--wk-color-secondary, #fff);
    border: 1px solid #eceaf1;
    border: 1px solid var(--wk-color-line, #eceaf1);
    color: #07C160;
    color: var(--wk-color-theme, #07C160);
}

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

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

.wk-userinfo-user-avatar {
    margin-left: 20px;
    border-radius: 40%;
    background-color: var(--wk-color-item);
    width: 54px;
    height: 54px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-userinfo-user-avatar  img{
    width: 50px;
    height: 50px;
    border-radius: 40%;
    /* round6：资料页头像按比例裁剪，避免非方形图被拉伸变形 */
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-userinfo-user-avatar-robot-badge {
    position: absolute;
    right: -6px;
    bottom: -4px;
    min-width: 26px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wk-color-theme);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 6px var(--qq-theme-soft);
}

.wk-userinfo-user-info-name {
    font-size: 16px;
    color: var(--wk-text-item);
}

.wk-userinfo-user-info-sex {
    font-size: 13px;
    color: #8b8696;
    margin-left: 4px;
}

.wk-userinfo-user-info-others  ul {
    margin-bottom: 0px;
    margin-top: 2px;
}

.wk-userinfo-user-info-others li {
    color: #8b8696;
}

.wk-userinfo-user-info-signature {
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
}

.wk-userinfo-sections{
    margin-top: 20px;
}

.wk-userinfo-relation-tip {
    margin: 8px 15px 0 15px;
    text-align: center;
    color: var(--wk-color-font-tip);
    font-size: 13px;
}

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

.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;
}

/* Compact, centered confirmation surface shared by IM prompts. */
.wk-base-modal-alert .semi-modal-content {
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2) !important;
}

.wk-base-modal-alert .semi-modal-header {
  min-height: 0;
  margin: 0 !important;
  padding: 22px 24px 0 !important;
  border: 0 !important;
  text-align: center;
}

.wk-base-modal-alert .semi-modal-body-wrapper {
  margin: 0 !important;
}

.wk-base-modal-alert .semi-modal-body {
  margin: 0 !important;
  padding: 28px 24px 24px !important;
}

.wk-base-modal-alert__content {
  color: #191919;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

.wk-base-modal-alert .semi-modal-footer {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.wk-base-modal-alert .semi-modal-footer .semi-button {
  flex: 1 1;
  height: 50px;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #07c160 !important;
  font-size: 16px;
  font-weight: 500;
}

.wk-base-modal-alert .semi-modal-footer .semi-button + .semi-button {
  border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.wk-base-modal-alert .semi-modal-footer .semi-button:active {
  background: rgba(0, 0, 0, 0.05) !important;
}

/* 加入组织 */
.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: 2px solid var(--wk-ui-primary);
  outline-offset: 2px;
}

.wk-base-modal-prompt .semi-modal-content {
  overflow: hidden;
  padding: 0 !important;
  border-radius: var(--wk-ui-radius-modal) !important;
  background: var(--wk-ui-surface) !important;
  box-shadow: var(--wk-ui-shadow-modal) !important;
}

.wk-base-modal-prompt .semi-modal-body-wrapper { margin: 0 !important; }
.wk-base-modal-prompt .semi-modal-body { margin: 0 !important; padding: 0 !important; }
.wk-base-modal-prompt .semi-modal-close { top: 12px; right: 12px; }

.wk-group-name-dialog { padding: 22px 22px 18px; color: var(--wk-ui-text-1); }
.wk-group-name-dialog__title { margin: 0 36px 6px 0; font-size: var(--wk-ui-font-overlay-title); line-height: 1.45; }
.wk-group-name-dialog__help { margin: 0 0 18px; color: var(--wk-ui-text-2); font-size: var(--wk-ui-font-overlay-caption); line-height: 1.5; }
.wk-group-name-dialog__label { display: block; margin-bottom: 7px; font-size: var(--wk-ui-font-overlay-body); font-weight: 500; }
.wk-group-name-dialog__input { width: 100%; box-sizing: border-box; font-size: var(--wk-ui-font-overlay-body); }
.wk-group-name-dialog__error { margin-top: 7px; color: var(--wk-ui-danger); font-size: var(--wk-ui-font-overlay-caption); }
.wk-group-name-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.wk-group-name-dialog__actions .wk-ui-button { min-width: 82px; font-size: var(--wk-ui-font-overlay-action); }
.wk-base-floating-rail {
  position: fixed;
  right: 20px;
  /* Keep the entire input area clear, including expanded reply and keyboard layouts. */
  bottom: max(168px, calc(env(safe-area-inset-bottom) + 16px));
  bottom: max(var(--wk-floating-rail-bottom, 168px), calc(env(safe-area-inset-bottom) + 16px));
  z-index: var(--wk-ui-layer-floating);
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.wk-base-floating-rail.has-floating-window {
  bottom: 240px;
  bottom: var(--wk-floating-rail-bottom, 240px);
}

.wk-base-floating-rail__item {
  position: relative;
  pointer-events: auto;
}



.wk-subscrierlist {
    background-color: var(--qq-panel-bg);
    width: 100%;
    height: 100%;
    overflow: scroll;
}

.wk-subscrierlist-blocked {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
    box-sizing: border-box;
}

.wk-subscrierlist-blocked-text {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.wk-subscrierlist-list-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--qq-divider);
    transition: background 0.15s ease;
}

.wk-subscrierlist-list-item:hover {
    background-color: var(--qq-hover);
}

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

.wk-subscrierlist-item-avatar-inner {
    position: relative;
    width: 48px;
    height: 48px;
}

.wk-subscrierlist-item-robot-badge {
    position: absolute;
    right: -6px;
    bottom: -2px;
    min-width: 24px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wk-color-theme);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 6px var(--qq-theme-soft);
}

.wk-subscrierlist-item-role-owner {
    background: #f5a623 !important;
    box-shadow: 0 2px 6px rgba(245, 166, 35, 0.35) !important;
}

.wk-subscrierlist-item-role-manager {
    background: #4a90d9 !important;
    box-shadow: 0 2px 6px rgba(74, 144, 217, 0.35) !important;
}

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

.wk-subscrierlist-item-desc {
    font-size: 14px;
    color: #666;
}

.wk-subscrierlist-item-kick {
    margin-left: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--qq-radius-control);
    border: 1px solid rgba(250, 81, 81, 0.5);
    background: var(--qq-panel-bg);
    color: var(--qq-unread);
    font-size: 12px;
    cursor: pointer;
    line-height: 1.4;
    transition: background 0.15s ease;
}

.wk-subscrierlist-item-kick:hover {
    background: rgba(250, 81, 81, 0.08);
}


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

.wk-contactsselect {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

}
.wk-videotoolbar {
    width: 32px;
    height: 32px;
}

.wk-videotoolbar-content {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.wk-videotoolbar-content-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-videotoolbar-content-icon img {
    width: 24px;
    height: 24px;
}

.wk-videodialog {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.wk-videodialog-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.wk-videodialog-content {
    position: relative;
    width: min(520px, calc(100vw - 32px));
    margin: 8vh auto 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.wk-videodialog-content-title {
    padding: 16px 20px 0;
    font-size: 16px;
    font-weight: 600;
}

.wk-videodialog-content-body {
    padding: 16px 20px 20px;
}

.wk-videodialog-preview {
    width: 100%;
    max-height: 320px;
    border-radius: 10px;
    background: #000;
}

.wk-videodialog-meta {
    margin-top: 12px;
}

.wk-videodialog-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2329;
    word-break: break-all;
}

.wk-videodialog-desc {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.wk-videodialog-footer {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.wk-videodialog-footer button {
    border: 0;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
}

.wk-videodialog-footer-okbtn {
    color: #fff;
}


.wk-layout {
    --wk-width-layout-tab: 60px;
    --wk-height-layout-tab-min: 60px;
    --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;
}

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

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

.wk-layout-content-left {
    width: var( --wk-width-layout-content-left);
    height: 100%;
    background-color: transparent;
    background-color: var(--qq-list-bg, transparent);
    border-right: 1px solid transparent;
    border-right: 1px solid var(--qq-divider, transparent);
    box-sizing: border-box;
}

.wk-layout-content-right {
    width: calc(100% - var(--wk-width-layout-content-left));
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    background-color: var(--qq-chat-bg, transparent);
}

@media screen and (max-width: 640px)  {

    /* .wk-layout {
        flex-direction: column-reverse;
    }

    .wk-layout-tab {
        height: var(--wk-height-layout-tab-min);
        width: 100%;
    } */
    .wk-layout-content-right {
        width: 100%;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        transform: translate3d(0, 0, 0);
        transition: transform var(--wk-layer-transition);
    }

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

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

:root {
    --wk-height-navheader: 64px;
}

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

.wk-navheader-content {
    padding: 0px 20px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wk-navheader-content-left-title {
    font-size: 24px;
    font-weight: 500;
}

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

.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-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-message-system {
    padding: 10px 20px;
    width: 85%;
    margin: 0 auto;
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: var(--qq-text-secondary);
    white-space:  pre-line;
}
body[theme-mode=dark] .wk-message-system  {
    color: #999;
}
.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-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: Helvetica;
}

.wk-message-text-richtext {
    
}

.wk-message-text-richmention {
    cursor: pointer;
    text-decoration: underline;
}

/* 17.13.5 V2.1：被 @ 成员退群后的降级渲染：不可点击、无下划线、与普通文本同色 */
.wk-message-text-richmention-left {
    cursor: default;
    text-decoration: none;
}

.wk-message-text-send {
    color: var(--qq-bubble-me-text);
}

.wk-message-text-recv {
    color: var(--qq-bubble-other-text);
}

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: rgb(255, 255, 255,0.5);
    font-size: 14px;
    flex-direction: column;
    cursor: pointer;
}

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


.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;
}


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

.wk-message-video-content-time {
    align-items: center;
    background-color: rgba(0,0,0,.35);
    border-radius: 12px;
    color: #fff;
    display: flex;
    font-size: 12px;
    height: 1.125rem;
    left: 6px;
    line-height: 1;
    padding: 0 6px;
    position: absolute;
    top: 6px;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 2;
}

.wk-message-video-content-video img {
    border-radius: 4px;
    cursor: pointer;
}

.wk-message-video-status {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    min-height: 120px;
    padding: 16px;
    color: rgba(255, 255, 255, 0.9);
    background: #202020;
    text-align: center;
}

.wk-message-video-status button {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 4px;
    padding: 5px 12px;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.flexible-modal {
    position: absolute;
    z-index: 1;
    border: 1px solid #ccc;
    background: white;
  }
  .flexible-modal-mask {
    position: fixed;
    height: 100%;
    background: rgba(55, 55, 55, 0.6);
    top:0;
    left:0;
    right:0;
    bottom:0;
  }
  .flexible-modal-resizer {
    position:absolute;
    right:0;
    bottom:0;
    cursor:se-resize;
    margin:5px;
    border-bottom: solid 2px #333;
    border-right: solid 2px #333;
  }
  .flexible-modal-drag-area{
    background: rgba(22, 22, 333, 0.2);
    height: 50px;
    position:absolute;
    right:0;
    top:0;
    cursor:move;
  }

.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;
    align-items: center;
}

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

.wk-message-voice-unread {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff5b5b;
    margin-left: 6px;
    margin-top: 5px;
    flex-shrink: 0;
}

.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%;
}

/* WanxiangIM shared design contract.
 * All Web, Hybrid and embedded native-WebView business surfaces consume these
 * semantic tokens and primitives.  Product pages own layout only; color,
 * spacing, feedback and overlay treatment stay here. */
:root {
  color-scheme: light;
  --wk-ui-primary: #07c160;
  --wk-ui-primary-press: #06ad56;
  --wk-ui-primary-active: #059b4d;
  --wk-ui-primary-soft: #e8f7ee;
  --wk-ui-danger: #fa5151;
  --wk-ui-danger-press: #e2453b;
  --wk-ui-danger-soft: #ffebeb;
  --wk-ui-warning: #b67a13;
  --wk-ui-warning-soft: #fff3d8;
  --wk-ui-success: #18a957;
  --wk-ui-bg: #ededed;
  --wk-ui-surface: #ffffff;
  --wk-ui-surface-subtle: #f5f5f5;
  --wk-ui-text-1: #111111;
  --wk-ui-text-2: #7f7f7f;
  --wk-ui-text-3: #b2b2b2;
  --wk-ui-line: #e5e5e5;
  --wk-ui-mask: rgba(0, 0, 0, 0.42);
  --wk-ui-font-overlay-caption: 12px;
  --wk-ui-font-overlay-body: 15px;
  --wk-ui-font-overlay-action: 16px;
  --wk-ui-font-overlay-title: 17px;
  --wk-ui-font-nav-title: 18px;

  --wk-ui-call-bg: #101114;
  --wk-ui-call-surface: #1c1d20;
  --wk-ui-call-surface-raised: #2b2b31;
  --wk-ui-call-tile: #18181c;
  --wk-ui-call-text: #ffffff;
  --wk-ui-call-text-2: rgba(255, 255, 255, 0.72);
  --wk-ui-call-control: rgba(255, 255, 255, 0.14);
  --wk-ui-call-control-press: rgba(255, 255, 255, 0.22);

  --wk-ui-space-1: 4px;
  --wk-ui-space-2: 8px;
  --wk-ui-space-3: 12px;
  --wk-ui-space-4: 16px;
  --wk-ui-space-5: 20px;
  --wk-ui-space-6: 24px;
  --wk-ui-radius-control: 8px;
  --wk-ui-radius-card: 12px;
  --wk-ui-radius-modal: 14px;
  --wk-ui-radius-sheet: 18px;
  --wk-ui-radius-pill: 999px;
  --wk-ui-shadow-card: 0 8px 28px rgba(0, 0, 0, 0.12);
  --wk-ui-shadow-modal: 0 18px 56px rgba(0, 0, 0, 0.28);
  --wk-ui-nav-h: 52px;
  --wk-ui-control-h: 44px;
  --wk-ui-touch: 44px;
  --wk-ui-safe-top: env(safe-area-inset-top, 0px);
  --wk-ui-safe-right: env(safe-area-inset-right, 0px);
  --wk-ui-safe-bottom: env(safe-area-inset-bottom, 0px);
  --wk-ui-safe-left: env(safe-area-inset-left, 0px);
  --wk-ui-ease: 180ms cubic-bezier(0.2, 0, 0, 1);
  --wk-ui-layer-content: 0;
  --wk-ui-layer-chrome: 100;
  --wk-ui-layer-popover: 1000;
  --wk-ui-layer-floating: 9997;
  --wk-ui-layer-modal: 100040;
  --wk-ui-layer-toast: 100100;
  --wk-ui-layer-bootstrap: 2147483647;

  --semi-color-primary: var(--wk-ui-primary);
  --semi-color-primary-hover: var(--wk-ui-primary-press);
  --semi-color-primary-active: var(--wk-ui-primary-active);
}

body[theme-mode="dark"] {
  color-scheme: dark;
  --wk-ui-primary-soft: #173c28;
  --wk-ui-bg: #111111;
  --wk-ui-surface: #191919;
  --wk-ui-surface-subtle: #202020;
  --wk-ui-text-1: #f5f5f5;
  --wk-ui-text-2: #a3a3a3;
  --wk-ui-text-3: #737373;
  --wk-ui-line: rgba(255, 255, 255, 0.1);
  --wk-ui-mask: rgba(0, 0, 0, 0.58);
}

.wk-ui-press {
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms cubic-bezier(0.2, 0, 0, 1), color 180ms cubic-bezier(0.2, 0, 0, 1),
    opacity 100ms ease, transform 100ms ease;
  transition: background-color var(--wk-ui-ease), color var(--wk-ui-ease),
    opacity 100ms ease, transform 100ms ease;
}
.wk-ui-press:active:not(:disabled) { opacity: 0.72; transform: scale(0.98); }
.wk-ui-press:focus-visible { outline: 2px solid #07c160; outline: 2px solid var(--wk-ui-primary); outline-offset: 2px; }

.wk-ui-button {
  min-height: 44px;
  min-height: var(--wk-ui-control-h);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  gap: var(--wk-ui-space-2);
  padding: 0 16px;
  padding: 0 var(--wk-ui-space-4);
  border: 0;
  border-radius: 8px;
  border-radius: var(--wk-ui-radius-control);
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font: inherit;
  cursor: pointer;
}
.wk-ui-button.is-primary { color: #fff; background: #07c160; background: var(--wk-ui-primary); }
.wk-ui-button.is-primary:hover { background: #06ad56; background: var(--wk-ui-primary-press); }
.wk-ui-button.is-danger { color: #fff; background: #fa5151; background: var(--wk-ui-danger); }
.wk-ui-button.is-danger:hover { background: #e2453b; background: var(--wk-ui-danger-press); }
.wk-ui-button:disabled { opacity: 0.45; cursor: default; }

.wk-ui-input {
  min-width: 0;
  min-height: 36px;
  padding: 0 12px;
  padding: 0 var(--wk-ui-space-3);
  border: 1px solid #e5e5e5;
  border: 1px solid var(--wk-ui-line);
  border-radius: 8px;
  border-radius: var(--wk-ui-radius-control);
  outline: none;
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font: inherit;
}
.wk-ui-input::-moz-placeholder { color: #b2b2b2; color: var(--wk-ui-text-3); }
.wk-ui-input::placeholder { color: #b2b2b2; color: var(--wk-ui-text-3); }
.wk-ui-input:focus { border-color: #07c160; border-color: var(--wk-ui-primary); background: #ffffff; background: var(--wk-ui-surface); }

.wk-ui-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100040;
  z-index: var(--wk-ui-layer-modal);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(20px, env(safe-area-inset-top, 0px))
    max(16px, env(safe-area-inset-right, 0px))
    max(20px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  padding: max(var(--wk-ui-space-5), var(--wk-ui-safe-top))
    max(var(--wk-ui-space-4), var(--wk-ui-safe-right))
    max(var(--wk-ui-space-5), var(--wk-ui-safe-bottom))
    max(var(--wk-ui-space-4), var(--wk-ui-safe-left));
  background: rgba(0, 0, 0, 0.42);
  background: var(--wk-ui-mask);
}
.wk-ui-modal-card {
  width: min(520px, 100%);
  max-height: min(620px, calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 40px));
  max-height: min(620px, calc(100dvh - var(--wk-ui-safe-top) - var(--wk-ui-safe-bottom) - 40px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  border-radius: var(--wk-ui-radius-modal);
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #ffffff;
  background: var(--wk-ui-surface);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  box-shadow: var(--wk-ui-shadow-modal);
}
.wk-ui-modal-header {
  min-height: 52px;
  min-height: var(--wk-ui-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  gap: var(--wk-ui-space-3);
  padding: 0 16px;
  padding: 0 var(--wk-ui-space-4);
  border-bottom: 1px solid #e5e5e5;
  border-bottom: 1px solid var(--wk-ui-line);
  font-size: 17px;
  font-size: var(--wk-ui-font-overlay-title);
  font-weight: 600;
}
.wk-ui-modal-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #7f7f7f;
  color: var(--wk-ui-text-2);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}

.wk-ui-bottom-sheet {
  width: min(520px, 100%);
  max-height: min(70dvh, 620px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  border-radius: var(--wk-ui-radius-sheet) var(--wk-ui-radius-sheet) 0 0;
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  box-shadow: var(--wk-ui-shadow-modal);
}
.wk-ui-list-cell {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  gap: var(--wk-ui-space-3);
  padding: 8px 16px;
  padding: var(--wk-ui-space-2) var(--wk-ui-space-4);
  border-bottom: 1px solid #e5e5e5;
  border-bottom: 1px solid var(--wk-ui-line);
  color: #111111;
  color: var(--wk-ui-text-1);
  background: #ffffff;
  background: var(--wk-ui-surface);
}

.wk-ui-status {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 2px 8px;
  padding: 2px var(--wk-ui-space-2);
  border-radius: 999px;
  border-radius: var(--wk-ui-radius-pill);
  color: #7f7f7f;
  color: var(--wk-ui-text-2);
  background: #f5f5f5;
  background: var(--wk-ui-surface-subtle);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}
.wk-ui-status.is-pending { color: #b67a13; color: var(--wk-ui-warning); background: #fff3d8; background: var(--wk-ui-warning-soft); }
.wk-ui-status.is-error { color: #fa5151; color: var(--wk-ui-danger); background: #ffebeb; background: var(--wk-ui-danger-soft); }
.wk-ui-status.is-success { color: #18a957; color: var(--wk-ui-success); background: #e8f7ee; background: var(--wk-ui-primary-soft); }

.wk-ui-empty,
.wk-ui-loading,
.wk-ui-error {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px;
  padding: var(--wk-ui-space-5);
  color: #7f7f7f;
  color: var(--wk-ui-text-2);
  text-align: center;
}
.wk-ui-error { color: #fa5151; color: var(--wk-ui-danger); }
.wk-ui-toast {
  max-width: min(80vw, 360px);
  padding: 10px 14px;
  border-radius: 8px;
  border-radius: var(--wk-ui-radius-control);
  color: #fff;
  background: rgba(17, 17, 17, 0.88);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  box-shadow: var(--wk-ui-shadow-card);
}

@media (max-width: 640px) {
  :root { --wk-ui-touch: 48px; --wk-ui-control-h: 46px; }
  .wk-ui-modal-card { width: min(88vw, 420px); }
  .wk-ui-bottom-sheet {
    width: 100%;
    margin: auto 0 calc(-1 * max(20px, env(safe-area-inset-bottom, 0px)));
    margin: auto 0 calc(-1 * max(var(--wk-ui-space-5), var(--wk-ui-safe-bottom)));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-bottom: var(--wk-ui-safe-bottom);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wk-ui-press { transition: none; }
}

.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;
}

.wk-friendadd-content-tip {
  margin-top: 10px;
  color: var(--semi-color-text-2);
  font-size: 13px;
  text-align: center;
}

.wk-friendadd-result-list {
  margin-top: 12px;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}

.wk-friendadd-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.wk-friendadd-result-item + .wk-friendadd-result-item {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.wk-friendadd-result-item:hover {
  background: rgba(7, 193, 96, 0.12);
  background: var(--qq-theme-soft, rgba(7, 193, 96, 0.12));
}

.wk-friendadd-result-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: 0 0 44px;
  -o-object-fit: cover;
     object-fit: cover;
}

.wk-friendadd-result-meta {
  min-width: 0;
  flex: 1 1;
}

.wk-friendadd-result-action {
  flex: 0 0 auto;
}

.wk-friendadd-result-action .semi-button {
  min-width: 84px;
}

/* 发消息按钮上紫（原 semi 红/橙），用主题令牌 */
.wk-friendadd-result-action .semi-button {
  background: var(--wk-color-theme) !important;
  border-color: var(--wk-color-theme) !important;
  color: #fff !important;
}
.wk-friendadd-result-action .semi-button:hover {
  filter: brightness(0.93);
}

.wk-friendadd-result-name {
  color: #0f172a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  word-break: break-all;
}

.wk-friendadd-result-subtitle {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}

.wk-friendadd-result-empty,
.wk-friendadd-result-more {
  padding: 18px 16px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

body[theme-mode="dark"] .wk-friendadd-content-qrcode {
  color: white;
}

body[theme-mode="dark"] .wk-friendadd-content-tip {
  color: rgba(255, 255, 255, 0.72);
}

body[theme-mode="dark"] .wk-friendadd-result-list {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(148, 163, 184, 0.18);
}

body[theme-mode="dark"] .wk-friendadd-result-item + .wk-friendadd-result-item {
  border-top-color: rgba(148, 163, 184, 0.14);
}

body[theme-mode="dark"] .wk-friendadd-result-item:hover {
  background: rgba(7, 193, 96, 0.18);
}

body[theme-mode="dark"] .wk-friendadd-result-name {
  color: #f8fafc;
}

body[theme-mode="dark"] .wk-friendadd-result-subtitle,
body[theme-mode="dark"] .wk-friendadd-result-empty,
body[theme-mode="dark"] .wk-friendadd-result-more {
  color: rgba(226, 232, 240, 0.78);
}

.wk-friendadd-content-qrcode img {
  margin-left: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* 2026-05-18：搜索框 + 搜索按钮一行布局 */
.wk-friendadd-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;        /* 2026-05-19：留出右侧空间，按钮不会贴边裁切（Mac 窄侧边栏） */
  box-sizing: border-box;
  width: 100%;
}
.wk-friendadd-search-input {
  flex: 1 1;
  min-width: 0;
}
/* 让 Search 组件内部 input 跟随父容器宽度，覆盖默认 250px 固定宽 */
.wk-friendadd-search-input .wk-search-box,
.wk-friendadd-search-input .wk-search-input,
.wk-friendadd-search-input .wk-search-input input {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.wk-friendadd-search-btn {
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 4px;
  background: var(--wk-color-theme);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s;
  flex-shrink: 0;
}
.wk-friendadd-search-btn:hover:not(:disabled) {
  filter: brightness(0.92);
}
.wk-friendadd-search-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

/* 弹框内渲染：去掉页头后顶部留白，搜索行与列表跟随弹框宽度 */
.wk-friendadd--modal {
  padding-top: 10px;
  padding-bottom: 4px;
}
.wk-friendadd--modal .wk-friendadd-search-row {
  padding: 0;
}
/* 搜索行与结果卡之间更舒展的上下间距 */
.wk-friendadd--modal .wk-friendadd-result-list {
  margin-top: 18px;
  max-height: min(48vh, 360px);
}
/* 结果卡内边距增加，整体更精致 */
.wk-friendadd--modal .wk-friendadd-result-item {
  gap: 14px;
  padding: 16px 18px;
}

.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 ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wk-newfriend-content li {
    display: flex;
    width: 100%;
    min-height: 96px;
    padding: 16px 18px;
    box-sizing: border-box;
    background-color: var(--wk-color-item);
    border-bottom: var(--wk-line);
    align-items: flex-start;
    gap: 14px;
}

.wk-newfriend-content-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.wk-newfriend-content-body {
    flex: 1 1;
    min-width: 0;
}

.wk-newfriend-content-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wk-newfriend-content-title-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--wk-text-item);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wk-newfriend-content-time {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--wk-color-text-tip);
}

.wk-newfriend-content-title-remark {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--wk-color-text-secondary);
    word-break: break-word;
}

.wk-newfriend-content-footer {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wk-newfriend-content-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wk-newfriend-status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(15, 23, 42, 0.06);
    color: var(--wk-color-text-tip);
}

.wk-newfriend-status.accepted {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
}

.wk-newfriend-status.refused,
.wk-newfriend-status.canceled,
.wk-newfriend-status.expired {
    color: #9f1239;
    background: rgba(190, 24, 93, 0.10);
}

.wk-newfriend-status.pending {
    color: #a16207;
    background: rgba(202, 138, 4, 0.12);
}

.wk-newfriend-empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--wk-color-text-tip);
}

.wk-newfriend-more {
    padding: 16px 20px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--wk-color-text-tip);
}



.wk-groupsave {
    width: 100%;
    height: 100%;
    border-right: var(--wk-line);
}

.wk-groupsave-content {
    height: calc(100% - var( --wk-height-viewqueueheader));
    width: 100%;
    overflow-y: auto;
}

.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-groupsave-more {
    padding: 16px 20px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--wk-color-text-tip);
}



.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-contacts {
    width: 100%;
    height: 100%;
    --wk-height-contacts-content-header:50px;
    border-right: var(--wk-line);
}

.wk-contacts-content-header {
    width: 100%;
    padding: 10px 12px 14px;            /* 批M:上下留白 + 底部 14px 与下方入口拉开间距(对齐包壳) */
    background-color: var(--wk-color-secondary);
}

.wk-contacts-content {
    width: 100%;
    height: calc( 100% - var(--wk-height-navheader));
    overflow: auto;
}

.wk-contacts-content-contacts {
    width: 100%;
}

.wk-contacts-section {

}

.wk-contacts-section-list {
    padding: 0px 5px;
    background-color: var(--wk-color-item);
}


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

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

.wk-contacts-section-item {
    display: flex;
    align-items: center;
    padding: 15px 15px 15px 0px;
    cursor: pointer;
}

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

/* .wk-contacts-section-item:hover {
    background-color: var(--wk-color-hover);
    border-radius: 10px;
} */

.wk-contacts-section-item-selected {
    background-color: var(--wk-color-theme);
    color: white;
    border-radius: 10px;
}

.wk-contacts-section-item-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.wk-contacts-section-item-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* 在线状态徽标（对齐 iOS WKOnlineBadgeView） */
.wk-contacts-online-badge {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-contacts-online-badge-inner {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #7CD053;
}

/* 最近离线（有文字提示）*/
.wk-contacts-online-badge-text {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: #eef9e9;
    color: #7CD053;
    font-size: 9px;
    font-weight: 600;
    line-height: 13px;
    padding: 0 4px;
    border-radius: 999px;
    border: 1.5px solid white;
}


.wk-contacts-section-item-name {
    margin-left: 15px;
}

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

.wk-contacts-content-fnc {
    width: 100%;
}

.wk-contacts-content-header .wk-search-box{
    background-color: #fff;
    width: 100%;
    border-radius: 10px;                /* 批M:圆角搜索条,对齐包壳 */
    box-shadow: 0 1px 2px rgba(7, 193, 96,.04);
}

/* 群聊段（搜索时显示在联系人段后，对齐微信 / Telegram） */
.wk-contacts-group-section-title {
    padding: 12px 20px 6px 20px;
    font-size: 13px;
    color: #999;
    color: var(--wk-color-text-secondary, #999);
}

body[theme-mode=dark] .wk-contacts-group-section-title {
    color: #999;
}

.wk-contacts-empty {
    padding: 30px 15px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.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: bold;
}
.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-app-tab-glyph {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f949c;
  background: rgba(143, 148, 156, 0.18);
  font-size: 12px;
  font-weight: 600;
  -webkit-user-select: none;
          user-select: none;
}

.wk-app-tab-glyph.selected {
  color: #ffffff;
  background: #07C160;
  background: var(--wk-color-theme, #07C160);
}

.cqt-toast-host {
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
  padding: 0 24px;
  pointer-events: none;
}

.cqt-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(78vw, 420px);
  margin: 5px 0;
  padding: 12px 16px;
  background: rgba(28, 28, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cqt-toast.is-in { opacity: 1; transform: scale(1); }
.cqt-toast__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cqt-toast__text { max-width: min(68vw, 360px); white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; }
.cqt-toast__spinner {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cqt-toast-spin 0.8s linear infinite;
}
.cqt-toast__action {
  flex-shrink: 0;
  margin: -8px -8px -8px 2px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #64d2ff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  pointer-events: auto;
}
.cqt-toast__action:focus-visible { outline: 2px solid #64d2ff; outline-offset: 2px; border-radius: 5px; }
@keyframes cqt-toast-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .cqt-toast, .cqt-toast__spinner { animation-duration: 0.001ms; transition-duration: 0.001ms; }
}


.wk-p2pcall {
    width: 100%;
    height: 665px;
    overflow: hidden;
    background-color: rgb(0, 0, 0,0.90);
    position: relative;

}

.wk-p2pcall-localvideo {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    border-radius: 8px;
    transition: all 250ms ease-in-out;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-p2pcall-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0px;
    pointer-events:none;
}

.wk-p2pcall-modal .semi-modal-content{
    padding: 0px !important;
}

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

/* SS-72：P2P 通话改用非阻塞悬浮窗（showFloatingWindow，无 Modal/遮罩），与群会议一致。
   之前用 Semi Modal + DOM hack 隐藏遮罩，但遮罩是 modal 的前兄弟、CSS 用了 + 选后兄弟没命中，
   所以仍然全屏阻塞。现在直接渲染浮窗节点，背后 IM 主界面可正常打字操作。 */
.wk-p2pcall-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 380px;
    height: 480px;
    z-index: 2147483600;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
}
.wk-p2pcall-floating .wk-p2pcall {
    width: 100%;
    height: 100%;
}

/* 缩小按钮(左上角) */
.wk-p2pcall-minbtn {
    position: absolute;
    top: calc(14px + env(safe-area-inset-top, 0px));
    left: 14px;
    z-index: 1001; /* 必须高于视频层(changebig/small 997/998),否则视频通话时缩小按钮被画面盖住、看不见点不到 */
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* 微信式小窗:浮窗收成一个小药丸,后台可继续聊天;点一下恢复 */
.wk-p2pcall-floating.is-min {
    width: 168px;
    height: 58px;
    right: 16px;
    bottom: 120px;
    border-radius: 29px;
    background: #23202e;
    /* 关键:小窗只让药丸本身吃事件,容器透传 → 背后 IM 可正常滚动/打字(真·非阻塞)。
       拖动监听挂在容器上,但事件由药丸(pointer-events:auto)冒泡上来,故拖动/点击恢复仍生效。 */
    pointer-events: none;
}
.wk-p2pcall-floating.is-min .wk-p2pcall-mini {
    pointer-events: auto;
}
.wk-p2p-min {
    cursor: pointer;
}
.wk-p2p-min .wk-p2pcall-content,
.wk-p2p-min .wk-p2pcall-footer,
.wk-p2p-min .wk-p2pcall-localvideo,
.wk-p2p-min .wk-p2pcall-remotevideo {
    display: none !important;
}
.wk-p2pcall-mini {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    box-sizing: border-box;
}
.wk-p2pcall-mini-tip {
    color: #fff;
    font-size: 13.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

/* Win→Win 通话窗口不再全屏阻塞：右下角小窗，可让用户继续操作 IM 主界面 */
.wk-p2pcall-modal {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 380px !important;
    max-width: 380px !important;
    margin: 0 !important;
    pointer-events: auto !important;
}
/* 通话窗口本体高度收紧 */
.wk-p2pcall-modal .wk-p2pcall {
    height: 480px !important;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
/* 弱化 modal 遮罩，不再黑屏阻塞主界面（保留 dim 让通话区视觉清楚） */
.wk-p2pcall-modal + .semi-modal-mask,
.wk-p2pcall-modal-mask {
    background: transparent !important;
    pointer-events: none !important;
}

.wk-p2pcall-userbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;

    opacity: 1;
    transition: opacity 500ms ease-in-out;
}

.wk-userbox-name, .wk-userbox-tip{
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin-top: 10px;
}

.wk-userbox-tip {
    font-size: 15px;
    margin-top: 10px;
}

.wk-p2pcall-footer {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    bottom: 0px;
    transition:all 250ms ease-in-out;
    transform: translateY(0px);
}

.wk-p2pcall-remotevideo {
    background-color: rgb(0, 0, 0,0.90);
    transition: all 250ms ease-in-out;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    opacity: 0;
    width: 120px;
    height: 160px;
    cursor: pointer;
    -o-object-fit: cover;
       object-fit: cover;

}

.wk-p2pcall .wk-p2pcall-footer {
    z-index: 999;
}

.wk-p2p-answering,.wk-p2p-talking .wk-p2pcall-userbox{
    opacity: 0;
}

.wk-p2p-answering,.wk-p2p-talking .wk-p2pcall-remotevideo{
    opacity: 1;
}

.wk-p2p-calltype-audio .wk-p2pcall-userbox {
    opacity: 1;
}

.wk-p2pcall-localvideo:hover .wk-p2pcall-footer,
.wk-p2pcall-remotevideo:hover .wk-p2pcall-footer,
.wk-p2p-answering:hover .wk-p2pcall-footer,
.wk-p2p-talking:hover .wk-p2pcall-footer {
  transform: translateY(0px);
}

.wk-p2p-calltype-audio video {
    visibility: hidden;
}



.wk-p2p-calling .wk-p2pcall-content {
    z-index: 1000;
}

.wk-p2p-talking .wk-p2pcall-footer {
    transform: translateY(150px);
}

.wk-p2p-talking.wk-p2p-calltype-video .wk-p2pcall-footer,
.wk-p2p-answering.wk-p2p-calltype-video .wk-p2pcall-footer {
    transform: translateY(0px);
}

.wk-p2p-calltype-audio .wk-p2pcall-footer {
    transform: translateY(0px);
}

@media (hover: none), (pointer: coarse), (max-width: 520px) {
    .wk-p2p-answering .wk-p2pcall-footer,
    .wk-p2p-talking .wk-p2pcall-footer {
        transform: translateY(0px);
    }
}

.wk-p2p-changesmall {
    top: 20px;
    right: 20px;
    z-index: 998;
}


.wk-p2p-changebig {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 997;
}

/* 移动端:P2P 单聊通话(去呼/来电同容器)改全屏,覆盖桌面右下角悬浮窗 + 拖动写的 inline left/top。
   ⚠ 只在「非小窗」时全屏:加 :not(.is-min) —— 否则全屏 !important 会盖掉小窗药丸,导致 minimized 仍占满
   全屏 + 吃掉所有触摸(背后 IM 死)。小窗态(.is-min)走上面那条无 !important 的药丸规则,inline 拖动可覆盖。 */
@media (max-width: 520px) {
    .wk-p2pcall-floating:not(.is-min) {
        right: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .wk-p2pcall-floating:not(.is-min) .wk-p2pcall {
        width: 100% !important;
        height: 100% !important;
    }
}
/* 免提(扬声器)切换:接通后显示,在挂断按钮上方居中(微信式)。容器透传点击,只按钮吃事件。 */
.wk-p2pcall-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(150px + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px 26px; /* 视频通话有 麦克风/免提/摄像头/翻转 4 个,缩小间距以适配窄屏(必要时换行) */
    padding: 0 16px;
    box-sizing: border-box;
    z-index: 1001; /* 高于视频层(997/998),否则视频通话时控制按钮被画面盖住、看不见 */
    pointer-events: none;
}
.wk-p2pcall-ctrl {
    pointer-events: auto;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.wk-p2pcall-ctrl-ic {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
.wk-p2pcall-ctrl.is-on .wk-p2pcall-ctrl-ic {
    background: #fff;
    color: #1a1a1a;
}
.wk-p2pcall-ctrl-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.9);
}
.wk-p2pcall-ctrl:disabled { cursor: not-allowed; opacity: .48; }
.wk-p2pcall-device-fallback {
    position: absolute;
    z-index: 1002;
    top: 54px;
    left: 50%;
    width: min(430px, calc(100% - 28px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(250, 173, 20, .62);
    border-radius: 10px;
    background: rgba(44, 36, 20, .96);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .26);
}
.wk-p2pcall-device-fallback-icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #faad14;
    color: #2b210b;
    font-size: 15px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}
.wk-p2pcall-device-fallback > span:nth-child(2) { min-width: 0; display: flex; flex: 1 1; flex-direction: column; gap: 2px; }
.wk-p2pcall-device-fallback strong { font-size: 13px; line-height: 18px; }
.wk-p2pcall-device-fallback small { color: rgba(255, 255, 255, .76); font-size: 12px; line-height: 17px; }
.wk-p2pcall-device-fallback button { flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: #07c160; color: #fff; cursor: pointer; }

/* 视频通话缩小:小窗显示远端视频画面(微信式竖向缩略图);窗小,窗外是 App 可正常操作。
   覆盖 .wk-p2p-min 把 remotevideo display:none 的规则(本规则 3 类选择器,特异性更高)。 */
.wk-p2pcall-floating.is-min-video {
    width: 108px !important;
    height: 176px !important;
    border-radius: 12px !important;
    background: #000 !important;
    pointer-events: auto !important;
}
.wk-p2pcall-floating.is-min-video .wk-p2pcall { pointer-events: auto !important; }
.wk-p2pcall-floating.is-min-video .wk-p2pcall-mini { display: none !important; }
.wk-p2pcall-floating.is-min-video .wk-p2pcall-localvideo { display: none !important; }
.wk-p2pcall-floating.is-min-video .wk-p2pcall-remotevideo {
    display: block !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 12px !important;
    -o-object-fit: cover !important;
       object-fit: cover !important;
    z-index: 1 !important;
}

.wk-call-btn {
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wk-call-btn button {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    border: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.wk-call-btn img {
    width: 32px;
    height: 32px;
}

.wk-call-btn .hangup {
    background-color: rgb(230, 90, 70);
}

.wk-call-btn .label {
    color: white;
    margin-top: 10px;
}

.wk-call-btn .answer {
    background-color: green;
}


.wk-message-callsystem {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.wk-callsystem-content {
    margin-left: 6px;
    margin-right: 6px;
}

/* 图标跟随气泡文字色(发送白/接收深),微信风电话/摄像机线性图标 */
.wk-callsystem-icon {
    display: inline-flex;
    align-items: center;
    color: inherit;
    opacity: 0.92;
}

.wk-message-callsystem-authority { min-width: 176px; padding: 2px 0; gap: 9px; }
.wk-callsystem-stack { display: flex; min-width: 0; flex: 1 1; flex-direction: column; }
.wk-message-callsystem-authority .wk-callsystem-content { margin: 0; font-size: 15px; line-height: 1.35; }
.wk-callsystem-kind { margin-top: 3px; color: currentColor; font-size: 11px; line-height: 1.25; opacity: .58; }
.wk-message-callsystem-authority.is-missed .wk-callsystem-content,
.wk-message-callsystem-authority.is-missed .wk-callsystem-icon { color: #ee4d4f; }

/* 群会议主界面占满有效视口；最小化后才回到可拖动药丸。 */
.wk-waiting-invite-banner {
  position: fixed;
  z-index: 100060;
  top: max(12px, calc(env(safe-area-inset-top) + 8px));
  right: 16px;
  left: 16px;
  box-sizing: border-box;
  max-width: 560px;
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--wk-ui-line);
  border-radius: var(--wk-ui-radius-card);
  color: var(--wk-ui-text-1);
  background: var(--wk-ui-surface);
  box-shadow: var(--wk-ui-shadow-modal);
  text-align: left;
}
.wk-waiting-invite-banner__copy { min-width: 0; display: flex; flex: 1 1; flex-direction: column; gap: 4px; }
.wk-waiting-invite-banner__copy strong { font-size: 15px; }
.wk-waiting-invite-banner__copy span { color: var(--wk-ui-text-2); font-size: 13px; line-height: 19px; }
.wk-waiting-invite-banner__actions { flex: 0 0 auto; display: flex; gap: 8px; }
.wk-waiting-invite-banner__actions button { min-width: 62px; min-height: 36px; border: 0; border-radius: var(--wk-ui-radius-control); }
.wk-waiting-invite-banner__actions button.is-primary { color: #fff; background: var(--wk-ui-primary); }

.wk-conf-window {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  background: var(--wk-ui-call-surface);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--wk-ui-call-text);
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.wk-conf-header {
  box-sizing: border-box;
  /* 导航栏:内容区 44px,顶部再叠状态栏安全区(刘海/状态栏下),全屏时标题不被状态栏盖住 */
  min-height: calc(44px + env(safe-area-inset-top, 0px));
  min-height: calc(44px + var(--safe-top, env(safe-area-inset-top, 0px)));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) 10px 0 14px;
  padding: var(--safe-top, env(safe-area-inset-top, 0px)) 10px 0 14px;
  background: var(--wk-ui-call-surface-raised);
  cursor: default;
}
.wk-conf-title {
  font-size: 13px;
  font-weight: 500;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.wk-conf-header-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wk-conf-rejoin-entry {
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--wk-ui-radius-pill);
  color: #fff;
  background: var(--wk-ui-primary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.wk-conf-rejoin-entry:hover { background: var(--wk-ui-primary-press); }
.wk-conf-manage-entry {
  height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 14px;
  color: var(--wk-ui-text-1);
  background: var(--wk-ui-surface);
  font-size: 12px;
  cursor: pointer;
}
.wk-conf-manage-entry:hover { background: var(--wk-ui-surface-subtle); }
.wk-conf-direct-entry {
  height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--wk-ui-radius-pill);
  color: var(--wk-ui-call-text);
  background: var(--wk-ui-call-control);
  font-size: 12px;
  cursor: pointer;
}
.wk-conf-direct-entry:hover { background: var(--wk-ui-call-control-press); }
.wk-conf-direct-entry svg { width: 16px; height: 16px; }
.wk-conf-more-entry { font-size: 16px; letter-spacing: 1px; }
.wk-conf-more-mask {
  position: absolute;
  inset: 0;
  z-index: 100030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  background: var(--wk-ui-mask);
}
.wk-conf-more-card {
  width: min(380px, 100%);
  overflow: hidden;
  border-radius: var(--wk-ui-radius-modal);
  color: var(--wk-ui-text-1);
  background: var(--wk-ui-surface-subtle);
  box-shadow: var(--wk-ui-shadow-modal);
}
.wk-conf-more-title {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid var(--wk-ui-line);
  background: var(--wk-ui-surface);
  font-size: 17px;
}
.wk-conf-more-title button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--wk-ui-text-2);
  background: var(--wk-ui-surface-subtle);
  font-size: 22px;
}
.wk-conf-more-card > button {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 18px;
  border: 0;
  border-bottom: 1px solid var(--wk-ui-line);
  color: var(--wk-ui-text-1);
  background: var(--wk-ui-surface);
  text-align: left;
  cursor: pointer;
}
.wk-conf-more-card > button > span { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: var(--wk-ui-radius-control); background: var(--wk-ui-bg); font-size: 20px; }
.wk-conf-more-card > button > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wk-conf-more-card > button strong { font-size: 15px; }
.wk-conf-more-card > button small { color: var(--wk-ui-text-2); font-size: 12px; }

.wk-meeting-moderation-mask {
  position: fixed;
  inset: 0;
  z-index: 100040;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  background: var(--wk-ui-surface);
}
.wk-meeting-moderation-shell { width: 100%; height: 100vh; height: 100dvh; min-width: 0; }
.wk-meeting-moderation {
  width: 100%;
  height: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  background: var(--wk-ui-surface);
  color: var(--wk-ui-text-1);
  box-shadow: none;
}
.wk-meeting-moderation-title {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid var(--wk-ui-line);
}
.wk-meeting-moderation-title button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--wk-ui-surface-subtle);
  color: var(--wk-ui-text-2);
  font-size: 23px;
  line-height: 30px;
  cursor: pointer;
}
.wk-meeting-moderation-tip { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 20px 4px; color: var(--wk-ui-text-2); font-size: 12px; }
.wk-meeting-moderation-tip button { flex: 0 0 auto; min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--wk-ui-radius-control); color: #fff; background: var(--wk-ui-primary); }
.wk-meeting-moderation-search { display: flex; align-items: center; gap: 10px; padding: 6px 20px; color: var(--wk-ui-text-2); font-size: 12px; }
.wk-meeting-moderation-search input, .wk-conf-host-picker > input { min-width: 0; height: 34px; flex: 1 1; }
.wk-meeting-moderation-list { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 6px 12px 14px; -webkit-overflow-scrolling: touch; }
.wk-meeting-moderation-row { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-bottom: 1px solid var(--wk-ui-line); }
.wk-meeting-moderation-avatar { width: 38px; height: 38px; flex: 0 0 38px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--wk-ui-radius-control); color: #fff; background: var(--wk-ui-primary); }
.wk-meeting-moderation-avatar img { width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
.wk-meeting-moderation-member-copy { min-width: 72px; flex: 1 1; display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.wk-meeting-moderation-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-meeting-moderation-state { overflow: hidden; color: var(--wk-ui-text-2); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.wk-meeting-moderation-status { flex: 0 0 auto; }
.wk-meeting-moderation-status.is-inviting,
.wk-meeting-moderation-status.is-rejoin_pending { color: var(--wk-ui-warning); background: var(--wk-ui-warning-soft); }
.wk-meeting-moderation-status.is-refused,
.wk-meeting-moderation-status.is-expired,
.wk-meeting-moderation-status.is-removed { color: var(--wk-ui-danger); background: var(--wk-ui-danger-soft); }
.wk-meeting-moderation-actions { display: flex; gap: 6px; }
.wk-meeting-moderation-actions.is-roster-state { align-items: center; }
.wk-meeting-moderation-actions button { min-height: 30px; height: 30px; padding: 0 10px; white-space: nowrap; }
.wk-meeting-moderation-actions button.is-danger, .wk-meeting-moderation-actions.is-confirming button:first-child { color: #fff; background: var(--wk-ui-danger); }
.wk-meeting-moderation-actions button.is-primary { color: #fff; background: var(--wk-ui-primary); }
.wk-meeting-moderation-actions button.is-neutral { color: var(--wk-ui-text-1); background: var(--wk-ui-surface-subtle); }
.wk-meeting-moderation-actions button:disabled { opacity: .5; cursor: default; }
.wk-meeting-moderation-empty { padding: 40px 12px; text-align: center; color: var(--wk-ui-text-2); }
.wk-meeting-moderation-pages { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 4px 12px 10px; color: var(--wk-ui-text-2); font-size: 12px; }
.wk-meeting-moderation-pages button { min-height: 28px; height: 28px; padding: 0 12px; border-radius: var(--wk-ui-radius-pill); }
.wk-meeting-moderation-pages button:disabled { opacity: .4; }
.wk-conf-hbtn {
  width: 32px;
  height: 28px;
  border: none;
  border-radius: 7px;
  background: var(--wk-ui-call-control);
  color: var(--wk-ui-call-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk-conf-hbtn:hover {
  background: var(--wk-ui-call-control-press);
}

.wk-conf-grid {
  flex: 1 1 auto;
  overflow-y: auto; /* SS-72：格子多时内部滚动，不溢出盖住控制条 */
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  padding: 4px;
  background: var(--wk-ui-call-bg);
  min-height: 200px;
  grid-template-columns: repeat(2, 1fr);
}
/* 人数自适应列数 */
.wk-conf-grid-1 {
  grid-template-columns: 1fr;
}
.wk-conf-grid-2,
.wk-conf-grid-3,
.wk-conf-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}
.wk-conf-grid-5,
.wk-conf-grid-6,
.wk-conf-grid-7,
.wk-conf-grid-8,
.wk-conf-grid-9 {
  grid-template-columns: repeat(3, 1fr);
}
.wk-conf-grid-many { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); align-content: start; }

.wk-conf-tile {
  position: relative;
  background: var(--wk-ui-call-tile);
  border-radius: var(--wk-ui-radius-control);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wk-conf-tile-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  background: #000;
}
.wk-conf-tile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3a3a42;
  font-size: 26px;
  color: #fff;
}
.wk-conf-tile-avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.wk-conf-tile-name {
  position: absolute;
  left: 6px;
  bottom: 6px;
  font-size: 12px;
  padding: 2px 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  max-width: 90%;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.wk-conf-tile-name-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wk-conf-tile-mute {
  display: inline-flex;
  align-items: center;
  color: var(--wk-ui-danger);
  flex-shrink: 0;
}
.wk-conf-tile-status {
  flex: 0 0 auto;
  padding: 1px 5px;
  border-radius: 7px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.14);
  font-size: 9px;
  white-space: nowrap;
}
.wk-conf-tile-status.is-joined { color: #dff7e8; background: rgba(7,193,96,.28); }
.wk-conf-tile-status.is-inviting,
.wk-conf-tile-status.is-rejoin_pending { color: #fff0c7; background: rgba(242,184,75,.22); }
.wk-conf-tile-status.is-refused,
.wk-conf-tile-status.is-expired,
.wk-conf-tile-status.is-removed { color: #ffdede; background: rgba(250,81,81,.24); }
.wk-conf-joining {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}

/* 微信式底部控制栏:圆图标 + 文字标签(复用 P2pcall 通话窗风格) */
.wk-conf-bar {
  min-height: 92px;
  flex-shrink: 0; /* SS-72：控制条不被压缩/盖住 */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px 22px;
  padding: 14px 10px calc(14px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(43,43,49,.96), #2b2b31 26%);
}
.wk-conf-cbtn {
  border: none;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wk-conf-cbtn-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.wk-conf-cbtn:hover .wk-conf-cbtn-ic {
  background: rgba(255, 255, 255, 0.28);
}
/* 激活态(静音中 / 免提开 / 摄像头关):白底深色 */
.wk-conf-cbtn.is-on .wk-conf-cbtn-ic {
  background: #fff;
  color: #1a1a1a;
}
/* 挂断:红色 */
.wk-conf-cbtn--danger .wk-conf-cbtn-ic {
  background: #e2453b;
  color: #fff;
}
.wk-conf-cbtn--danger:hover .wk-conf-cbtn-ic {
  background: #f0584e;
}
.wk-conf-cbtn-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}

/* 最小化:微信式可拖动药丸(168x58),后台 App 可正常操作;点一下恢复 */
.wk-conf-pill {
  position: fixed;
  z-index: 9999;
  width: 168px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  box-sizing: border-box;
  background: #23202e;
  color: #fff;
  border-radius: 29px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  font-size: 13.5px;
  touch-action: none; /* pointer 拖动:禁用触摸滚动手势 */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.wk-conf-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wk-ui-primary);
  flex-shrink: 0;
  animation: wk-conf-pulse 1.4s infinite;
}
@keyframes wk-conf-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.wk-conf-pill-tip {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}
.wk-conf-pill-count {
  opacity: 0.7;
  margin-left: auto;
  flex-shrink: 0;
}

/* 群会议成员选择器 */
.wk-conf-member-picker {
  display: flex;
  flex-direction: column;
  height: 420px;
}
.wk-conf-member-list {
  flex: 1 1;
  overflow-y: auto;
  min-height: 0;
}
.wk-conf-member-footer {
  padding: 12px 0 4px;
  text-align: center;
  border-top: 1px solid var(--wk-ui-line);
}
.wk-conf-member-start {
  width: 90%;
  height: 38px;
  border: none;
  border-radius: var(--wk-ui-radius-control);
  background: var(--wk-ui-primary);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.wk-conf-member-start:disabled {
  background: var(--wk-ui-text-3);
  cursor: not-allowed;
}

.wk-conf-host-picker { padding: 0 0 8px; }
.wk-conf-host-picker button {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px;
  padding: 8px 18px; border: 0; border-bottom: 1px solid var(--wk-ui-line); background: var(--wk-ui-surface);
  color: var(--wk-ui-text-1); font-size: 16px; text-align: left; cursor: pointer;
}
.wk-conf-host-picker button:active { background: var(--wk-ui-surface-subtle); }
.wk-conf-host-picker img, .wk-conf-host-fallback { width: 40px; height: 40px; border-radius: 4px; -o-object-fit: cover; object-fit: cover; }
.wk-conf-host-fallback { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; background: var(--wk-ui-primary); color: #fff; }
.wk-conf-host-empty { padding: 28px 16px; color: var(--wk-ui-text-2); text-align: center; }
.wk-conf-host-modal .semi-modal-content {
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--wk-ui-surface) !important;
  box-shadow: var(--wk-ui-shadow-modal) !important;
}
.wk-conf-host-modal .semi-modal-header {
  min-height: 0;
  margin: 0 !important;
  padding: 22px 24px 0 !important;
  border: 0 !important;
  text-align: center;
}
.wk-conf-host-modal .semi-modal-title {
  width: 100%;
  color: var(--wk-ui-text-1);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}
.wk-conf-host-modal .semi-modal-body-wrapper,
.wk-conf-host-modal .semi-modal-body { margin: 0 !important; padding: 0 !important; }
.wk-conf-host-actions { color: var(--wk-ui-text-1); text-align: center; }
.wk-conf-host-actions p { margin: 0; padding: 15px 28px 19px; color: var(--wk-ui-text-2); font-size: 14px; line-height: 1.5; }
.wk-conf-host-actions__buttons { display: flex; border-top: 1px solid var(--wk-ui-line); }
.wk-conf-host-actions__buttons button {
  flex: 1 1; height: 50px; margin: 0; padding: 0 12px; border: 0; border-radius: 0;
  background: transparent; color: var(--wk-ui-text-1); font-size: 16px; font-weight: 500; cursor: pointer;
}
.wk-conf-host-actions__buttons button + button { border-left: 1px solid var(--wk-ui-line); }
.wk-conf-host-actions__buttons button:active { background: rgba(0, 0, 0, 0.05); }
.wk-conf-host-actions__buttons button.is-danger { background: transparent !important; color: var(--wk-ui-danger) !important; }
.wk-conf-rejoin-modal .semi-modal-content {
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--wk-ui-radius-modal) !important;
  background: var(--wk-ui-surface) !important;
  box-shadow: var(--wk-ui-shadow-modal) !important;
}
.wk-conf-rejoin-modal .semi-modal-header {
  min-height: 0;
  margin: 0 !important;
  padding: 22px 24px 0 !important;
  border: 0 !important;
  text-align: center;
}
.wk-conf-rejoin-modal .semi-modal-title {
  width: 100%;
  color: var(--wk-ui-text-1);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}
.wk-conf-rejoin-modal .semi-modal-close {
  top: 10px !important;
  right: 10px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  color: var(--wk-ui-text-2) !important;
}
.wk-conf-rejoin-modal .semi-modal-close:hover { background: rgba(0, 0, 0, 0.05) !important; }
.wk-conf-rejoin-modal .semi-modal-body-wrapper,
.wk-conf-rejoin-modal .semi-modal-body {
  margin: 0 !important;
  padding: 0 !important;
}
.wk-conf-rejoin-approval { color: var(--wk-ui-text-1); font-size: 15px; text-align: center; }
.wk-conf-rejoin-approval__summary { padding: 14px 24px 12px; color: var(--wk-ui-text-2); font-size: 14px; line-height: 1.45; }
.wk-conf-rejoin-approval__list { max-height: min(420px, 52vh); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.wk-conf-rejoin-approval__request { border-top: 1px solid rgba(0, 0, 0, 0.08); }
.wk-conf-rejoin-approval__name { padding: 15px 20px 13px; font-size: 16px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.wk-conf-rejoin-approval__actions { display: flex; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.wk-conf-rejoin-approval__actions button {
  flex: 1 1; height: 50px; margin: 0; padding: 0 12px; border: 0; border-radius: 0;
  background: transparent; color: var(--wk-ui-text-1); font-size: 16px; font-weight: 500; cursor: pointer;
}
.wk-conf-rejoin-approval__actions button + button { border-left: 1px solid rgba(0, 0, 0, 0.1); }
.wk-conf-rejoin-approval__actions button:active { background: rgba(0, 0, 0, 0.05); }
.wk-conf-rejoin-approval__actions button:disabled { color: var(--wk-ui-text-3); cursor: default; }
.wk-conf-rejoin-approval__actions .wk-conf-rejoin-approval__approve { color: var(--wk-ui-primary); }
.wk-conf-rejoin-approval__actions .wk-conf-rejoin-approval__approve:disabled { color: #9fdcb8; }

/* 群会议工具栏按钮 */
.wk-conf-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border-radius: 6px;
}
.wk-conf-toolbar-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* 统一右侧轨道中的群会议圆形入口。 */
.wk-conf-banner {
  position: relative;
  z-index: 1;
  touch-action: none;
}
.wk-conf-banner-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--wk-ui-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: grab;
}
.wk-conf-banner-orb:active { cursor: grabbing; }
.wk-conf-banner-dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: wk-conf-pulse 1.4s infinite;
}
.wk-conf-banner-orb small {
  position: absolute;
  right: -3px;
  bottom: -3px;
  min-width: 19px;
  padding: 2px 4px;
  border-radius: 10px;
  background: #e5484d;
  color: #fff;
  font-size: 10px;
  line-height: 15px;
}
.wk-conf-banner-card {
  position: absolute;
  right: 68px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 230px;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  color: #202622;
  font-size: 13px;
}
.wk-conf-banner-card strong { font-size: 14px; }
.wk-conf-banner-card__actions { display: flex; gap: 8px; margin-top: 4px; }
.wk-conf-banner-card__actions button {
  flex: 1 1;
  min-height: 34px;
  border: 1px solid #dfe5e1;
  border-radius: 9px;
  background: #fff;
  color: #344139;
}
.wk-conf-banner-card__actions button.is-primary {
  border-color: var(--wk-ui-primary);
  background: var(--wk-ui-primary);
  color: #fff;
}

/* 来电小卡（右下角悬浮，非阻塞） */
/* 来电邀请:微信/单聊通话风格——桌面右下角竖窗,移动端全屏;大头像 + 名字 + 提示 + 底部 接听/拒绝。 */
.wk-conf-incoming {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: 340px;
  height: 500px;
  background: var(--wk-ui-call-surface);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.wk-conf-incoming-minimize {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0 0 6px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 26px;
  line-height: 30px;
}
.wk-conf-incoming-pill {
  position: fixed;
  z-index: 10000;
  top: max(14px, calc(env(safe-area-inset-top) + 8px));
  right: 14px;
  width: min(198px, calc(100vw - 28px));
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 0;
  border-radius: 29px;
  background: #23202e;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .34);
  color: #fff;
  text-align: left;
}
.wk-conf-incoming-pill .wk-conf-pill-dot.is-ringing { background: #fa5151; }
.wk-conf-incoming-pill > span:last-child { min-width: 0; display: flex; flex: 1 1; flex-direction: column; gap: 2px; }
.wk-conf-incoming-pill strong { font-size: 14px; line-height: 20px; }
.wk-conf-incoming-pill small { overflow: hidden; color: rgba(255, 255, 255, .7); font-size: 12px; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
.wk-conf-incoming-box {
  margin-top: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wk-conf-incoming-av {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: #3a3a42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #fff;
}
.wk-conf-incoming-av img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.wk-conf-incoming-name {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 500;
}
.wk-conf-incoming-sub {
  margin-top: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.7);
}
.wk-conf-incoming-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-around;
  padding: 0 36px;
}

/* 发起方等待(只有自己、还没人加入):单聊呼叫风格——居中大头像 + 状态文案。 */
.wk-conf-waiting {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--wk-ui-call-bg);
  color: var(--wk-ui-call-text);
}
.wk-conf-waiting-av {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  overflow: hidden;
  background: #3a3a42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.wk-conf-waiting-av img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.wk-conf-waiting-tip {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.wk-conf-device-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(250, 173, 20, .5);
  background: #fff8e8;
  color: #4f3a0d;
}
.wk-conf-device-fallback-icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #faad14;
  color: #2b210b;
  font-size: 15px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}
.wk-conf-device-fallback > span:nth-child(2) { min-width: 0; display: flex; flex: 1 1; flex-direction: column; gap: 2px; }
.wk-conf-device-fallback strong { font-size: 13px; line-height: 18px; }
.wk-conf-device-fallback small { color: #7b5b18; font-size: 12px; line-height: 17px; }
.wk-conf-device-fallback button { flex: 0 0 auto; min-height: 34px; padding: 0 12px; border: 0; border-radius: 8px; background: #07c160; color: #fff; cursor: pointer; }
.wk-conf-cbtn:disabled { cursor: not-allowed; opacity: .48; }

/* 移动端:群会议悬浮窗改全屏(覆盖拖动写的 inline left/top + 桌面限宽限高)。 */
@media (max-width: 520px) {
  .wk-conf-window {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
  .wk-conf-grid {
    max-height: none;
    overflow-y: auto;
  }
  /* 手机单页沿用微信式九宫格；人数不限，超出当前视区继续滚动/虚拟化。 */
  .wk-conf-grid-5,
  .wk-conf-grid-6,
  .wk-conf-grid-7,
  .wk-conf-grid-8,
  .wk-conf-grid-9 {
    grid-template-columns: repeat(3, 1fr);
  }
  .wk-conf-bar { gap: 0; justify-content: space-around; }
  .wk-conf-cbtn { min-width: 0; flex: 1 1 25%; }
  .wk-conf-cbtn-ic { width: 50px; height: 50px; }
  .wk-conf-identity { display: none; }
  .wk-conf-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wk-conf-header-btns { gap: 4px; }
  .wk-conf-direct-entry { width: 40px; justify-content: center; padding: 0; }
  .wk-conf-direct-entry svg { display: none; }
  .wk-meeting-moderation-row { align-items: flex-start; flex-wrap: wrap; }
  .wk-meeting-moderation-actions { width: 100%; justify-content: flex-end; padding-left: 48px; }
  /* 来电邀请改全屏(单聊通话同款) */
  .wk-conf-incoming {
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-top: env(safe-area-inset-top, 0px);
    padding-top: var(--safe-top, env(safe-area-inset-top, 0px));
  }
}

:root {
  --sider-width: 60px
}

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

.wk-main-content {
    width: calc(100% - 60px
);
    width: calc(100% - var(--sider-width));
    height: 100%;
    background-color: white;
}

/* ================================================================
 * Moments Page – Desktop-first redesign
 * Aesthetic: editorial / newspaper column meets desktop IM
 * Two-pane layout: fixed left rail + scrollable content column
 * ================================================================ */

/* ---------- CSS Variables ---------- */
.wk-moments-page {
  --m-bg:        #f2f3f5;
  --m-surface:   #ffffff;
  --m-surface2:  #f7f8fa;
  --m-border:    #e4e6ea;
  --m-text:      #1a1d23;
  --m-text-sub:  #6b7280;
  --m-text-link: #3b5998;
  --m-accent:    var(--wk-color-theme, #07C160);
  --m-accent-lt: var(--qq-theme-weak, #f0ecff);
  --m-accent2:   #3b82f6;
  --m-danger:    #ef4444;
  --m-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --m-shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --m-shadow-lg: 0 12px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --m-radius:    12px;
  --m-rail-w:    240px;
  --m-content-w: 680px;
}

body[theme-mode="dark"] .wk-moments-page {
  --m-bg:        #0d0f12;
  --m-surface:   #1a1d23;
  --m-surface2:  #22262e;
  --m-border:    #2e3340;
  --m-text:      #e8eaf0;
  --m-text-sub:  #8a92a3;
  --m-text-link: #7ba4e8;
  --m-accent-lt: var(--qq-theme-soft, rgba(7, 193, 96,.16));
  --m-shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --m-shadow-md: 0 4px 12px rgba(0,0,0,.4);
  --m-shadow-lg: 0 12px 32px rgba(0,0,0,.5);
}

/* ---------- Page Shell ---------- */
.wk-moments-page {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wk-moments-page-content {
  flex: 1 1;
  min-height: 0;
  display: flex;
  background: var(--m-bg);
  overflow: hidden;
}

/* ---------- Left Rail ---------- */
.wk-moments-rail {
  width: var(--m-rail-w);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--m-border);
  background: var(--m-surface);
  overflow-y: auto;
  padding: 20px 12px 24px;
  gap: 4px;
}

/* Profile block inside rail */
.wk-moments-rail-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 16px;
  border-bottom: 1px solid var(--m-border);
  margin-bottom: 8px;
}

.wk-moments-rail-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--m-border);
}

.wk-moments-rail-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--m-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-moments-rail-sub {
  font-size: 11px;
  color: var(--m-text-sub);
  margin-top: 2px;
}

/* Rail section label */
.wk-moments-rail-section {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--m-text-sub);
  padding: 12px 8px 4px;
}

/* Rail nav item */
.wk-moments-rail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--m-text-sub);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, color 0.15s;
  position: relative;
}

.wk-moments-rail-item:hover {
  background: var(--m-surface2);
  color: var(--m-text);
}

.wk-moments-rail-item.active {
  background: var(--m-accent-lt);
  color: var(--m-accent);
  font-weight: 600;
}

body[theme-mode="dark"] .wk-moments-rail-item.active {
  background: rgba(7, 193, 96,.15);
  background: var(--qq-theme-soft, rgba(7, 193, 96,.15));
}

.wk-moments-rail-item-icon {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.wk-moments-rail-badge {
  margin-left: auto;
  background: var(--m-danger);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Publish button in rail */
.wk-moments-rail-publish {
  margin-top: 8px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 8px;
  border: none;
  background: var(--m-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.15s, transform 0.1s;
}

.wk-moments-rail-publish:hover { opacity: 0.88; }
.wk-moments-rail-publish:active { transform: scale(0.97); }

/* ---------- Content Column ---------- */
.wk-moments-content {
  flex: 1 1;
  min-width: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 48px;
  gap: 0;
}

/* Hero header banner */
.wk-moments-hero {
  width: 100%;
  max-width: var(--m-content-w);
  border-radius: var(--m-radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  box-shadow: var(--m-shadow-md);
  min-height: 200px;
}

.wk-moments-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #07C160 0%, #57d99a 50%, #6aafe6 100%);
  background: linear-gradient(135deg, var(--wk-color-theme, #07C160) 0%, #57d99a 50%, #6aafe6 100%);
}

.wk-moments-cover-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #07C160 0%, #57d99a 50%, #6aafe6 100%);
  background: linear-gradient(135deg, var(--wk-color-theme, #07C160) 0%, #57d99a 50%, #6aafe6 100%);
}

.wk-moments-hero-overlay {
  position: relative;
  min-height: 200px;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,.02) 0%, rgba(0,0,0,.45) 100%);
}

.wk-moments-hero-left {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.wk-moments-hero-avatar {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  flex-shrink: 0;
}

.wk-moments-hero-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.2;
}

.wk-moments-hero-sub {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}

.wk-moments-hero-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.wk-moments-hero-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.wk-moments-hero-btn:hover {
  background: rgba(255,255,255,.28);
}

.wk-moments-hero-btn.primary {
  background: var(--m-accent);
  border-color: var(--m-accent);
}

.wk-moments-hero-btn.primary:hover {
  filter: brightness(0.92);
}

/* ---------- Toolbar（纯时间流，去掉按类型筛选）---------- */
.wk-moments-toolbar {
  width: 100%;
  max-width: var(--m-content-w);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.wk-moments-toolbar-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--m-text-sub);
}

/* ---------- Feed list ---------- */
.wk-moments-list {
  width: 100%;
  max-width: var(--m-content-w);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- Empty / Loading ---------- */
.wk-moments-empty,
.wk-moments-loading {
  width: 100%;
  max-width: var(--m-content-w);
  background: var(--m-surface);
  border-radius: var(--m-radius);
  padding: 64px 24px;
  text-align: center;
  border: 1px solid var(--m-border);
}

.wk-moments-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* ---------- Moment Card ---------- */
.wk-moments-card {
  background: var(--m-surface);
  border: 1px solid var(--m-border);
  border-radius: var(--m-radius);
  padding: 16px;
  box-shadow: var(--m-shadow-sm);
  transition: box-shadow 0.2s;
  position: relative;
}

.wk-moments-card:hover {
  box-shadow: var(--m-shadow-md);
}

.wk-moments-card.highlighted {
  border-color: var(--m-accent);
  box-shadow: 0 0 0 2px rgba(7, 193, 96,.15), var(--m-shadow-md);
  box-shadow: 0 0 0 2px var(--qq-theme-soft, rgba(7, 193, 96,.15)), var(--m-shadow-md);
}

.wk-moments-card.detail {
  box-shadow: none;
  border: none;
  padding: 0;
  background: transparent;
}

/* Card header */
.wk-moments-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.wk-moments-card-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.wk-moments-avatar-btn {
  flex-shrink: 0;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

.wk-moments-avatar-btn img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--m-border);
}

.wk-moments-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--m-text-link);
  line-height: 1.3;
}

.wk-moments-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--m-text-sub);
}

.wk-moments-card-meta-sep {
  opacity: 0.4;
}

.wk-moments-privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--m-surface2);
  font-size: 10px;
  font-weight: 500;
  color: var(--m-text-sub);
  border: 1px solid var(--m-border);
}

.wk-moments-card-delete-btn {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--m-text-sub);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s;
}

.wk-moments-card-delete-btn:hover {
  color: var(--m-danger);
  background: rgba(239,68,68,.08);
}

/* Card text */
.wk-moments-card-text {
  font-size: 14px;
  color: var(--m-text);
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 10px;
}

/* ---------- Image Gallery ---------- */
.wk-moments-gallery {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
}

/* 1 image: natural aspect, max width */
.wk-moments-gallery[data-count="1"] {
  max-width: 340px;
}

.wk-moments-gallery[data-count="1"] .wk-moments-gallery-cell {
  aspect-ratio: unset;
}

.wk-moments-gallery[data-count="1"] .wk-moments-gallery-img {
  max-height: 360px;
  width: 100%;
  object-fit: contain;
  background: var(--m-surface2);
}

/* 2 images: side by side */
.wk-moments-gallery[data-count="2"] {
  grid-template-columns: repeat(2, 1fr);
}

/* 3 images */
.wk-moments-gallery[data-count="3"] {
  grid-template-columns: repeat(3, 1fr);
}

/* 4 images: 2×2 */
.wk-moments-gallery[data-count="4"] {
  grid-template-columns: repeat(2, 1fr);
}

/* 5 images: 3 top + 2 bottom */
.wk-moments-gallery[data-count="5"] {
  grid-template-columns: repeat(3, 1fr);
}

.wk-moments-gallery[data-count="5"] .wk-moments-gallery-cell:nth-child(4),
.wk-moments-gallery[data-count="5"] .wk-moments-gallery-cell:nth-child(5) {
  grid-column: span 1;
}

/* 6 images: 3×2 */
.wk-moments-gallery[data-count="6"] {
  grid-template-columns: repeat(3, 1fr);
}

/* 7,8,9: 3 columns */
.wk-moments-gallery[data-count="7"],
.wk-moments-gallery[data-count="8"],
.wk-moments-gallery[data-count="9"] {
  grid-template-columns: repeat(3, 1fr);
}

.wk-moments-gallery-cell {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--m-surface2);
  position: relative;
}

.wk-moments-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.wk-moments-gallery-cell:hover .wk-moments-gallery-img {
  transform: scale(1.04);
}

/* ---------- Video ---------- */
.wk-moments-video {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  max-width: 480px;
  background: #000;
  margin-bottom: 10px;
  cursor: pointer;
}

.wk-moments-video-cover {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  display: block;
}

.wk-moments-video-player {
  width: 100%;
  max-height: 300px;
  display: block;
  outline: none;
}

.wk-moments-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.3);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.wk-moments-video-play-btn:hover {
  background: rgba(0,0,0,.45);
}

.wk-moments-video-play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform 0.15s;
}

.wk-moments-video-play-btn:hover .wk-moments-video-play-icon {
  transform: scale(1.08);
}

/* ---------- Like + Comment area ---------- */
.wk-moments-interaction {
  margin-top: 4px;
  border-top: 1px solid var(--m-border);
  padding-top: 10px;
}

.wk-moments-like-bar {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 8px;
}

.wk-moments-like-icon {
  color: var(--m-danger);
  flex-shrink: 0;
  margin-top: 1px;
}

.wk-moments-like-names {
  color: var(--m-text-link);
  line-height: 1.6;
  flex: 1 1;
  word-break: break-word;
}

/* Comment list */
.wk-moments-comments {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--m-surface2);
  border-radius: 8px;
  padding: 8px 12px;
}

.wk-moments-comment-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 2px 0;
}

.wk-moments-comment-body {
  border: none;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: var(--m-text);
  line-height: 1.6;
  flex: 1 1;
}

.wk-moments-comment-author {
  font-weight: 600;
  color: var(--m-text-link);
}

.wk-moments-comment-reply-to {
  color: var(--m-text-sub);
}

.wk-moments-comment-actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  align-items: center;
  opacity: 0;
  transition: opacity 0.15s;
}

.wk-moments-comment-row:hover .wk-moments-comment-actions {
  opacity: 1;
}

.wk-moments-comment-time {
  font-size: 11px;
  color: var(--m-text-sub);
}

.wk-moments-comment-del-btn {
  border: none;
  background: transparent;
  color: var(--m-danger);
  font-size: 11px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.15s;
}

.wk-moments-comment-del-btn:hover {
  background: rgba(239,68,68,.1);
}

/* ---------- Card action bar ---------- */
.wk-moments-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--m-border);
}

.wk-moments-action-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 12px;
  color: var(--m-text-sub);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.wk-moments-action-btn:hover {
  background: var(--m-surface2);
  color: var(--m-text);
}

.wk-moments-action-btn.liked {
  color: var(--m-danger);
}

.wk-moments-action-btn.liked:hover {
  background: rgba(239,68,68,.08);
}

.wk-moments-action-count {
  font-size: 11px;
  opacity: 0.7;
}

.wk-moments-actions-spacer {
  flex: 1 1;
}

/* ---------- Inline comment composer ---------- */
.wk-moments-inline-composer {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding-top: 8px;
  border-top: 1px solid var(--m-border);
}

.wk-moments-inline-composer-wrap {
  flex: 1 1;
}

.wk-moments-inline-reply-label {
  font-size: 11px;
  color: var(--m-text-sub);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wk-moments-inline-reply-cancel {
  border: none;
  background: transparent;
  color: var(--m-text-sub);
  font-size: 11px;
  cursor: pointer;
  padding: 1px 6px;
  border-radius: 4px;
  transition: background 0.15s;
}

.wk-moments-inline-reply-cancel:hover {
  background: var(--m-surface2);
}

.wk-moments-inline-input {
  width: 100%;
  resize: none;
  border: 1px solid var(--m-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--m-text);
  background: var(--m-surface2);
  outline: none;
  line-height: 1.5;
  min-height: 60px;
  font-family: inherit;
  transition: border-color 0.15s;
}

.wk-moments-inline-input:focus {
  border-color: var(--m-accent);
  background: var(--m-surface);
}

.wk-moments-inline-input::placeholder {
  color: var(--m-text-sub);
  opacity: 0.6;
}

.wk-moments-inline-send {
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  background: var(--m-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-end;
  transition: opacity 0.15s;
}

.wk-moments-inline-send:hover { opacity: 0.85; }
.wk-moments-inline-send:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Composer Modal ---------- */
.wk-moments-composer-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wk-moments-composer-text {
  width: 100%;
  resize: none;
  border: 1px solid var(--m-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--m-text);
  background: var(--m-surface);
  outline: none;
  line-height: 1.6;
  min-height: 88px;
  font-family: inherit;
  transition: border-color 0.15s;
}

.wk-moments-composer-text:focus {
  border-color: var(--m-accent);
}

.wk-moments-composer-text::placeholder {
  color: var(--m-text-sub);
  opacity: 0.6;
}

/* Image grid in composer */
.wk-moments-composer-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wk-moments-composer-img-cell {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--m-border);
}

.wk-moments-composer-img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-moments-composer-img-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: none;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}

.wk-moments-composer-img-remove:hover {
  background: rgba(239,68,68,.85);
}

.wk-moments-composer-add-cell {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px dashed var(--m-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  color: var(--m-text-sub);
  font-size: 11px;
  transition: border-color 0.15s, color 0.15s;
}

.wk-moments-composer-add-cell:hover {
  border-color: var(--m-accent);
  color: var(--m-accent);
}

.wk-moments-composer-add-cell .icon {
  font-size: 20px;
  line-height: 1;
}

/* Video preview in composer */
.wk-moments-composer-video-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--m-surface2);
  border: 1px solid var(--m-border);
  border-radius: 8px;
  padding: 10px 14px;
  min-height: 82px;
  position: relative;
}

.wk-moments-composer-video-preview.is-retryable {
  cursor: pointer;
  border-color: rgba(239,68,68,.5);
}

.wk-moments-composer-video-preview.is-retryable:focus-visible {
  outline: 2px solid var(--m-danger);
  outline-offset: 2px;
}

.wk-moments-composer-video-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
}

.wk-moments-composer-video-info {
  flex: 1 1;
  font-size: 13px;
  color: var(--m-text-sub);
}

.wk-moments-composer-video-progress,
.wk-moments-composer-video-failed {
  flex: 1 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--m-text-sub);
}

.wk-moments-composer-video-failed {
  color: var(--m-danger);
  font-weight: 600;
}

.wk-moments-composer-video-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(34,197,94,.2);
  border-top-color: var(--m-accent);
  animation: wk-moments-video-upload-spin .8s linear infinite;
}

.wk-moments-composer-video-error-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--m-danger);
  font-weight: 800;
}

@keyframes wk-moments-video-upload-spin {
  to { transform: rotate(360deg); }
}

.wk-moments-composer-video-remove {
  border: none;
  background: transparent;
  color: var(--m-danger);
  cursor: pointer;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s;
}

.wk-moments-composer-video-remove:hover {
  background: rgba(239,68,68,.08);
}

/* Composer toolbar row */
.wk-moments-composer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.wk-moments-composer-tool-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text-sub);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.wk-moments-composer-tool-btn:hover {
  border-color: var(--m-accent);
  color: var(--m-accent);
}

.wk-moments-composer-tool-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Uploading spinner note */
.wk-moments-uploading-note {
  font-size: 12px;
  color: var(--m-text-sub);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Privacy row */
.wk-moments-composer-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.wk-moments-composer-meta-label {
  font-size: 12px;
  color: var(--m-text-sub);
  display: flex;
  align-items: center;
  gap: 4px;
}

.wk-moments-composer-tool-icon {
  font-size: 14px;
  line-height: 1;
}

/* Privacy — 四选一单选互斥 chips（对齐微信/h5） */
.wk-moments-composer-privacy-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wk-moments-composer-privacy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wk-moments-privacy-chip {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  color: var(--m-text-sub);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.wk-moments-privacy-chip:hover {
  border-color: var(--m-accent);
  border-color: var(--wk-color-theme, var(--m-accent));
  color: var(--m-accent);
  color: var(--wk-color-theme, var(--m-accent));
}

.wk-moments-privacy-chip.is-on {
  background: var(--m-accent);
  background: var(--wk-color-theme, var(--m-accent));
  border-color: var(--m-accent);
  border-color: var(--wk-color-theme, var(--m-accent));
  color: #fff;
}

/* ---------- Alerts / Inbox ---------- */
.wk-moments-alerts-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wk-moments-alerts-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wk-moments-alerts-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--m-text);
}

.wk-moments-alerts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
}

.wk-moments-alert-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--m-border);
  background: var(--m-surface);
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.wk-moments-alert-card:hover {
  background: var(--m-surface2);
  box-shadow: var(--m-shadow-sm);
}

.wk-moments-alert-info {
  flex: 1 1;
  min-width: 0;
}

.wk-moments-alert-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--m-text);
  margin-bottom: 3px;
}

.wk-moments-alert-desc {
  font-size: 12px;
  color: var(--m-text-sub);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.wk-moments-alert-time {
  font-size: 11px;
  color: var(--m-text-sub);
  margin-top: 4px;
}

.wk-moments-alert-thumb {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.wk-moments-alert-del-btn {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--m-text-sub);
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.15s;
  align-self: center;
}

.wk-moments-alert-del-btn:hover {
  color: var(--m-danger);
  background: rgba(239,68,68,.08);
}

.wk-moments-alerts-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--m-text-sub);
  font-size: 13px;
}

/* ---------- Detail panel ---------- */
.wk-moments-detail-loading {
  display: flex;
  justify-content: center;
  padding: 40px;
}

/* ---------- Privacy picker ---------- */
.wk-moments-privacy-picker-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wk-moments-privacy-tip {
  font-size: 12px;
  color: var(--m-text-sub);
  padding: 8px 12px;
  background: var(--m-surface2);
  border-radius: 6px;
  border: 1px solid var(--m-border);
}

.wk-moments-privacy-list-wrap {
  max-height: 360px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid var(--m-border);
}

.wk-moments-privacy-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--m-border);
}

.wk-moments-privacy-selected-count {
  font-size: 13px;
  color: var(--m-text-sub);
}

/* Cover edit overlay */
.wk-moments-cover-edit-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 8px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

.wk-moments-hero:hover .wk-moments-cover-edit-overlay {
  opacity: 1;
}

.wk-moments-cover-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.35);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s;
}

.wk-moments-cover-btn:hover {
  background: rgba(0,0,0,.55);
}

/* Test-only hidden buttons for Playwright */
.wk-moments-privacy-test-btn { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .wk-moments-rail {
    width: 200px;
  }
  :root {
    --m-content-w: 560px;
  }
}

@media (max-width: 720px) {
  .wk-moments-rail {
    display: none;
  }
}




.wk-main-sider {
    width: var(--sider-width);
    height: 100%;
    background-color: var(--wk-color-secondary);
    background-color: var(--qq-rail-bg, var(--wk-color-secondary));
}


.wk-main-sider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    position: relative;
}

.wk-main-sider-avatar {
    margin-top: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.wk-main-sider-avatar img{
    width: 50px;
    height: 50px;
    border-radius: 40%;
}

.wk-main-sider-item {
    width: 32px;
    height: 32px;
    margin-top: 30px;
    cursor: pointer;
    position: relative;
}

.wk-main-sider-item img{
    width: 24px;
    height: 24px;
}

/* 批M:四 tab 改内联线性 SVG(h5 壳同款),用 currentColor 着色 — 默认灰、选中/hover 紫 */
.wk-main-sider-item svg {
    width: 26px;
    height: 26px;
    color: #999;
    color: var(--qq-rail-icon, #999);
    transition: color 0.18s;
}
.wk-main-sider-item:hover svg {
    color: var(--wk-color-theme);
    color: var(--qq-rail-icon-active, var(--wk-color-theme));
}
.wk-main-sider-item.is-active svg {
    color: var(--wk-color-theme);
    color: var(--qq-rail-icon-active, var(--wk-color-theme));
}

.wk-main-sider-setting-box {
    position: absolute;
    bottom: 30px;
}

.wk-main-sider-setting {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}



.wk-sider-setting-position-re {
    position: relative;
}

.wk-icon-bar {
    width: 24px;
    height: 2px;
    margin: 5px 10px 0;
    background-color: #999;
    background-color: var(--qq-rail-icon, #999);
}

.wk-main-sider-setting:hover .wk-icon-bar,
.wk-main-sider-setting.collapsed .wk-icon-bar {
    background-color: var(--wk-color-theme);
    background-color: var(--qq-rail-icon-active, var(--wk-color-theme));
}

.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: 7px;
    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: -7px;
    transform: rotateZ(-45deg);
}

.wk-sider-setting-list {
    position: absolute;
    left: var(--sider-width);
    bottom: 0;
    z-index: 1;
    width: 140px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
    box-shadow: 0 8px 24px var(--qq-theme-soft, rgb(0 0 0 / 18%));
    color: #fdfdfd;
    color: var(--qq-text-primary, #fdfdfd);
    background-color: #333;
    background-color: var(--qq-panel-bg, #333);
    border: 1px solid transparent;
    border: 1px solid var(--qq-divider, transparent);
   border-radius: 4px;
   border-radius: var(--qq-radius-card, 4px);

   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;
}

.wk-sider-setting-list.open {
    transform: scale(1);
}

.wk-sider-setting-list li {
    height: 46px;
    display: flex;
   align-items: center;
   padding-left: 20px;
   cursor: pointer;
   transition: background-color 0.12s ease, color 0.12s ease;
}

.wk-sider-setting-list li:hover {
    background-color: rgba(0, 0, 0, 0.04);
    background-color: var(--qq-theme-weak, rgba(0, 0, 0, 0.04));
    color: var(--wk-color-theme);
}

.wk-main-sider-item-badge {
    position: absolute;
    top: -15px;
    right: -5px;
}


.wk-main-sider-setting-badge {
    position: absolute;
    right: 5px;
    top: -10px;
}


.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-base-modal-userinfo .semi-modal-body{
    height: 500px;
  } */

  .wk-main-sider-meinfo .semi-modal-body {
    height: 500px;
  }

.wk-setting-center-list {
    display: flex;
    flex-direction: column;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 10px;
    overflow: hidden;
}

.wk-setting-center-item {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid #f2f2f2;
    border-bottom: 1px solid var(--wk-color-line, #f2f2f2);
    cursor: pointer;
}

.wk-setting-center-item:last-child {
    border-bottom: none;
}

.wk-setting-center-arrow {
    color: #9ca3af;
}

.wk-setting-center-item-danger {
    color: #d14343;
}

/* J70 上传日志弹窗 */
.wk-upload-log-modal {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wk-upload-log-hint {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}
.wk-upload-log-hint-sub {
    font-size: 12px;
    color: #9ca3af;
}
.wk-upload-log-textarea {
    width: 100%;
    min-height: 160px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #e6e6e6;
    border: 1px solid var(--wk-color-line, #e6e6e6);
    border-radius: 10px;
    resize: vertical;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
}
.wk-upload-log-textarea:focus {
    outline: none;
    border-color: #f97316;
    border-color: var(--wk-color-theme, #f97316);
}
.wk-upload-log-count {
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
}
.wk-upload-log-submit {
    margin-top: 4px;
    height: 44px;
    border-radius: 22px;
    background: #f97316;
    background: var(--wk-color-theme, #f97316);
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.wk-upload-log-submit:disabled {
    background: #d4d4d8;
    cursor: not-allowed;
}
/* J70 续 (2026-05-14)：附件区 */
.wk-upload-log-attach {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wk-upload-log-attach-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wk-upload-log-thumb {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f7;
    border: 1px solid #e6e6e6;
    border: 1px solid var(--wk-color-line, #e6e6e6);
}
.wk-upload-log-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wk-upload-log-thumb-x {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}
.wk-upload-log-thumb-add {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    font-size: 12px;
    gap: 2px;
}
.wk-upload-log-thumb-add > span:first-child {
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
}
.wk-upload-log-thumb-add-text {
    font-size: 11px;
}
.wk-upload-log-attach-hint {
    font-size: 11px;
    color: #9ca3af;
}

.wk-setting-center-desc {
    color: #9ca3af;
    font-size: 12px;
}

.wk-setting-panel {
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 10px;
    overflow: hidden;
}

.wk-setting-switch-row {
    min-height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f2f2f2;
    border-bottom: 1px solid var(--wk-color-line, #f2f2f2);
}

.wk-setting-switch-row:last-child {
    border-bottom: none;
}

.wk-setting-switch-row-stack {
    align-items: flex-start;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.wk-setting-switch-copy {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wk-setting-switch-desc {
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.5;
}

.wk-radio-row {
    padding: 8px 0;
}

.wk-chat-bg-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 12px;
    gap: 12px;
}

.wk-chat-bg-item {
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wk-chat-bg-item-selected {
    border-color: #07C160;
    border-color: var(--wk-color-theme, #07C160);
    box-shadow: 0 0 0 1px rgba(7, 193, 96, 0.18);
    box-shadow: 0 0 0 1px var(--qq-theme-soft, rgba(7, 193, 96, 0.18));
}

.wk-chat-bg-preview {
    width: 100%;
    height: 72px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.wk-chat-bg-preview-default {
    background: linear-gradient(135deg, #f3f6fb 0%, #dce6f8 100%);
}

.wk-chat-bg-preview-aurora {
    background: linear-gradient(135deg, #ffe7d6 0%, #f9c9d4 45%, #cfe6ff 100%);
}

.wk-chat-bg-preview-olive {
    background: linear-gradient(135deg, #f1f5e6 0%, #e0e9c6 45%, #c4ddbf 100%);
}

.wk-chat-bg-preview-none {
    background: #f4f4f5;
}

.wk-version-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wk-about-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wk-version-panel-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    object-fit: cover;
}

.wk-version-panel-name {
    font-size: 18px;
    font-weight: 600;
}

.wk-version-panel-version {
    color: #9ca3af;
    font-size: 13px;
}

.wk-version-panel-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.wk-about-panel-meta {
    width: 100%;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 8px;
    background: #fafafa;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.7;
    padding: 10px 12px;
    word-break: break-all;
}

.wk-form-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wk-form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wk-form-item label {
    color: #6b7280;
    font-size: 12px;
}

.wk-form-item-inline {
    flex-direction: row;
    align-items: flex-end;
    gap: 8px;
}

.wk-form-item-inline-main {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wk-form-action-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wk-setting-tip {
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 8px;
    background: #fafafa;
    color: #4b5563;
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 12px;
}

.wk-setting-tip-danger {
    border-color: rgba(209, 67, 67, 0.2);
    background: rgba(209, 67, 67, 0.06);
    color: #a63b3b;
}

.wk-loading-box {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.wk-blacklist-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}

.wk-blacklist-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 8px;
    padding: 8px 10px;
}

.wk-blacklist-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wk-blacklist-user img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.wk-blacklist-name {
    font-size: 14px;
}

.wk-blacklist-uid {
    color: #9ca3af;
    font-size: 12px;
}

.wk-sticker-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wk-sticker-center-panel {
    height: 420px;
    border: 1px solid #f2f2f2;
    border: 1px solid var(--wk-color-line, #f2f2f2);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    background: var(--wk-color-item, #fff);
}

.wk-sticker-center-panel .wk-emojipanel {
    height: 100%;
}

/* ============================================================
 * Modern IM overrides (2026-04-25 UX audit)
 * 左 rail：头像尺寸/圆角统一、菜单 hover 态、右侧 1px 分隔。
 * tsx/selectedIcon 逻辑不动，只改外观。
 * ============================================================ */
.wk-main-sider {
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-right: 1px solid var(--qq-divider, var(--wk-color-line, rgba(0, 0, 0, 0.06)));
}
body[theme-mode="dark"] .wk-main-sider {
    border-right-color: rgba(255, 255, 255, 0.06);
}
.wk-main-sider-avatar {
    margin-top: 16px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    /* round6：不能 overflow:hidden —— 会裁掉本人头像上方的 SVIP 角标(top:-5px)。
       头像图片自身已有 border-radius:10px 圆角(下方 img 规则),无需容器再裁。 */
    overflow: visible;
    transition: transform 0.12s ease;
}
.wk-main-sider-avatar:hover {
    transform: scale(1.04);
}
.wk-main-sider-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}
/* round6：WKAvatar 默认 wrapper 50x50,这里压到 42x42 与图标一致,
   让 SVIP 角标(相对 wrapper top:-5px / 居中)精确落在头像正上方居中。 */
.wk-main-sider-avatar .wk-avatar-wrapper {
    width: 42px;
    height: 42px;
}
.wk-main-sider-item {
    width: 40px;
    height: 40px;
    margin-top: 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.12s ease;
}
.wk-main-sider-item:hover {
    background: rgba(0, 0, 0, 0.04);
    background: var(--qq-theme-soft, rgba(0, 0, 0, 0.04));
}
body[theme-mode="dark"] .wk-main-sider-item:hover {
    background: rgba(255, 255, 255, 0.06);
}
.wk-main-sider-setting:hover {
    background: rgba(0, 0, 0, 0.04);
    background: var(--qq-theme-soft, rgba(0, 0, 0, 0.04));
    border-radius: 8px;
}
body[theme-mode="dark"] .wk-main-sider-setting:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* 朋友圈浮层窗口（微信桌面端式）：覆盖在当前会话上的独立大窗口 */
.wk-moments-modal .semi-modal-content {
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
}
.wk-moments-modal .semi-modal-body {
    padding: 0;
}
.wk-moments-modal-body {
    height: 80vh;
    min-height: 480px;
    display: flex;
    overflow: hidden;
}
.wk-moments-modal-body > * {
    flex: 1 1;
    height: 100%;
    overflow: auto;
}

/* 朋友圈浮层右上角关闭按钮 */
.wk-moments-modal-body {
    position: relative;
}
.wk-moments-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    color: #555;
    border-radius: 16px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background-color 0.12s ease;
}
.wk-moments-modal-close:hover {
    background: rgba(0, 0, 0, 0.12);
}
body[theme-mode="dark"] .wk-moments-modal-close {
    background: rgba(255, 255, 255, 0.10);
    color: #ddd;
}
body[theme-mode="dark"] .wk-moments-modal-close:hover {
    background: rgba(255, 255, 255, 0.18);
}

.wk-discover-page {
  width: 100%;
  height: 100%;
}

.wk-discover-page-content {
  height: calc(100% - 64px);
  padding: 18px;
  overflow: auto;
  background: #f6f7f9;
  background: var(--wk-color-bg, #f6f7f9);
}

.wk-discover-page-empty {
  background: #ffffff;
  border-radius: 12px;
  padding: 48px 24px;
}

.wk-discover-page-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wk-discover-page-frame {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  background: #ffffff;
}

.wk-discover-page-frame-header {
  min-height: 46px;
  border-bottom: 1px solid #eceff3;
  border-bottom: 1px solid var(--wk-color-line, #eceff3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #1f2329;
  color: var(--wk-color-text, #1f2329);
}

.wk-discover-page-frame iframe {
  width: 100%;
  height: calc(100% - 46px);
  border: none;
}

.wk-discover-page-card {
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wk-discover-page-card-main {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1;
}

.wk-discover-page-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  margin-right: 12px;
  overflow: hidden;
}

/* 仅在没有 admin 图标时展示首字色块（与 admin discover-icon--fallback 同步） */
.wk-discover-page-icon--fallback {
  background: linear-gradient(135deg, #07C160, #2dcb78);
  background: linear-gradient(135deg, var(--wk-color-theme, #07C160), #2dcb78);
  color: #fff;
}

.wk-discover-page-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-discover-page-info {
  min-width: 0;
}

.wk-discover-page-title {
  font-size: 15px;
  color: #1f2329;
  color: var(--wk-color-text, #1f2329);
}

.wk-discover-page-url {
  margin-top: 4px;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wk-discover-modal .semi-modal-content {
  padding: 0;
}

.wk-discover-modal-body {
  height: 75vh;
  display: flex;
  flex-direction: column;
}

.wk-discover-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid #eceff3;
  border-bottom: 1px solid var(--wk-color-line, #eceff3);
  background: #f6f7f9;
  background: var(--wk-color-bg, #f6f7f9);
}

.wk-discover-modal-header span[data-testid="discover-frame-title"] {
  font-size: 15px;
  font-weight: 600;
  color: #1f2329;
  color: var(--wk-color-text, #1f2329);
  flex: 1 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 12px;
}

.wk-discover-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-discover-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
  cursor: pointer;
}

.wk-discover-modal-close:hover {
  background: #eceff3;
  background: var(--wk-color-line, #eceff3);
}

.wk-discover-modal-body iframe {
  flex: 1 1;
  width: 100%;
  border: none;
}

.wk-feature-blocked-page {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(225, 160, 78, 0.15), transparent 25%),
    linear-gradient(180deg, #f6f4ef 0%, #ece8dd 100%);
}

.wk-feature-blocked-page-content {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wk-feature-blocked-card {
  min-width: min(520px, 100%);
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(88, 72, 44, 0.08);
  box-shadow: 0 24px 70px rgba(55, 43, 22, 0.08);
}

.wk-feature-blocked-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* 红包消息气泡 - 仿微信风格 + 适配主题 */
.wk-redpacket-cell {
    display: inline-block;
    max-width: 260px;
    min-width: 200px;
    background: linear-gradient(145deg, #FA9D3B 0%, #E76B39 100%);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(231, 107, 57, 0.25);
    margin: 4px 0;
}

.wk-redpacket-cell:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 107, 57, 0.35);
}

.wk-redpacket-cell:active {
    transform: translateY(0);
}

/* 已领取状态 - 灰色 */
.wk-redpacket-cell.grabbed {
    background: linear-gradient(145deg, #C4A67A 0%, #A08560 100%);
    box-shadow: 0 2px 8px rgba(160, 133, 96, 0.25);
}

.wk-redpacket-cell.grabbed:hover {
    box-shadow: 0 4px 12px rgba(160, 133, 96, 0.35);
}

/* 内容区域 */
.wk-redpacket-content {
    display: flex;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 10px;
}

/* 红包图标 */
.wk-redpacket-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-redpacket-icon-text {
    font-size: 32px;
    line-height: 1;
}

/* 信息区域 */
.wk-redpacket-info {
    flex: 1 1;
    min-width: 0;
}

.wk-redpacket-remark {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wk-redpacket-tip {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* 底部标签 */
.wk-redpacket-footer {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-redpacket-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* 暗色模式适配 */
body[theme-mode=dark] .wk-redpacket-cell {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[theme-mode=dark] .wk-redpacket-cell:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* 自适应 - 移动端 */
@media (max-width: 480px) {
    .wk-redpacket-cell {
        max-width: 220px;
        min-width: 180px;
    }
    
    .wk-redpacket-content {
        padding: 10px 12px;
    }
    
    .wk-redpacket-icon {
        width: 36px;
        height: 36px;
    }
    
    .wk-redpacket-icon-text {
        font-size: 28px;
    }
    
    .wk-redpacket-remark {
        font-size: 14px;
    }
}

/* 转账消息气泡 - 仿微信风格 + 适配主题 */
.wk-transfer-cell {
    display: inline-block;
    max-width: 260px;
    min-width: 200px;
    background: linear-gradient(145deg, #FFA940 0%, #FA8C16 100%);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(250, 140, 22, 0.25);
}

.wk-transfer-cell:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(250, 140, 22, 0.35);
}

.wk-transfer-cell:active {
    transform: translateY(0);
}

/* 已领取/已处理状态 */
.wk-transfer-cell.received {
    background: linear-gradient(145deg, #BFBFBF 0%, #8C8C8C 100%);
    box-shadow: 0 2px 8px rgba(140, 140, 140, 0.25);
}

.wk-transfer-cell.received:hover {
    box-shadow: 0 4px 12px rgba(140, 140, 140, 0.35);
}

/* 内容区域 */
.wk-transfer-content {
    display: flex;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 10px;
}

/* 转账图标 */
.wk-transfer-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-transfer-icon-text {
    font-size: 32px;
    line-height: 1;
}

/* 信息区域 */
.wk-transfer-info {
    flex: 1 1;
    min-width: 0;
}

.wk-transfer-amount {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.wk-transfer-remark {
    margin-top: 2px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部状态 */
.wk-transfer-footer {
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.wk-transfer-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
}

/* 暗色模式适配 */
body[theme-mode=dark] .wk-transfer-cell {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body[theme-mode=dark] .wk-transfer-cell:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* 自适应 - 移动端 */
@media (max-width: 480px) {
    .wk-transfer-cell {
        max-width: 220px;
        min-width: 180px;
    }
    
    .wk-transfer-content {
        padding: 10px 12px;
    }
    
    .wk-transfer-icon {
        width: 36px;
        height: 36px;
    }
    
    .wk-transfer-icon-text {
        font-size: 28px;
    }
    
    .wk-transfer-amount {
        font-size: 16px;
    }
}

/* 红包开启弹窗样式 */
.wk-redpacket-open-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.wk-redpacket-open-container {
    width: 300px;
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
}

.wk-redpacket-open-close {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-redpacket-open-loading,
.wk-redpacket-open-error {
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
}

/* 发送者信息 */
.wk-redpacket-open-header {
    margin-bottom: 30px;
}

.wk-redpacket-open-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
}

.wk-redpacket-open-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wk-redpacket-open-remark {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 金额区域 */
.wk-redpacket-open-amount-section {
    margin: 30px 0;
}

.wk-redpacket-open-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.wk-open-amount-value {
    font-size: 52px;
    font-weight: 700;
    color: #FFD93D;
}

.wk-open-amount-unit {
    font-size: 18px;
    color: #FFD93D;
}

/* 开按钮 */
.wk-redpacket-open-btn {
    width: 90px;
    height: 90px;
    border: none;
    background: linear-gradient(135deg, #FFD93D 0%, #F9A825 100%);
    border-radius: 50%;
    color: #C0392B;
    font-size: 36px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s;
    margin: 30px 0;
}

.wk-redpacket-open-btn:hover {
    transform: scale(1.05);
}

.wk-redpacket-open-btn.opening {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 提示信息 */
.wk-redpacket-open-tip {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 20px 0;
}

/* 查看详情链接 */
.wk-redpacket-open-detail-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    cursor: pointer;
    margin-top: 20px;
    text-decoration: underline;
}

.wk-redpacket-open-detail-link:hover {
    color: #fff;
}


/* 红包详情页样式 */
.wk-redpacket-detail-page {
    width: 400px;
    max-height: 600px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wk-redpacket-detail-loading,
.wk-redpacket-detail-error {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

/* 顶部区域 */
.wk-redpacket-detail-header {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.wk-redpacket-detail-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-redpacket-detail-sender {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wk-redpacket-detail-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wk-redpacket-detail-name {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.wk-redpacket-detail-remark {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 10px;
}

/* 金额区域 */
.wk-redpacket-detail-amount-section {
    background: linear-gradient(135deg, #C0392B 0%, #A93226 100%);
    padding: 30px 20px;
    text-align: center;
}

.wk-redpacket-detail-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.wk-amount-value {
    font-size: 48px;
    font-weight: 600;
    color: #FFD93D;
}

.wk-amount-unit {
    font-size: 18px;
    color: #FFD93D;
}

.wk-redpacket-detail-tip {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-top: 8px;
}

/* 领取记录 */
.wk-redpacket-detail-records {
    flex: 1 1;
    overflow-y: auto;
}

.wk-redpacket-detail-records-header {
    padding: 15px 20px;
    background: #f5f5f5;
    color: #666;
    font-size: 13px;
}

.wk-redpacket-detail-records-list {
    padding: 0 20px;
}

.wk-redpacket-detail-record-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wk-redpacket-detail-record-item:last-child {
    border-bottom: none;
}

.wk-record-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.wk-record-info {
    flex: 1 1;
    min-width: 0;
}

.wk-record-name {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wk-lucky-tag {
    font-size: 10px;
    color: #E74C3C;
    border: 1px solid #E74C3C;
    padding: 1px 4px;
    border-radius: 4px;
}

.wk-record-time {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

.wk-record-amount {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.wk-redpacket-detail-empty {
    padding: 40px 0;
    text-align: center;
    color: #999;
    font-size: 13px;
}


/* 转账详情页样式 */
.wk-transfer-detail-page {
    width: 400px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wk-transfer-detail-loading,
.wk-transfer-detail-error {
    padding: 60px 20px;
    text-align: center;
    color: #999;
}

/* 顶部区域 */
.wk-transfer-detail-header {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.wk-transfer-detail-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-transfer-detail-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.wk-transfer-detail-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

/* 金额区域 */
.wk-transfer-detail-amount-section {
    padding: 30px 20px;
    text-align: center;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.wk-transfer-detail-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.wk-amount-symbol {
    font-size: 24px;
    font-weight: 500;
    color: #333;
}

.wk-amount-value {
    font-size: 48px;
    font-weight: 600;
    color: #333;
}

.wk-transfer-detail-remark {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.wk-transfer-detail-status {
    margin-top: 12px;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
}

.wk-transfer-detail-status.status-0 {
    background: #FFF3E0;
    color: #F57C00;
}

.wk-transfer-detail-status.status-1 {
    background: #E8F5E9;
    color: #4CAF50;
}

.wk-transfer-detail-status.status-2,
.wk-transfer-detail-status.status-3 {
    background: #F5F5F5;
    color: #999;
}

/* 详细信息 */
.wk-transfer-detail-info {
    padding: 20px;
}

.wk-transfer-detail-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.wk-transfer-detail-info-item:last-child {
    border-bottom: none;
}

.wk-info-label {
    color: #999;
    font-size: 14px;
}

.wk-info-value {
    color: #333;
    font-size: 14px;
}

.wk-info-mono {
    font-family: monospace;
    font-size: 12px;
}

/* 操作按钮 */
.wk-transfer-detail-actions {
    padding: 20px;
}

.wk-transfer-receive-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    border: none;
    border-radius: 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.wk-transfer-receive-btn:hover {
    opacity: 0.9;
}

.wk-transfer-receive-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 退回按钮:次级样式(与主操作「领取」区分) */
.wk-transfer-refund-btn {
    width: 100%;
    height: 48px;
    background: #fff;
    border: 1px solid #F57C00;
    border-radius: 24px;
    color: #F57C00;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

/* 同时出现「领取」与「退回」时,退回按钮顶部留出间距 */
.wk-transfer-receive-btn + .wk-transfer-refund-btn {
    margin-top: 12px;
}

.wk-transfer-refund-btn:hover {
    opacity: 0.9;
}

.wk-transfer-refund-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* 支付键盘 */
.wk-pay-keyboard {
    background: #fff;
    background: var(--wk-color-item, #fff);
    padding: 12px;
    border-radius: 8px;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    width: 280px;
}

.wk-pay-keyboard-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.wk-pay-keyboard-row:last-child {
    margin-bottom: 0;
}

.wk-pay-key {
    flex: 1 1;
    height: 48px;
    background: #f5f5f5;
    background: var(--wk-color-secondary, #f5f5f5);
    border: 1px solid #e8e8e8;
    border: 1px solid var(--wk-line-color, #e8e8e8);
    border-radius: 6px;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    color: var(--wk-text-item, #333);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

.wk-pay-key:hover:not(.disabled) {
    background: #eee;
    background: var(--wk-color-hover, #eee);
}

.wk-pay-key.pressed {
    background: #ddd;
    background: var(--wk-line-color, #ddd);
    transform: scale(0.96);
}

.wk-pay-key.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wk-pay-key-action {
    background: #e5e5e5;
    background: var(--wk-line-color, #e5e5e5);
    color: #666;
    color: var(--wk-color-font-tip, #666);
    font-size: 13px;
}

.wk-pay-key-action:hover:not(.disabled) {
    background: #ddd;
}

.wk-pay-key-action svg {
    width: 20px;
    height: 20px;
}

.wk-pay-key-text {
    font-size: 13px;
    font-weight: 500;
}

/* 暗色模式 */
body[theme-mode=dark] .wk-pay-keyboard {
    background: #212121;
    background: var(--wk-color-item, #212121);
}

body[theme-mode=dark] .wk-pay-key {
    background: #333;
    background: var(--wk-color-secondary, #333);
    border-color: #444;
    border-color: var(--wk-line-color, #444);
}

body[theme-mode=dark] .wk-pay-key:hover:not(.disabled) {
    background: #444;
}

body[theme-mode=dark] .wk-pay-key-action {
    background: #383838;
}

/* 红包发送页面 - 适配主题 */
.wk-rp-send {
    background: #fff;
    background: var(--wk-color-item, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto;
}

/* ========== Header ========== */
.wk-rp-header {
    background: linear-gradient(145deg, #E74C3C 0%, #C0392B 100%);
    padding: 28px 20px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wk-rp-header-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.wk-rp-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
}

.wk-rp-close:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.wk-rp-header-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-rp-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.wk-rp-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

/* ========== Body ========== */
.wk-rp-body {
    padding: 20px;
}

/* 红包类型切换 */
.wk-rp-type-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.wk-rp-type-tab {
    flex: 1 1;
    padding: 12px 16px;
    border: 1.5px solid #E8E8E8;
    border: 1.5px solid var(--wk-line-color, #E8E8E8);
    background: #FAFAFA;
    background: var(--wk-color-secondary, #FAFAFA);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    color: var(--wk-text-item, #666);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wk-rp-type-tab:hover {
    border-color: #E74C3C;
    background: rgba(231, 76, 60, 0.05);
}

.wk-rp-type-tab.active {
    background: rgba(231, 76, 60, 0.1);
    border-color: #E74C3C;
    color: #E74C3C;
}

.wk-rp-type-icon {
    font-size: 16px;
}

/* 输入字段 */
.wk-rp-field {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
    border-bottom: var(--wk-line, 1px solid #F0F0F0);
}

.wk-rp-field label {
    width: 80px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    color: var(--wk-text-item, #333);
    flex-shrink: 0;
}

.wk-rp-input-wrap {
    flex: 1 1;
    display: flex;
    align-items: center;
}

.wk-rp-input-wrap input {
    flex: 1 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    text-align: right;
    padding: 0 8px;
    color: #333;
    color: var(--wk-text-item, #333);
    background: transparent;
}

.wk-rp-input-wrap input::-moz-placeholder {
    color: #CCC;
    color: var(--wk-color-font-tip, #CCC);
    font-weight: 400;
}

.wk-rp-input-wrap input::placeholder {
    color: #CCC;
    color: var(--wk-color-font-tip, #CCC);
    font-weight: 400;
}

.wk-rp-unit {
    font-size: 15px;
    color: #666;
    color: var(--wk-text-item, #666);
    margin-left: 4px;
}

/* 祝福语 */
.wk-rp-remark {
    padding: 16px 0;
    border-bottom: 1px solid #F0F0F0;
    border-bottom: var(--wk-line, 1px solid #F0F0F0);
}

.wk-rp-remark input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    text-align: center;
    color: #666;
    color: var(--wk-text-item, #666);
    background: transparent;
}

.wk-rp-remark input::-moz-placeholder {
    color: #BBB;
    color: var(--wk-color-font-tip, #BBB);
}

.wk-rp-remark input::placeholder {
    color: #BBB;
    color: var(--wk-color-font-tip, #BBB);
}

/* 错误提示 */
.wk-rp-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #E74C3C;
    font-size: 13px;
    padding: 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    margin-top: 16px;
}

/* 金额显示 */
.wk-rp-total {
    text-align: center;
    padding: 28px 0 8px;
}

.wk-rp-total-currency {
    font-size: 24px;
    color: #E74C3C;
    font-weight: 500;
    vertical-align: top;
    margin-right: 2px;
}

.wk-rp-total-amount {
    font-size: 48px;
    font-weight: 600;
    color: #E74C3C;
    letter-spacing: -1px;
}

/* 余额 */
.wk-rp-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 13px;
    color: #999;
    color: var(--wk-color-font-tip, #999);
    margin-bottom: 20px;
}

.wk-rp-recharge {
    border: none;
    background: rgba(231, 76, 60, 0.1);
    color: #E74C3C;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    line-height: 20px;
    cursor: pointer;
}

/* 提交按钮 */
.wk-rp-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.35);
}

.wk-rp-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45);
}

.wk-rp-submit:active:not(:disabled) {
    transform: translateY(0);
}

.wk-rp-submit:disabled {
    background: #CCC;
    background: var(--wk-line-color, #CCC);
    box-shadow: none;
    cursor: not-allowed;
}

/* ========== 密码输入步骤 ========== */
.wk-rp-password-step {
    background: #F8F9FA;
    background: var(--wk-color-secondary, #F8F9FA);
}

.wk-rp-pwd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    background: var(--wk-color-item, #fff);
    border-bottom: 1px solid #EAEAEA;
    border-bottom: var(--wk-line, 1px solid #EAEAEA);
}

.wk-rp-pwd-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #333;
    color: var(--wk-text-item, #333);
}

.wk-rp-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    color: var(--wk-text-item, #666);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.wk-rp-back:hover {
    background: #F0F0F0;
    background: var(--wk-color-hover, #F0F0F0);
}

.wk-rp-close-sm {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    color: var(--wk-text-item, #666);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.wk-rp-close-sm:hover {
    background: #F0F0F0;
    background: var(--wk-color-hover, #F0F0F0);
}

/* 密码输入区域 */
.wk-rp-pwd-body {
    padding: 32px 24px 20px;
    text-align: center;
    background: #fff;
    background: var(--wk-color-item, #fff);
}

.wk-rp-pwd-amount {
    margin-bottom: 32px;
}

.wk-rp-pwd-currency {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    color: var(--wk-text-item, #333);
    vertical-align: top;
}

.wk-rp-pwd-value {
    font-size: 52px;
    font-weight: 600;
    color: #333;
    color: var(--wk-text-item, #333);
    letter-spacing: -2px;
}

.wk-rp-pwd-label {
    font-size: 14px;
    color: #999;
    color: var(--wk-color-font-tip, #999);
    margin-bottom: 16px;
}

/* 密码框 */
.wk-rp-pwd-boxes {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    margin-bottom: 16px;
}

.wk-rp-pwd-box {
    width: 48px;
    height: 52px;
    background: #fff;
    background: var(--wk-color-item, #fff);
    border: 2px solid #E0E0E0;
    border: 2px solid var(--wk-line-color, #E0E0E0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wk-rp-pwd-box.active {
    border-color: #E74C3C;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.wk-rp-pwd-box.filled {
    border-color: #E74C3C;
}

.wk-rp-pwd-dot {
    width: 12px;
    height: 12px;
    background: #333;
    background: var(--wk-text-item, #333);
    border-radius: 50%;
}

/* 密码错误 */
.wk-rp-pwd-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #E74C3C;
    font-size: 14px;
    padding: 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
    margin-bottom: 16px;
}

/* 加载中 */
.wk-rp-pwd-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    color: var(--wk-text-item, #666);
    font-size: 14px;
    padding: 16px;
}

.wk-rp-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #E0E0E0;
    border: 2px solid var(--wk-line-color, #E0E0E0);
    border-top-color: #E74C3C;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 忘记密码 */
.wk-rp-pwd-tip {
    font-size: 13px;
    color: #07C160;
    color: var(--wk-color-theme, #07C160);
    cursor: pointer;
    margin-top: 24px;
}

.wk-rp-pwd-tip:hover {
    text-decoration: underline;
}

/* 暗色模式 */
body[theme-mode=dark] .wk-rp-send {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ========== Modal 样式覆盖 ========== */
.wk-wallet-send-modal .ant-modal-content {
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: transparent !important;
}

.wk-wallet-send-modal .ant-modal-body {
    padding: 0 !important;
}

/* 自适应 */
@media (max-width: 480px) {
    .wk-rp-send {
        max-width: 100%;
        border-radius: 0;
    }
    
    .wk-rp-total-amount {
        font-size: 40px;
    }
    
    .wk-rp-pwd-value {
        font-size: 44px;
    }
    
    .wk-rp-pwd-box {
        width: 42px;
        height: 46px;
    }
    
    .wk-rp-pwd-boxes {
        gap: 8px;
    }
}

/* ===== 左侧菜单 ===== */
.wk-wallet-page {
    width: 100%;
    height: 100%;
    border-right: var(--wk-line);
    display: flex;
    flex-direction: column;
}

.wk-wallet-menu {
    overflow-y: auto;
    flex: 1 1;
    padding: 8px 0;
}

.wk-wallet-menu-item {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #888;
    transition: background-color 0.12s, color 0.12s;
    position: relative;
}

.wk-wallet-menu-item:hover {
    background-color: rgba(0,0,0,0.04);
    background-color: var(--wk-color-hover, rgba(0,0,0,0.04));
    color: #555;
}

.wk-wallet-menu-item-selected {
    color: #07C160;
    color: var(--wk-color-theme, #07C160);
    background-color: rgba(7, 193, 96, 0.08);
    background-color: var(--qq-theme-weak, rgba(7, 193, 96, 0.08));
}

.wk-wallet-menu-item-selected::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: #07C160;
    background: var(--wk-color-theme, #07C160);
    border-radius: 0 2px 2px 0;
}

.wk-wallet-menu-icon {
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wk-wallet-menu-item span {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}

/* ===== 右侧内容区 ===== */
.wk-wallet-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wk-wallet-content-body {
    overflow-y: auto;
    flex: 1 1;
    padding: 20px;
    background: #f2f3f5;
    box-sizing: border-box;
}

body[theme-mode=dark] .wk-wallet-content-body {
    background: #181818;
}

/* ===== 余额卡片 ===== */
.wk-wallet-balance-card {
    background: linear-gradient(145deg, #2DCB78 0%, #07C160 60%, #06ad56 100%);
    background: linear-gradient(145deg, #2DCB78 0%, var(--wk-color-theme, #07C160) 60%, #06ad56 100%);
    border-radius: 16px;
    max-width: 480px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(7, 193, 96, 0.35);
    margin-bottom: 16px;
}

.wk-wallet-balance-inner {
    padding: 28px 24px 20px;
}

.wk-wallet-balance-label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.3px;
    margin-bottom: 10px;
}

.wk-wallet-balance-value {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.wk-wallet-balance-value span {
    font-size: 22px;
    font-weight: 500;
    margin-right: 2px;
    vertical-align: 6px;
}

.wk-wallet-frozen {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
}

.wk-wallet-balance-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.wk-wallet-balance-action {
    flex: 1 1;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.14s, transform 0.14s, border-color 0.14s;
}

.wk-wallet-balance-action:hover {
    background: rgba(255,255,255,0.26);
    border-color: rgba(255,255,255,0.44);
}

.wk-wallet-balance-action:active {
    transform: translateY(1px);
}

/* ===== 总览信息网格 ===== */
.wk-wallet-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.wk-wallet-info-item {
    padding: 14px 20px;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.wk-wallet-info-item:nth-child(2n) { border-right: none; }
.wk-wallet-info-item:nth-child(3),
.wk-wallet-info-item:nth-child(4) { border-bottom: none; }

.wk-wallet-info-label {
    font-size: 11px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 5px;
    letter-spacing: 0.2px;
}

.wk-wallet-info-value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.wk-wallet-info-value.income {
    color: #c8ffc0;
}

/* ===== 表单卡片 ===== */
.wk-wallet-form {
    max-width: 480px;
    background: #fff;
    background: var(--wk-color-item, #fff);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body[theme-mode=dark] .wk-wallet-form {
    background: #242424;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.wk-wallet-form-tip {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 10px 12px;
    background: rgba(7, 193, 96, 0.06);
    background: var(--qq-theme-weak, rgba(7, 193, 96, 0.06));
    border-left: 3px solid #07C160;
    border-left: 3px solid var(--wk-color-theme, #07C160);
    border-radius: 0 6px 6px 0;
}

body[theme-mode=dark] .wk-wallet-form-tip {
    background: rgba(7, 193, 96, 0.1);
    background: var(--qq-theme-soft, rgba(7, 193, 96, 0.1));
}

.wk-wallet-form-balance {
    font-size: 14px;
    font-weight: 600;
    color: #07C160;
    color: var(--wk-color-theme, #07C160);
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(7, 193, 96, 0.06);
    background: var(--qq-theme-weak, rgba(7, 193, 96, 0.06));
    border-radius: 8px;
}

.wk-wallet-form-item {
    margin-bottom: 14px;
}

.wk-wallet-form-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    font-weight: 500;
}

.wk-wallet-form-warning {
    padding: 10px 14px;
    background: #fff7e6;
    border-radius: 8px;
    color: #d46b08;
    font-size: 12px;
    margin-bottom: 14px;
    border-left: 3px solid #fa8c16;
}

body[theme-mode=dark] .wk-wallet-form-warning {
    background: rgba(250,140,22,0.12);
}

.wk-wallet-form-submit {
    margin-top: 20px;
}

.wk-wallet-form-submit .semi-button {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
}

/* ===== 密码输入 ===== */
.wk-wallet-pwd-section {
    max-width: 480px;
    background: #fff;
    background: var(--wk-color-item, #fff);
    border-radius: 14px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
}

body[theme-mode=dark] .wk-wallet-pwd-section {
    background: #242424;
}

.wk-wallet-pwd-amount {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    color: var(--wk-text-item, #1a1a1a);
    margin-bottom: 4px;
}

.wk-wallet-pwd-amount span {
    font-size: 20px;
    font-weight: 500;
    vertical-align: 4px;
    margin-right: 2px;
}

.wk-wallet-pwd-tip {
    font-size: 14px;
    color: #888;
    margin-bottom: 24px;
}

.wk-wallet-pwd-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 8px;
}

.wk-wallet-pwd-dot {
    width: 44px;
    height: 44px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    transition: border-color 0.15s;
}

body[theme-mode=dark] .wk-wallet-pwd-dot {
    border-color: #3a3a3a;
    background: #2a2a2a;
}

.wk-wallet-pwd-dot.filled {
    border-color: #07C160;
    border-color: var(--wk-color-theme, #07C160);
    background: #fff;
}

.wk-wallet-pwd-dot.filled span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #1a1a1a;
    display: block;
}

body[theme-mode=dark] .wk-wallet-pwd-dot.filled span {
    background: #fff;
}

.wk-wallet-keyboard {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* ===== 账单明细 ===== */
.wk-wallet-bills {
    max-width: 480px;
    background: #fff;
    background: var(--wk-color-item, #fff);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body[theme-mode=dark] .wk-wallet-bills {
    background: #242424;
}

.wk-wallet-bills-loading,
.wk-wallet-bills-empty {
    padding: 60px 0;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.wk-wallet-bill-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body[theme-mode=dark] .wk-wallet-bill-item {
    border-bottom-color: rgba(255,255,255,0.06);
}

.wk-wallet-bill-item:last-child { border-bottom: none; }

.wk-wallet-bill-info {
    flex: 1 1;
    min-width: 0;
}

.wk-wallet-bill-type {
    font-size: 14px;
    font-weight: 500;
    color: #222;
    color: var(--wk-text-item, #222);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.wk-wallet-bill-remark {
    font-size: 12px;
    color: #aaa;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wk-wallet-bill-time {
    font-size: 11px;
    color: #bbb;
    margin-top: 4px;
}

.wk-wallet-bill-right {
    text-align: right;
    flex-shrink: 0;
    margin-left: 12px;
}

.wk-wallet-bill-amount {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

body[theme-mode=dark] .wk-wallet-bill-amount { color: #ddd; }

.wk-wallet-bill-amount.income { color: #2ecc71; }

.wk-wallet-bill-tag {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.wk-wallet-bill-tag.pending {
    background: #fff7e6;
    color: #fa8c16;
}

.wk-wallet-bill-tag.rejected {
    background: #fff1f0;
    color: #ff4d4f;
}

/* ===== 实名认证状态页 ===== */
.wk-wallet-realname-status {
    text-align: center;
    padding: 48px 20px 32px;
}

.wk-wallet-realname-icon {
    font-size: 52px;
    margin-bottom: 16px;
    line-height: 1;
}

.wk-wallet-realname-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    color: var(--wk-text-item, #1a1a1a);
    margin-bottom: 10px;
}

.wk-wallet-realname-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}

/* ===== 深色模式 ===== */
body[theme-mode=dark] .wk-wallet-menu-item { color: #666; }
body[theme-mode=dark] .wk-wallet-menu-item:hover { background-color: rgba(255,255,255,0.05); color: #999; }
body[theme-mode=dark] .wk-wallet-menu-item-selected { color: #07C160; color: var(--wk-color-theme, #07C160); background-color: rgba(7, 193, 96,0.12); background-color: var(--qq-theme-soft, rgba(7, 193, 96,0.12)); }
body[theme-mode=dark] .wk-wallet-balance-card { box-shadow: 0 8px 28px rgba(0,0,0,0.4); }
body[theme-mode=dark] .wk-wallet-bill-type { color: #ddd; }
body[theme-mode=dark] .wk-wallet-realname-title { color: #e0e0e0; }

/* ===== WalletFullPage: 完整钱包页布局 ===== */
.wk-wallet-fullpage {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    background: #f2f3f5;
    background: var(--wk-color-secondary, #f2f3f5);
}

.wk-wallet-fullpage-sidebar {
    width: 200px;
    min-width: 200px;
    height: 100%;
    background: #fff;
    background: var(--wk-color-item, #fff);
    border-right: 1px solid #ebebeb;
    border-right: var(--wk-line, 1px solid #ebebeb);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body[theme-mode=dark] .wk-wallet-fullpage-sidebar {
    background: #1e1e1e;
    border-right-color: #2a2a2a;
}

.wk-wallet-fullpage-title {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    color: var(--wk-text-item, #1a1a1a);
    border-bottom: 1px solid #ebebeb;
    border-bottom: var(--wk-line, 1px solid #ebebeb);
    flex-shrink: 0;
}

body[theme-mode=dark] .wk-wallet-fullpage-title {
    color: #e0e0e0;
    border-bottom-color: #2a2a2a;
}

.wk-wallet-embedded-header {
    height: 48px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ebebeb;
    border-bottom: var(--wk-line, 1px solid #ebebeb);
    background: #fff;
    background: var(--wk-color-item, #fff);
    color: #1a1a1a;
    color: var(--wk-text-item, #1a1a1a);
    font-size: 16px;
    font-weight: 600;
    flex-shrink: 0;
}

.wk-wallet-embedded-back {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #666;
    font-size: 28px;
    line-height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-wallet-embedded-back:hover {
    background: rgba(0,0,0,0.05);
}

body[theme-mode=dark] .wk-wallet-embedded-header {
    background: #242424;
    border-bottom-color: #2a2a2a;
    color: #e0e0e0;
}

body[theme-mode=dark] .wk-wallet-embedded-back {
    color: #ddd;
}

.wk-wallet-fullpage-content {
    flex: 1 1;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.wk-wallet-fullpage-content .wk-wallet-content {
    height: 100%;
}

.wk-wallet-content-body-embedded {
    height: auto !important;
    min-height: 0;
}

/* 钱包工具栏按钮通用样式 */
.wk-wallet-toolbar-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.wk-wallet-toolbar-btn:hover {
    background-color: rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.wk-wallet-toolbar-btn:active {
    transform: scale(0.98);
}

.wk-wallet-toolbar-btn svg {
    transition: transform 0.2s;
}

.wk-wallet-toolbar-btn:hover svg {
    transform: scale(1.08);
}

/* 红包按钮特殊效果 */
.wk-redpacket-btn:hover {
    background-color: rgba(231, 76, 60, 0.08);
}

/* 转账发送页面 - 专业设计 */
.wk-tf-send {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    margin: 0 auto;
}

/* ========== Header ========== */
.wk-tf-header {
    background: linear-gradient(145deg, #FFA940 0%, #FA8C16 100%);
    padding: 28px 20px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.wk-tf-header-bg {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.wk-tf-close {
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 1;
}

.wk-tf-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.wk-tf-header-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wk-tf-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.5px;
}

.wk-tf-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Body ========== */
.wk-tf-body {
    padding: 32px 24px;
}

/* 金额输入区域 */
.wk-tf-amount-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    border-bottom: 2px solid #F5F5F5;
    margin-bottom: 16px;
}

.wk-tf-currency {
    font-size: 32px;
    font-weight: 500;
    color: #333;
    margin-right: 4px;
}

.wk-tf-amount-input {
    border: none;
    outline: none;
    font-size: 48px;
    font-weight: 600;
    width: 200px;
    text-align: left;
    color: #333;
    background: transparent;
}

.wk-tf-amount-input::-moz-placeholder {
    color: #DDD;
    font-weight: 400;
}

.wk-tf-amount-input::placeholder {
    color: #DDD;
    font-weight: 400;
}

/* 余额提示 */
.wk-tf-balance {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

/* 转账说明 */
.wk-tf-remark {
    background: #F8F9FA;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 24px;
}

.wk-tf-remark input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 12px 16px;
    color: #333;
    background: transparent;
    text-align: center;
}

.wk-tf-remark input::-moz-placeholder {
    color: #AAA;
}

.wk-tf-remark input::placeholder {
    color: #AAA;
}

/* 错误提示 */
.wk-tf-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #E74C3C;
    font-size: 13px;
    padding: 12px;
    background: #FFF5F5;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 提交按钮 */
.wk-tf-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FFA940 0%, #FA8C16 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(250, 140, 22, 0.35);
}

.wk-tf-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(250, 140, 22, 0.45);
}

.wk-tf-submit:active:not(:disabled) {
    transform: translateY(0);
}

.wk-tf-submit:disabled {
    background: #CCC;
    box-shadow: none;
    cursor: not-allowed;
}

/* ========== 密码输入步骤 ========== */
.wk-tf-password-step {
    background: #F8F9FA;
}

.wk-tf-pwd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #EAEAEA;
}

.wk-tf-pwd-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.wk-tf-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.wk-tf-back:hover {
    background: #F0F0F0;
}

.wk-tf-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.wk-tf-close-btn:hover {
    background: #F0F0F0;
}

/* 密码输入区域 */
.wk-tf-pwd-body {
    padding: 32px 24px 20px;
    text-align: center;
    background: #fff;
}

.wk-tf-pwd-amount {
    margin-bottom: 32px;
}

.wk-tf-pwd-currency {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    vertical-align: top;
}

.wk-tf-pwd-value {
    font-size: 52px;
    font-weight: 600;
    color: #333;
    letter-spacing: -2px;
}

.wk-tf-pwd-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}

/* 密码框 */
.wk-tf-pwd-boxes {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
    margin-bottom: 16px;
}

.wk-tf-pwd-box {
    width: 48px;
    height: 52px;
    background: #fff;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.wk-tf-pwd-box.active {
    border-color: #FFA940;
    box-shadow: 0 0 0 3px rgba(255, 169, 64, 0.15);
}

.wk-tf-pwd-box.filled {
    border-color: #FFA940;
}

.wk-tf-pwd-dot {
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
}

/* 密码错误 */
.wk-tf-pwd-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #E74C3C;
    font-size: 14px;
    padding: 12px;
    background: #FFF5F5;
    border-radius: 8px;
    margin-bottom: 16px;
}

/* 加载中 */
.wk-tf-pwd-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
    padding: 16px;
}

.wk-tf-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #E0E0E0;
    border-top-color: #FFA940;
    border-radius: 50%;
    animation: tf-spin 0.8s linear infinite;
}

@keyframes tf-spin {
    to { transform: rotate(360deg); }
}

/* 忘记密码 */
.wk-tf-pwd-tip {
    font-size: 13px;
    color: #2196F3;
    cursor: pointer;
    margin-top: 24px;
}

.wk-tf-pwd-tip:hover {
    text-decoration: underline;
}

/* 转账按钮特殊效果 */
.wk-transfer-btn:hover {
    background-color: rgba(250, 140, 22, 0.1);
}

/* 钱包模块全局样式 - 适配主题 */

/* 红包弹窗覆盖层 */
.wk-wallet-modal-overlay {
    background: rgba(0, 0, 0, 0.5) !important;
}

.wk-wallet-modal-overlay .semi-modal-content {
    background: transparent !important;
    box-shadow: none !important;
}

.wk-wallet-modal-overlay .semi-modal-body {
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* 详情弹窗 */
.wk-wallet-detail-modal .semi-modal-content {
    border-radius: 16px;
    overflow: hidden;
    background: #fff !important;
    background: var(--wk-color-item, #fff) !important;
}

.wk-wallet-detail-modal .semi-modal-body {
    padding: 0 !important;
}

.wk-wallet-history-readonly-modal .semi-modal-content {
    border-radius: 20px;
    overflow: hidden;
    background: transparent !important;
    box-shadow: none !important;
}

.wk-wallet-history-readonly-modal .semi-modal-body {
    padding: 0 !important;
}

/* 钱包全屏弹窗 */
.wk-wallet-fullpage-modal {
    padding: 0 !important;
}

.wk-wallet-fullpage-modal .semi-modal {
    max-width: 100% !important;
    width: 100% !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wk-wallet-fullpage-modal .semi-modal-content {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    background: #f5f6fa !important;
    background: var(--wk-color-secondary, #f5f6fa) !important;
}

.wk-wallet-fullpage-modal .semi-modal-body {
    padding: 0 !important;
    height: 100% !important;
    overflow-y: auto !important;
}

/* 优化移动端适配 */
@media (max-width: 768px) {
    .wk-wallet-detail-modal .semi-modal-content {
        width: 90% !important;
        max-width: 400px !important;
    }
}

/* 通用滚动条美化 - 亮色 */
.wk-wallet-page::-webkit-scrollbar,
.wk-wallet-main::-webkit-scrollbar,
.wk-wallet-container::-webkit-scrollbar,
.wk-bills-list::-webkit-scrollbar {
    width: 6px;
}

.wk-wallet-page::-webkit-scrollbar-thumb,
.wk-wallet-main::-webkit-scrollbar-thumb,
.wk-wallet-container::-webkit-scrollbar-thumb,
.wk-bills-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.wk-wallet-page::-webkit-scrollbar-thumb:hover,
.wk-wallet-main::-webkit-scrollbar-thumb:hover,
.wk-wallet-container::-webkit-scrollbar-thumb:hover,
.wk-bills-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* 暗色模式滚动条 */
body[theme-mode=dark] .wk-wallet-page::-webkit-scrollbar-thumb,
body[theme-mode=dark] .wk-wallet-main::-webkit-scrollbar-thumb,
body[theme-mode=dark] .wk-wallet-container::-webkit-scrollbar-thumb,
body[theme-mode=dark] .wk-bills-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

body[theme-mode=dark] .wk-wallet-page::-webkit-scrollbar-thumb:hover,
body[theme-mode=dark] .wk-wallet-main::-webkit-scrollbar-thumb:hover,
body[theme-mode=dark] .wk-wallet-container::-webkit-scrollbar-thumb:hover,
body[theme-mode=dark] .wk-bills-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wk-wallet-disabled-page {
    width: 100%;
    height: 100%;
}

.wk-wallet-disabled-shell {
    height: calc(100% - var(--wk-height-navheader));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.wk-wallet-disabled-card {
    width: min(420px, 100%);
    padding: 32px 28px;
    border-radius: 16px;
    background: #fff;
    background: var(--wk-color-item, #fff);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.wk-wallet-disabled-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    color: var(--wk-color-text, #111827);
}

.wk-wallet-disabled-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
    color: #6b7280;
    color: var(--wk-color-subtitle, #6b7280);
}

.wk-wallet-disabled-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.wk-wallet-history-readonly-page {
    padding: 8px;
}

.wk-wallet-history-readonly-card {
    padding: 28px 24px 24px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 92, 0.18), transparent 40%),
        linear-gradient(180deg, rgba(255, 247, 237, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
}

.wk-wallet-history-readonly-badge {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(234, 88, 12, 0.12);
    color: #c2410c;
    font-size: 12px;
    font-weight: 600;
}

.wk-wallet-history-readonly-title {
    margin-top: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.wk-wallet-history-readonly-desc {
    margin-top: 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 22px;
}

.wk-wallet-history-readonly-meta {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #475569;
    font-size: 13px;
}

.wk-wallet-history-readonly-meta code {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    word-break: break-all;
}

.wk-wallet-history-readonly-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

body[theme-mode=dark] .wk-wallet-history-readonly-card {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.2), transparent 42%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
}

body[theme-mode=dark] .wk-wallet-history-readonly-badge {
    background: rgba(251, 146, 60, 0.16);
    color: #fdba74;
}

body[theme-mode=dark] .wk-wallet-history-readonly-title {
    color: #f8fafc;
}

body[theme-mode=dark] .wk-wallet-history-readonly-desc,
body[theme-mode=dark] .wk-wallet-history-readonly-meta {
    color: #cbd5e1;
}

body[theme-mode=dark] .wk-wallet-history-readonly-meta {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(148, 163, 184, 0.16);
}

body[theme-mode=dark] .wk-wallet-history-readonly-meta code {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}


.wk-favorites {
    width: 100%;
    height: 100%;
    border-right: var(--wk-line);
}

.wk-favorites-blocked {
    height: calc(100% - var(--wk-height-navheader));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.wk-favorites-blocked-card {
    width: min(420px, 100%);
    padding: 32px 28px;
    border-radius: 16px;
    background: var(--wk-color-item);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.wk-favorites-blocked-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--wk-color-text);
}

.wk-favorites-blocked-desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 22px;
    color: var(--wk-color-subtitle);
}

.wk-favorites-blocked-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.wk-favorites-content li {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    background-color: var(--wk-color-item);
}

.wk-favorites-icon {
    height: 100%;
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.wk-favorites-title {
    margin-left: 15px;
    font-size: 14px;
    font-weight: 500;
}

.wk-favorites-content-item-selected {
    background-color: #ddd;
}

.wk-favritemain {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wk-favritemain-content {
    overflow-y: auto;
    width: 100%;
    height: calc(100% - var(--wk-height-viewqueueheader));
}

.wk-favritemain-content li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    background-color: var(--wk-color-item);
}

.wk-favritemain-empty {
    height: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
}

.wk-favritemain-empty-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E7F8EF;
    background: var(--qq-theme-weak, #E7F8EF);
    margin-bottom: 16px;
}

.wk-favritemain-empty-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1626;
    color: var(--qq-text-primary, #1a1626);
    margin-bottom: 8px;
}

.wk-favritemain-empty-desc {
    font-size: 13px;
    color: #8b8696;
    color: var(--qq-text-secondary, #8b8696);
}

.wk-favritemain-item-info {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    
}

.wk-favritemain-item-info p {
    margin-bottom: 0px;
}

.wk-wk-favritemain-item-content {
    flex: 1 1;
    padding-right: 40px;
}

.wk-favritemain-item-info {
    font-size: 13px;
    color: #999;
}

.wk-favorite-media-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.wk-favorite-video-cover {
    width: 160px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #f3f4f5;
}

.wk-favorite-video-cover img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.wk-favorite-video-cover span {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border-radius: 10px;
    font-size: 12px;
    line-height: 18px;
    padding: 0 6px;
}

.wk-favritemain-footer {
    justify-content: center !important;
    gap: 8px;
    color: #999;
    font-size: 13px;
}

.wk-broadcast-page {
  width: 100%;
  height: 100%;
  background: #f6f7f9;
  background: var(--wk-color-bg, #f6f7f9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wk-broadcast-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-bottom: 1px solid #eceff3;
  border-bottom: 1px solid var(--wk-color-line, #eceff3);
  min-height: 48px;
  box-sizing: border-box;
}

.wk-broadcast-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1;
}

.wk-broadcast-header-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2329;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-broadcast-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* 「群发」主按钮：走主题令牌(暖紫)，不用 Semi 默认蓝。 */
.wk-broadcast-header-actions .semi-button-primary.semi-button-light,
.wk-broadcast-header-actions .semi-button-primary {
  background: #07c160;
  background: var(--wk-color-theme, #07c160);
  border-color: #07c160;
  border-color: var(--wk-color-theme, #07c160);
  color: #fff;
}

.wk-broadcast-header-actions .semi-button-primary:hover {
  background: #06ad56;
  background: var(--qq-primary-press, #06ad56);
  border-color: #06ad56;
  border-color: var(--qq-primary-press, #06ad56);
}

.wk-broadcast-header-actions .semi-button-primary.semi-button-disabled,
.wk-broadcast-header-actions .semi-button-primary.semi-button-disabled:hover {
  background: #b7dec9;
  background: var(--qq-theme-weak, #b7dec9);
  border-color: #b7dec9;
  border-color: var(--qq-theme-weak, #b7dec9);
  color: #fff;
}

/* 弹框态：组件铺满弹框 body，去掉自身圆角/边界与多余顶部内边距。 */
.wk-broadcast-page-modal {
  height: 100%;
  background: #f6f7f9;
  background: var(--wk-color-bg, #f6f7f9);
}

.wk-broadcast-page-modal .wk-broadcast-header {
  padding-top: 6px;
  padding-bottom: 12px;
}

/* === Body 滚动容器 === */
.wk-broadcast-body {
  flex: 1 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px;
  box-sizing: border-box;
}

/* === 收件人选择行（对齐 h5 MobileBroadcast 顶部入口）=== */
.wk-broadcast-recipients {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wk-broadcast-recipients:hover {
  border-color: #07c160;
  border-color: var(--wk-color-theme, #07c160);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wk-broadcast-recipients-label {
  font-size: 15px;
  color: #1f2329;
  font-weight: 500;
}

.wk-broadcast-recipients-val {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
}

.wk-broadcast-recipients-arrow {
  color: #c7c8cc;
  font-size: 17px;
  line-height: 1;
}

/* === 编辑区 === */
.wk-broadcast-compose {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
}

.wk-broadcast-imgs {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wk-broadcast-img {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f1f3;
  flex: 0 0 auto;
}

.wk-broadcast-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-broadcast-img.is-uploading img {
  opacity: 0.45;
}

.wk-broadcast-img-x {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

.wk-broadcast-img-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wk-broadcast-spin 0.8s linear infinite;
}

/* 编辑区视频缩略：占位字底色 + ▶ 角标，与图片缩略同栅格 */
.wk-broadcast-img-video .wk-broadcast-card-thumb-placeholder {
  width: 100%;
  height: 100%;
}

.wk-broadcast-img-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 10px;
  line-height: 22px;
  text-align: center;
  pointer-events: none;
}

@keyframes wk-broadcast-spin {
  to {
    transform: rotate(360deg);
  }
}

/* === 视频预览 === */
.wk-broadcast-video {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.wk-broadcast-video video {
  display: block;
  width: 100%;
  max-height: 44vh;
  background: #000;
}

.wk-broadcast-video-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
          user-select: none;
}

/* === 工具栏 === */
.wk-broadcast-toolbar {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-broadcast-toolbar .semi-button {
  color: #07c160;
  color: var(--wk-color-theme, #07c160);
}

.wk-broadcast-toolbar .semi-button.semi-button-disabled {
  color: #c7c8cc;
}

.wk-broadcast-toolbar-meta {
  margin-left: auto;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
  font-size: 12px;
}

/* === 说明文字 === */
.wk-broadcast-hint {
  margin-top: 12px;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
  font-size: 12px;
  line-height: 1.6;
}

.wk-broadcast-video img {
  display: block;
  width: 100%;
  max-height: 44vh;
  object-fit: cover;
  background: #000;
}

/* === 返回箭头 === */
.wk-broadcast-header-back {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1f2329;
  cursor: pointer;
}

.wk-broadcast-header-back:hover {
  background: #f1eefc;
  background: var(--qq-hover, #f1eefc);
  color: #07c160;
  color: var(--wk-color-theme, #07c160);
}

/* === 空态 === */
.wk-broadcast-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  padding: 24px;
}

.wk-broadcast-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e7f8ef;
  background: var(--qq-theme-weak, #e7f8ef);
  margin-bottom: 16px;
}

.wk-broadcast-empty-title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1626;
  color: var(--qq-text-primary, #1a1626);
  margin-bottom: 8px;
}

.wk-broadcast-empty-desc {
  font-size: 13px;
  color: #8b8696;
  color: var(--qq-text-secondary, #8b8696);
}

/* === 列表卡片 === */
.wk-broadcast-card {
  background: #fff;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.wk-broadcast-card:hover {
  border-color: #07c160;
  border-color: var(--wk-color-theme, #07c160);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wk-broadcast-card-text {
  font-size: 14px;
  color: #1f2329;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wk-broadcast-card-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.wk-broadcast-card-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f1f3;
  flex: 0 0 auto;
}

.wk-broadcast-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-broadcast-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f2f2f2, #e5e5e5);
}

.wk-broadcast-card-thumb-more {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wk-broadcast-card-thumb-play,
.wk-broadcast-detail-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  line-height: 28px;
  text-align: center;
  pointer-events: none;
}

.wk-broadcast-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
}

.wk-broadcast-card-meta-arrow {
  color: #c7c8cc;
  font-size: 16px;
  line-height: 1;
}

/* === 详情 === */
.wk-broadcast-detail-content {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #1f2329;
  white-space: pre-wrap;
  word-break: break-word;
}

.wk-broadcast-detail-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.wk-broadcast-detail-image {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f1f3;
}

.wk-broadcast-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-broadcast-detail-image-video .wk-broadcast-card-thumb-placeholder {
  width: 100%;
  height: 100%;
}

.wk-broadcast-detail-video {
  position: relative;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  max-width: 280px;
}

.wk-broadcast-detail-video img {
  display: block;
  width: 100%;
  max-height: 44vh;
  object-fit: cover;
}

.wk-broadcast-detail-video .wk-broadcast-card-thumb-placeholder {
  height: 180px;
}

.wk-broadcast-detail-meta {
  margin-top: 12px;
  font-size: 12px;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
}

.wk-broadcast-detail-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}

.wk-broadcast-summary {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
}

.wk-broadcast-summary-line {
  font-size: 13px;
  color: #1f2329;
  margin-bottom: 8px;
}

.wk-broadcast-failure {
  font-size: 12px;
  color: #e0455a;
  margin-top: 4px;
}

/* 单视频草稿：本地首帧、进度与失败整卡重传。 */
.wk-broadcast-video {
  margin-top: 12px;
  min-height: 160px;
}

.wk-broadcast-img-x,
.wk-broadcast-video-x {
  border: 0;
  padding: 0;
}

.wk-broadcast-video.is-failed {
  cursor: pointer;
}

.wk-broadcast-video-status {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 13px;
}

.wk-broadcast-video-status .wk-broadcast-img-spin {
  position: static;
  margin: 0;
}

.wk-broadcast-video-status--failed {
  background: rgba(0, 0, 0, 0.62);
}

.wk-broadcast-video-status--failed > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff4d4f;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}

.wk-broadcast-video-status--failed > strong {
  font-size: 14px;
}

.wk-me-page {
  width: 100%;
  height: 100%;
}

.wk-me-page-content {
  height: calc(100% - 64px);
  overflow: auto;
  padding: 18px;
  background: #f6f7f9;
  background: var(--wk-color-bg, #f6f7f9);
}

.wk-me-profile-card {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  cursor: pointer;
}

/* 资料卡右上角二维码角标（开「我的二维码」弹框，对齐 h5 头像卡） */
.wk-me-profile-qr {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: rgba(7, 193, 96, 0.12);
  background: var(--qq-theme-soft, rgba(7, 193, 96, 0.12));
  color: #07c160;
  color: var(--wk-color-theme, #07c160);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.wk-me-profile-qr:hover {
  background: rgba(7, 193, 96, 0.2);
  background: var(--qq-theme-weak, rgba(7, 193, 96, 0.2));
}
body[theme-mode="dark"] .wk-me-profile-qr {
  background: rgba(7, 193, 96, 0.18);
  background: var(--qq-theme-soft, rgba(7, 193, 96, 0.18));
}

.wk-me-profile-card img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-right: 14px;
  object-fit: cover;
}

.wk-me-profile-name {
  color: #1f2329;
  color: var(--wk-color-text, #1f2329);
  font-size: 16px;
  font-weight: 600;
}

.wk-me-profile-id {
  margin-top: 6px;
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
  font-size: 12px;
}

.wk-me-menu-group {
  margin-top: 14px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  overflow: hidden;
}

.wk-me-menu-item {
  width: 100%;
  min-height: 50px;
  border: none;
  background: #ffffff;
  text-align: left;
  font-size: 14px;
  color: #1f2329;
  color: var(--wk-color-text, #1f2329);
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wk-me-menu-item + .wk-me-menu-item {
  border-top: 1px solid #eceff3;
  border-top: 1px solid var(--wk-color-line, #eceff3);
}

.wk-me-menu-item-danger {
  margin-top: 14px;
  border-radius: 12px;
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #f43f5e;
  text-align: center;
  justify-content: center;
}

.wk-me-menu-item-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wk-me-menu-item-right {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 入口图标：彩色圆角方块 + 白色线性 SVG（对齐包壳 h5 RowIcon）。
 * 渐变由 JSX 内联 style 传入（逐图标取自 h5 GRAD），这里只定方块尺寸/居中。 */
.wk-me-menu-icon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wk-me-menu-icon svg {
  display: block;
}

.wk-me-menu-arrow {
  color: #8c8f95;
  color: var(--wk-color-text-desc, #8c8f95);
  font-size: 20px;
  line-height: 1;
}

.wk-me-menu-item-badge {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  padding: 0 8px;
  background: linear-gradient(135deg, #d94b3d 0%, #f08a42 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
 * Modern IM overrides (2026-04-25 UX audit)
 * 个人中心：profile 卡片更饱满、菜单 hover 态、logout 降权重。
 * 保留 [data-testid="me-menu-*"] / .wk-me-menu-item-danger 不动。
 * ============================================================ */
.wk-me-page-content {
  padding: 20px 22px;
  max-width: 720px;
  margin: 0 auto;
}
.wk-me-profile-card {
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  gap: 4px;
}
.wk-me-profile-card img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-right: 16px;
}
.wk-me-profile-name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}
.wk-me-profile-id {
  margin-top: 8px;
  font-size: 12px;
  display: inline-block;
  background: #f0f1f3;
  color: #667085;
  padding: 2px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
body[theme-mode="dark"] .wk-me-profile-id {
  background: rgba(255, 255, 255, 0.08);
  color: #c4c7cc;
}
.wk-me-menu-item {
  transition: background-color 0.12s ease;
}
.wk-me-menu-item:hover:not(.wk-me-menu-item-danger) {
  background: #f5f6f7;
}
body[theme-mode="dark"] .wk-me-menu-item:hover:not(.wk-me-menu-item-danger) {
  background: rgba(255, 255, 255, 0.04);
}
/* 退出登录：从"红框全宽危险按钮"降为"普通行 + 红色文字"，降低误触 */
.wk-me-menu-item-danger {
  border: 1px solid #eceff3;
  border: 1px solid var(--wk-color-line, #eceff3);
  background: #ffffff;
  color: #d14343;
  font-weight: 500;
}
.wk-me-menu-item-danger:hover {
  background: rgba(209, 67, 67, 0.06);
}

/* 资料卡信息区给右侧二维码角标让位，避免长昵称压到角标 */
.wk-me-profile-info {
  min-width: 0;
  flex: 1 1;
  padding-right: 46px;
}
.wk-me-profile-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* round6：SVIP 模式下 WKAvatar 外包一层 .wk-avatar-wrapper(默认 50px),
   通用 `.wk-me-profile-card img` 的 60px + margin-right 会落到 wrapper 内部的 img 上，
   导致头像撑出 wrapper、且 wrapper 与昵称之间无间距 → 昵称被头像压住/左侧被遮。
   这里把 wrapper 本身尺寸/间距对齐非 SVIP 的 img,内层 img 改为铺满且去掉自带 margin。 */
.wk-me-profile-card .wk-avatar-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-right: 16px;
  flex: 0 0 auto;
}
.wk-me-profile-card .wk-avatar-wrapper img {
  width: 100%;
  height: 100%;
  margin-right: 0;
  border-radius: 12px;
}

/* ============================================================
 * 各中心弹框（群发助手 / 钱包 / 收藏 / 个人资料 / 二维码）统一容器。
 * 这些重页原本占满右侧会话栏，改用 WKApp.openModal 弹框承载，
 * 逻辑（各中心组件本身）不改，只换容器。内容区限高 + 滚动，避免撑破。
 * ============================================================ */
.wk-me-modal .semi-modal-body {
  padding: 0;
}
.wk-me-modal .semi-modal-content {
  overflow: hidden;
}
.wk-me-modal-broadcast .semi-modal-body,
.wk-me-modal-wallet .semi-modal-body {
  max-height: 72vh;
  overflow: auto;
}

/* 「我的收藏」弹框：弹框加宽（640px）后让内容撑满 —— 给固定高度承载 FavoriteMain
 * 的 height:100% 链路（其根 .wk-favritemain 为 height:100%，内部 .wk-favritemain-content
 * 自带滚动），避免空荡的小框；外层不再 overflow:auto，统一交给组件内部滚动。 */
.wk-me-modal-favorite .semi-modal-body {
  height: 72vh;
  overflow: hidden;
}
.wk-me-modal-favorite .wk-favritemain {
  height: 100%;
}

/* 「个人资料」弹框:body 内是 MeInfo → RoutePage,其内容区 .wk-route-box 为
 * height:calc(100% - 56px) + 绝对定位的页面层(承载昵称/系统号/性别等编辑子页滑入)。
 * 必须给弹框 body 一个【固定高度】让这条 height:100% 链路有解,否则高度塌陷成 0 →
 * 只剩 RoutePage 头部「个人信息」那一行、下面的资料行全部不可见(0 高不可见)。
 * 数值对齐 tab_normal_screen.css 里已工作的 .wk-main-sider-meinfo(500px)。 */
.wk-me-modal-profile .semi-modal-body {
  height: 500px;
  overflow: hidden;
}

.wk-scan-page {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(42, 157, 143, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(244, 162, 97, 0.16), transparent 26%),
    linear-gradient(180deg, #f7f8f4 0%, #eef2eb 100%);
}

.wk-scan-page-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
  grid-gap: 24px;
  gap: 24px;
  padding: 24px;
}

.wk-scan-panel,
.wk-scan-result-panel {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 80px rgba(36, 54, 66, 0.08);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  border: 1px solid rgba(60, 89, 72, 0.08);
}

.wk-scan-panel {
  padding: 24px;
}

.wk-scan-panel-header,
.wk-scan-result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wk-scan-panel-header h2,
.wk-scan-result-header h3 {
  margin: 0;
  color: #1d2a22;
}

.wk-scan-panel-header p,
.wk-scan-result-header span,
.wk-scan-result-desc {
  margin: 6px 0 0;
  color: #587061;
  line-height: 1.6;
}

.wk-scan-actions,
.wk-scan-manual-actions,
.wk-scan-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wk-scan-actions {
  margin-top: 20px;
}

.wk-scan-camera-shell {
  margin-top: 18px;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 87, 68, 0.08), rgba(221, 166, 101, 0.14)),
    #e8ece3;
  border: 1px dashed rgba(42, 85, 69, 0.18);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wk-scan-camera-shell.drop-active {
  border-color: rgba(33, 111, 83, 0.42);
  box-shadow: inset 0 0 0 1px rgba(33, 111, 83, 0.08), 0 16px 36px rgba(33, 111, 83, 0.08);
  transform: translateY(-1px);
}

.wk-scan-camera-shell video,
.wk-scan-camera-empty {
  width: 100%;
  height: 320px;
}

.wk-scan-camera-shell video {
  object-fit: cover;
  background: #0e1512;
}

.wk-scan-camera-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: #5f7367;
  text-align: center;
}

.wk-scan-manual {
  margin-top: 18px;
}

.wk-scan-manual-actions {
  margin-top: 12px;
}

.wk-scan-result-panel {
  padding: 24px;
}

.wk-scan-result-card {
  margin-top: 18px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(242, 246, 241, 0.96), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(47, 89, 64, 0.1);
}

.wk-scan-result-type {
  font-size: 18px;
  font-weight: 700;
  color: #1b2c25;
}

.wk-scan-result-raw,
.wk-scan-result-extra {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(21, 42, 35, 0.05);
  color: #30453b;
  word-break: break-word;
  line-height: 1.6;
}

.wk-scan-result-actions {
  margin-top: 16px;
}

.wk-scan-result-empty {
  margin-top: 18px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1080px) {
  .wk-scan-page-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wk-scan-page-content {
    gap: 16px;
    padding: 16px;
  }

  .wk-scan-panel,
  .wk-scan-result-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .wk-scan-panel-header,
  .wk-scan-result-header {
    flex-direction: column;
  }
}

.wk-enterprise-curfew {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 24px;
  background: rgba(12, 18, 16, 0.94);
  color: #fff;
}

.wk-enterprise-curfew__panel {
  width: min(440px, 100%);
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: #18211d;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36);
  text-align: center;
}

.wk-enterprise-curfew__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(250, 173, 20, 0.16);
  color: #faad14;
  font-size: 40px;
  line-height: 64px;
}

.wk-enterprise-curfew h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
}

.wk-enterprise-curfew p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.wk-enterprise-curfew__time {
  color: #fff !important;
  font-weight: 600;
}

.wk-enterprise-curfew__hint {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.56) !important;
}

.wk-curfew-warning { position: relative; }
.wk-curfew-warning__orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #c77d0a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  color: #fff;
  cursor: pointer;
}
.wk-curfew-warning__orb span { font-size: 11px; }
.wk-curfew-warning__orb strong { font-size: 12px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.wk-curfew-warning__detail {
  position: absolute;
  right: 68px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 260px;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  color: #202622;
  font-size: 13px;
  line-height: 1.45;
}
.wk-curfew-warning__detail button {
  min-height: 34px;
  margin-top: 4px;
  border: 0;
  border-radius: 9px;
  background: #07c160;
  color: #fff;
  cursor: pointer;
}



.wk-login {
    display: table;
    height: 100%;
    width: 100%;
    min-height: 600px;
    padding-bottom: 50px;
    position: absolute;
    background-color: rgb(255, 255, 255);
    overflow: hidden;
}

.wk-login-content {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    z-index: 1;
}


.wk-login-content-logo {
    align-items: center;
    display: flex;
    height: 120px;
    justify-content: center;
    min-width: 100%;
    width: 120px;
}

.wk-login-content-logo img {
    width: 75px;
    height: 75px;
}

.wk-login-content-slogan {
    color: rgba(0, 0, 0, 1);
    font-size: 36px;
    font-weight: 450;
    line-height: 40px;
    margin-bottom: 45px;
    margin-top: 24px;
    text-align: center;
}

.wk-login-content-form {
    margin-top: 32px;
}

.wk-login-auth-switch {
    width: 320px;
    margin: 0 auto 16px;
    padding: 4px;
    display: flex;
    gap: 6px;
    border-radius: 999px;
    background: var(--qq-theme-weak);
}

.wk-login-auth-switch-btn {
    flex: 1 1;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--qq-text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wk-login-auth-switch-btn-active {
    background: var(--wk-color-theme);
    color: #fff;
    box-shadow: 0 10px 24px var(--qq-theme-soft);
}

.wk-login-content-form input {
    border: 1px solid var(--qq-divider);
    border-radius: var(--qq-radius-control);
    color: var(--qq-text-primary);
    display: block;
    font-family: Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;
    font-size: 18px;
    height: 42px;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;
    width: 286px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.wk-login-content-form input:focus {
    border-color: var(--wk-color-theme);
    box-shadow: 0 0 0 3px var(--qq-theme-soft);
    outline: none;
}

.wk-login-content-form-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}


.wk-login-content-form-ok {
    border-radius: 50px;
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
    padding: 9.5px 20px;
    margin-top: 24px;
}

.wk-login-content-form-others {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
    width: 320px;
}

.wk-login-content-form-register,
.wk-login-content-form-forget {
    color: var(--wk-color-theme);
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
}
.wk-login-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 6px auto 12px;
    width: 320px;
}

.wk-login-tab-btn {
    border: 1px solid var(--qq-divider);
    background: var(--qq-panel-bg);
    border-radius: 18px;
    color: var(--qq-text-secondary);
    padding: 4px 12px;
    cursor: pointer;
    font-size: 13px;
}

.wk-login-tab-btn-active {
    border-color: var(--wk-color-theme);
    color: var(--wk-color-theme);
    background: var(--qq-theme-weak);
}

.wk-login-inline-inputs {
    width: 320px;
    margin: 0 auto 12px;
    display: flex;
    gap: 8px;
}

.wk-login-inline-inputs input {
    margin: 0;
    width: auto;
    flex: 1 1;
}

.wk-login-zone-input {
    max-width: 92px;
}

.wk-login-code-btn {
    height: 42px;
    min-width: 108px;
}

.wk-login-one-click {
    width: 320px;
    margin: 0 auto 18px;
    text-align: center;
}

.wk-login-one-click-button {
    width: 100%;
    height: 44px;
    border-radius: 22px;
    font-size: 16px;
}

.wk-login-one-click-tip {
    margin-top: 8px;
    color: var(--qq-text-secondary);
    font-size: 12px;
}

.wk-login-one-click-credentials {
    width: 320px;
    margin: 0 auto;
    padding: 22px;
    border: 1px solid var(--qq-divider);
    border-radius: var(--qq-radius-card);
    background: var(--qq-panel-bg);
    box-sizing: border-box;
}

.wk-login-one-click-credentials-title {
    color: var(--qq-text-primary);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.wk-login-one-click-credentials-warning {
    margin-top: 10px;
    color: #b42318;
    font-size: 13px;
    line-height: 20px;
}

.wk-login-one-click-credentials dl {
    margin: 18px 0;
}

.wk-login-one-click-credentials dl > div {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: var(--qq-hover);
}

.wk-login-one-click-credentials dt {
    color: var(--qq-text-secondary);
    font-size: 12px;
}

.wk-login-one-click-credentials dd {
    margin: 5px 0 0;
    color: var(--qq-text-primary);
    font-family: monospace;
    font-size: 16px;
    word-break: break-all;
}

.wk-login-one-click-save,
.wk-login-one-click-continue {
    width: 100%;
    margin-top: 10px;
}

.wk-login-register-panel,
.wk-login-verify-panel {
    width: 360px;
    margin: 14px auto 0;
    border: 1px solid var(--qq-divider);
    border-radius: var(--qq-radius-card);
    padding: 12px 10px 10px;
    background: var(--qq-hover);
}

.wk-login-panel-embedded {
    width: 100%;
    margin-top: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.wk-login-register-panel input,
.wk-login-verify-panel input {
    width: 320px;
}

.wk-login-register-title,
.wk-login-verify-title {
    text-align: center;
    font-size: 14px;
    color: #303133;
    margin-bottom: 10px;
}

.wk-login-verify-tip {
    width: 320px;
    margin: 0 auto 10px;
    color: #909399;
    font-size: 13px;
    line-height: 20px;
}

.wk-login-register-close,
.wk-login-verify-close {
    margin-top: 10px;
    text-align: center;
}

.wk-login-register-close button,
.wk-login-verify-close button {
    border: 0;
    background: transparent;
    color: var(--wk-color-theme);
    cursor: pointer;
}

.wk-login-footer {
    color: #262626;
    font-size: 16px;
    font-weight: 400;

    bottom: 0;
    margin-bottom: 66px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.wk-login-footer ul {
    display: flex;
    justify-content: center;
    margin-bottom: 0px;
}

.wk-login-footer ul li {
    margin-left: 40px;
}

.wk-login-content-phonelogin {
    margin: 0 auto;
    max-width: 420px;
    padding: 48px 36px 40px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 28px;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.wk-login-footer-buttons button{
    background-color: transparent;
    color: var(--wk-color-theme);
    outline: none !important;
    border: 0;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    cursor: pointer;
}


.wk-message-file {
    width: 300px;
    height: 68px;
    clear: both;
    cursor: pointer;
}


.wk-message-base-bubble-box.fileBox .fileHeader {
    height: 100%;
    width: 78px;
    justify-content: center;
    align-items: center;
    display: flex;
    float: left;
}

.wk-message-base-recv .wk-message-base-bubble-box.fileBox .fileHeader {
    float: right;
}

.wk-message-base-bubble-box.fileBox .fileContent {
    position: relative;
    float: left;
    flex: 1 1;
    width: calc(100% - 78px);
    box-sizing: border-box;
    height: 100%;
}

.wk-message-base-bubble-box.fileBox .fileContent .name {
    height: 16px;
    padding: 0 10px;
    line-height: 16px;
    color: var(--wk-text-item);
    font-size: 14px;
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    letter-spacing: .4px;
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wk-message-base-bubble-box.fileBox .fileContent .size {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 12px;
    color: #8f959e;
    margin-bottom: 2px;
}

.wk-message-base-bubble-box.fileBox .fileContent .size.is-status {
    color: #f59e0b;
}

.wk-message-base-bubble-box.fileBox .fileContent .progressBar {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 3px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
    overflow: hidden;
}

.wk-message-base-bubble-box.fileBox .fileContent .progressBarValue {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transition: width 120ms ease-in-out;
}

.wk-message-base-bubble-box.fileBox .fileContent .progressBarValue.download {
    background: var(--wk-color-theme);
}

.wk-message-base-send .wk-message-base-bubble-box.fileBox .fileContent .name {
    color: #111;
}
.wk-message-base-send .wk-message-base-bubble-box.fileBox .fileContent .size {
    color: rgba(0, 0, 0, .55);
}

.wk-message-base-send .wk-message-base-bubble-box.fileBox .fileContent .size.is-status {
    color: #d93025;
}

.wk-message-base-recv .wk-message-base-bubble-box.fileBox .fileContent .progressBarValue {
    background: var(--wk-color-theme);
}




.wk-filetoolbar {
   
}

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

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

.wk-filetoolbar-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: 600;
}

.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-channelblacklist {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: var(--wk-color-secondary);
} 
.wk-channelmanagerlist {
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: var(--wk-color-secondary);
} 
.wk-advcfg {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}

.wk-advcfg-body {
    background: #ffffff;
    background: var(--semi-color-bg-2, #ffffff);
    border-radius: 8px;
    margin: 8px;
    overflow: hidden;
}

.wk-advcfg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
    border-bottom: 1px solid var(--semi-color-border, #e5e5e5);
}

.wk-advcfg-row:last-child {
    border-bottom: none;
}

.wk-advcfg-row--sub {
    padding-left: 28px;
}

.wk-advcfg-label {
    font-size: 14px;
    color: #1c1c1e;
    color: var(--semi-color-text-0, #1c1c1e);
    flex: 1 1;
    margin-right: 12px;
}

.wk-advcfg-control {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wk-advcfg-footer {
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f5f5f5;
    background: var(--semi-color-bg-1, #f5f5f5);
    border-top: 1px solid #e5e5e5;
    border-top: 1px solid var(--semi-color-border, #e5e5e5);
    gap: 8px;
}

