/* 版本 */
.tk-footer {
    display: none;
}

/* 选择文件 */
.tk-input-image {
    display: none !important;
}

/* 访问量 */
#twikoo_visitors{
    display:none;
}

/* markdown 图标 */
.tk-submit-action-icon.__markdown {
    display: none;
}

/* 隐藏置顶距离 */
.tk-actions a {
    margin-right: 5px;
}

/* 针对手机设备的右边距 */
@media (max-width: 768px) {
    .tk-comments {
        margin-right: 15px;  
    }
}

/* 精准指定 Twikoo 评论区里的图片容器 */
.tk-content .secure-img-wrapper {
    display: inline-block !important; /* 保持行内块属性 */
    margin-right: 5px !important;     /* 统一设置右边距 */
    margin-bottom: 5px !important;    /* 统一设置下边距（解决换行重叠） */
    vertical-align: bottom !important;
    width: 169px !important;          /* 维持你要求的宽度 */
}
/* 移除每行可能导致溢出的末尾多余边距（可选） */
.tk-content {
    display: block;
    word-break: break-all;
}

/* 1. 针对管理面板的内容区，恢复正常的文本排列 */
.tk-admin-comment .tk-content p {
    display: block !important;     /* 恢复块级，让文字正常换行 */
    line-height: 1.4;              /* 让文字读起来舒服点 */
}
/* 2. 针对内容区里的图片，使用 inline-block 这种“文字式”排列 */
.tk-admin-comment .tk-content img {
    display: inline-block !important; 
    margin-right: 5px !important;  /* 这就是你要的“相邻空隙” */
    margin-bottom: 5px !important; /* 换行后的上下空隙 */
    vertical-align: bottom;
    flex-shrink: 0;                /* 以防万一 */
}
/* 3. 针对链接，确保它们能换行，不被图片挡住 */
.tk-admin-comment .tk-content a {
    display: inline-block;
    word-break: break-all;         /* 链接太长时自动折行 */
    margin: 5px 0;
}


.secure-img-wrapper {
    position: relative;
    display: inline-block;
    line-height: 0;
    vertical-align: top;
    overflow: hidden;
    margin: 4px;
    cursor: zoom-in;
    max-width: 100%; /* 文章区自适应核心 */
}

.secure-canvas-render {
    width: 100%;
    height: auto;
    display: block;
}

.secure-touch-shield {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: transparent;
}

#secure-full-viewer {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    cursor: zoom-out;
    justify-content: center;
    align-items: center;
}
#secure-full-viewer canvas { max-width: 95%; max-height: 95%; }

.tk-avatar .secure-img-wrapper { cursor: default !important; pointer-events: none !important; }