/* ============================================================
   LAN / 微信朋友圈 换肤（锁定界面视觉）
   主色 #07c160（微信绿）· 底色 #f1f1f1 · 圆角 4px · 圆形头像 · 550px 居中单栏
   ============================================================ */
:root {
    --ql-primary: #07c160;
    --ql-bg: #f1f1f1;
    --ql-card: #ffffff;
    --ql-radius: 4px;
    --ql-text: #1a1a1a;
    --ql-muted: #8a8a8a;
    --ql-border: #e5e5e5;
}

/* Alpine 未初始化前隐藏所有 x-cloak 元素（修复表情面板/弹窗裸奔） */
[x-cloak] { display: none !important; }

/* 页面底色（LAN 无顶栏，不需要预留顶部空间） */
body { background-color: #f1f1f1 !important; color: #1a1a1a; }

/* ---- LAN 横幅：图标浮于横幅上，站名白字在横幅内右下，头像压横幅右下角 ---- */
.header-container {
    position: relative;
    max-width: 550px; width: 100%;
    height: 240px;
    margin: 0 auto; /* v1.9.1 贴顶：去掉 14px 缝隙 */
    border-radius: 0; /* v1.9.1 贴顶：去圆角 */
    overflow: visible;
    background-color: #dfe7ee;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.header-container video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.banner-icons { position: absolute; top: 18px; display: flex; align-items: center; gap: 14px; z-index: 3; }
.banner-icons-left { left: 12px; }
.banner-icons-right { right: 12px; }
.bi-icon {
    position: relative; width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.28));
}
.bi-icon svg { stroke: #fff; color: #fff; }
.bi-icon.on svg { stroke: #ffe27a; color: #ffe27a; }
.bi-dot {
    position: absolute; top: -4px; right: -7px;
    min-width: 15px; height: 15px; padding: 0 4px;
    border-radius: 8px; background: #fa5151; color: #fff;
    font-size: 10px; line-height: 15px; text-align: center; font-style: normal;
}
.banner-site { position: absolute; right: 12px; bottom: -36px; display: flex; align-items: flex-end; gap: 10px; z-index: 3; }
.banner-site-name { color: #fff; font-size: 17px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.35); margin-bottom: 46px; line-height: 1; }
.banner-avatar { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); flex: 0 0 auto; }
.banner-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-avatar i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-style: normal; font-size: 30px; font-weight: 700; color: #fff; background: #07c160; }
/* v1.9.5：标语并入白色内容区——白底通栏、紧贴横幅（零灰缝）、右侧留 84px 躲开悬挂头像，
   与卡片连成一体；不再像"独立小框"悬在灰色背景上 */
.header-tagline { max-width: 550px; width: 100%; margin: 0 auto; padding: 14px 84px 0 2px; background: #fff; text-align: right; color: #8a8a8a; font-size: 12px; }

/* 主容器 550px 居中 */
main { max-width: 550px; margin: 0 auto; }
.content-container { max-width: 550px; margin: 0 auto; }

/* 信息流：LAN 连续白底一列（v1.10.0 去分隔线，卡片间仅留空白） */
.post-list, .scrollload-container { background: #fff; border-radius: 2px; }
.post-item {
    position: relative;
    background: #fff; border-radius: 0; padding: 14px; margin: 0;
    box-shadow: none; border: none;
}
.post-list > .post-item:first-child, .post-detail-item { border-top: 0; }

/* v1.10.0 广告动态：橙色边框 + 浅橙底（v1.10.1 保留） */
.post-item.is-ad { border: 1px solid #f59e0b !important; border-radius: 8px; margin: 8px 6px; background: #fffaf1; }

/* v1.10.1 置顶/广告角标：内联柔和胶囊，贴在名字行（与认证/境界徽章同风格），
   替代此前右上角悬浮实色块（用户反馈刺眼） */
.top-badge, .ad-badge { display: inline-block; vertical-align: 2px; font-size: 11px; padding: 1px 8px; border-radius: 10px; font-weight: 600; margin-left: 2px; }
.top-badge { background: #e8f8ee; color: #07c160; }
.ad-badge { background: #ffece2; color: #ff5722; }
.pub-pin-row { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 2px; }
.pub-pin-item { flex: none; }
.post-item-left img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; } /* v1.9.1 圆角方形 */
.post-title a { color: #07c160; font-size: 15px; font-weight: 600; }
.post-title a:hover { color: #06a050; }

/* 置顶 / 广告徽章：v1.10.0 已并入上方广告样式块（置顶绿、广告橙红），此处旧规则已移除 */

/* 正文 */
.post-content { color: #1a1a1a; font-size: 15px; line-height: 1.6; }
.post-content p { margin: 0 0 8px; }
.show_all_btn, .hide_all_btn { color: #07c160; cursor: pointer; margin-left: 4px; font-size: 14px; }

/* 九宫格图片 4px 圆角 */
.post-images .post-image img, .post-images-1 img, .post-images .cell { border-radius: 4px; overflow: hidden; }

/* 定位 */
.post-position { color: #07c160; font-size: 13px; margin-top: 6px; }

/* 时间与操作行 */
.post-time { color: #8a8a8a; font-size: 12px; margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.post-time-comment { position: relative; }
.ptc-more svg { fill: #8a8a8a; }
.post-time-comment-modal { background: #fff; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,.15); }
.ptcm-good, .ptcm-comment { color: #333; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.ptcm-good:hover, .ptcm-comment:hover { background: #f5f5f5; }

/* 点赞行 + 头像墙 */
.pcc-like-list { background: #f7f7f7; border-radius: 4px; padding: 8px 10px; margin-top: 8px; }
.pcc-like-summary { display: flex; align-items: center; gap: 6px; }
.pcc-like-summary .like-icon { color: #07c160; }
.like-users-text { color: #07c160; font-size: 13px; }
.pcc-like-avatars { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pcc-like-avatars .like-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid #fff; }

/* 评论 */
.pcc-comment-item { font-size: 14px; line-height: 1.7; padding: 2px 0; color: #333; }
.pcc-comment-item a { color: #07c160; text-decoration: none; font-weight: 500; }
.author-badge { background: #07c160; color: #fff; font-size: 11px; padding: 0 5px; border-radius: 3px; margin: 0 3px; }

/* 回复框 */
.reply-form { background: #f7f7f7; border-radius: 4px; padding: 12px; }
.reply-form-user-info input, .reply-form input[name="content"] { border: 1px solid #e0e0e0; border-radius: 4px; }
.reply-submit-btn { background: #07c160; color: #fff; border: none; border-radius: 4px; padding: 7px 18px; cursor: pointer; }
.reply-cancel-btn { border: 1px solid #ccc; border-radius: 4px; padding: 7px 14px; color: #666; background: #fff; }

/* 弹窗 / 发布 / 链接 主色 */
.modal-box .button { background: #07c160; }
.modal-box h3 { color: #1a1a1a; }
.publish-submit { background: #07c160; }
.quanlog-publish-login a { color: #07c160; }
.post-content a, .quanlog-links a { color: #07c160; }

/* 回到顶部 / 加载动画主色 */
.back-to-top { background: #07c160; color: #fff; }
.loading-spinner { border-top-color: #07c160; }

/* 后台设置页主色 */
.quanlog-tab-item.active { background: #07c160; }
.quanlog-options-section-title { border-bottom-color: #07c160; }

/* 登录 / 注册弹窗 */
.auth-tabs { display: flex; gap: 20px; margin-bottom: 16px; border-bottom: 1px solid #eee; }
.auth-tabs span { padding: 8px 2px; font-size: 15px; color: #888; cursor: pointer; border-bottom: 2px solid transparent; }
.auth-tabs span.active { color: #07c160; border-bottom-color: #07c160; font-weight: 600; }
.auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-form input { padding: 9px 12px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
.auth-form input:focus { border-color: #07c160; outline: none; }
.dark .auth-form input { background: #1c1c1c; border-color: #444; color: #eee; }
.auth-submit { background: #07c160; color: #fff; border: none; border-radius: 4px; padding: 9px; font-size: 15px; cursor: pointer; }
.auth-submit:disabled { opacity: .6; }
.auth-link { font-size: 13px; color: #07c160; text-align: right; text-decoration: none; }
.auth-msg { font-size: 13px; min-height: 18px; }
.auth-msg.err { color: #ff3b3b; }

/* 个人中心 */
.quanlog-profile { margin: 12px auto; max-width: 550px; }
.profile-head { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 4px; padding: 18px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; }
.profile-meta { flex: 1; min-width: 0; }
.profile-name { font-size: 18px; margin: 0 0 6px; color: #1a1a1a; }
.profile-desc { font-size: 13px; color: #888; margin: 0 0 8px; word-break: break-word; }
.profile-edit-profile { font-size: 13px; color: #07c160; text-decoration: none; }
.profile-posts { margin-top: 12px; }
.profile-post-actions { margin: -6px 0 10px; text-align: right; }
.profile-edit-btn { font-size: 13px; color: #07c160; text-decoration: none; margin-right: 12px; }
.profile-del-btn { background: #ff3b3b; color: #fff; border: none; border-radius: 4px; padding: 5px 14px; font-size: 13px; cursor: pointer; }
.profile-del-btn:hover { background: #e63333; }

/* 发布弹窗 */
.publish-modal .modal-box { max-width: 500px; }
.publish-modal textarea, .publish-modal input { width: 100%; padding: 8px 10px; border: 1px solid #e0e0e0; border-radius: 4px; margin-bottom: 10px; box-sizing: border-box; font-family: inherit; font-size: 14px; }
.publish-modal textarea:focus, .publish-modal input:focus { border-color: #07c160; outline: none; }
.dark .publish-modal textarea, .dark .publish-modal input { background: #1c1c1c; border-color: #444; color: #eee; }
.publish-modal .publish-images label { font-size: 12px; color: #888; display: block; margin-bottom: 4px; }
.publish-login-tip { font-size: 14px; color: #888; padding: 8px 0; }
.publish-login-tip a { color: #07c160; }

/* 表情选择器 */
.emoji-trigger { background: none; border: none; font-size: 18px; cursor: pointer; padding: 0 4px; line-height: 1; color: #888; }
.emoji-trigger:hover { color: #07c160; }
.input-with-emoji { position: relative; display: flex; align-items: flex-start; gap: 6px; }
.input-with-emoji > textarea, .input-with-emoji > input { flex: 1 1 auto; width: auto; }
.input-with-emoji > .emoji-trigger { flex: 0 0 auto; align-self: flex-start; margin-top: 4px; }
.reply-form .input-with-emoji > input[name="content"] { width: auto; flex: 1; margin-bottom: 10px; }

.emoji-panel { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); width: 92%; max-width: 420px; max-height: 260px; overflow-y: auto; background: #fff; border-radius: 8px; box-shadow: 0 6px 30px rgba(0,0,0,.2); z-index: 110; padding: 10px 12px; }
.emoji-panel-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #888; margin-bottom: 8px; }
.emoji-panel-close { border: none; background: none; font-size: 20px; cursor: pointer; color: #999; }
.emoji-cat { font-size: 12px; color: #999; margin: 8px 0 4px; }
.emoji-grid { display: flex; flex-wrap: wrap; gap: 2px; }
.emoji-item { font-size: 20px; cursor: pointer; padding: 4px; border-radius: 4px; line-height: 1; }
.emoji-item:hover { background: #f0f0f0; }
.dark .emoji-panel { background: #1f1f1f; color: #e6e6e6; }
.dark .emoji-item:hover { background: #333; }

/* 铃铛红点 */
.tc-bell-dot { position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff3b3b; color: #fff; font-size: 11px; line-height: 16px; text-align: center; }

/* 通知中心 */
.notify-list { max-height: 320px; overflow-y: auto; margin: -6px -4px 0; }
.notify-item { display: flex; align-items: center; gap: 8px; padding: 10px 4px; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.notify-item.unread { background: #f6fff9; }
.notify-type { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: #07c160; color: #fff; font-size: 12px; text-align: center; line-height: 22px; }
.notify-item.unread .notify-type { background: #ff3b3b; }
.notify-text { flex: 1; color: #333; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notify-time { flex: 0 0 auto; color: #999; font-size: 12px; }
.notify-actions { margin-top: 12px; text-align: right; }
.notify-read-all { background: none; border: 1px solid #07c160; color: #07c160; border-radius: 4px; padding: 6px 14px; cursor: pointer; font-size: 13px; }
.notify-read-all:disabled { opacity: .5; cursor: not-allowed; }
.dark .notify-item { border-color: #333; }
.dark .notify-text { color: #ddd; }

/* Quanlog 补充样式：3.0.3 icefox.css 未覆盖的新组件（弹窗/回复框/回到顶部/加载动画/页面） */

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed; right: 20px; bottom: 30px; width: 44px; height: 44px;
    border-radius: 50%; background: rgba(255,255,255,.9); color: #555;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.15); opacity: 0; pointer-events: none;
    transition: opacity .3s, transform .3s; z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }
.dark .back-to-top { background: #2b2b2b; color: #ddd; box-shadow: 0 2px 10px rgba(0,0,0,.5); }

/* ---------- 弹窗 ---------- */
.quanlog-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.quanlog-modal[x-cloak] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal-box {
    position: relative; background: #fff; color: #333; border-radius: 12px;
    padding: 24px; width: 92%; max-width: 460px; box-shadow: 0 10px 40px rgba(0,0,0,.25); z-index: 1;
}
.dark .modal-box { background: #1f1f1f; color: #e6e6e6; }
.modal-close { position: absolute; top: 10px; right: 14px; border: none; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: #999; }
.modal-box h3 { margin: 0 0 14px; font-size: 18px; }
.modal-box .button { display: inline-block; margin-top: 12px; padding: 8px 18px; border-radius: 8px; background: #467b96; color: #fff; text-decoration: none; }
.setting-theme, .setting-top-music { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.setting-top-music ul { margin: 6px 0 0; padding-left: 18px; }
.quanlog-links { list-style: none; padding: 0; margin: 8px 0 0; }
.quanlog-links li { padding: 6px 0; border-bottom: 1px solid #eee; }
.quanlog-links a { color: #467b96; text-decoration: none; }
.dark .quanlog-links li { border-color: #333; }

/* ---------- 评论回复框 ---------- */
.reply-form-container { margin: 8px 0; }
.reply-form { background: #f6f6f6; border-radius: 10px; padding: 12px; }
.dark .reply-form { background: #2a2a2a; }
.reply-form-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.reply-form-close { border: none; background: none; font-size: 20px; cursor: pointer; color: #999; }
.reply-form-user-info { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.reply-form-user-info input { flex: 1 1 30%; min-width: 90px; padding: 7px 10px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
.dark .reply-form-user-info input { background: #1c1c1c; border-color: #444; color: #eee; }
.reply-form input[name="content"] { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 8px; box-sizing: border-box; background:#fff; }
.dark .reply-form input[name="content"] { background: #1c1c1c; border-color: #444; color: #eee; }
.reply-form-actions { display: flex; gap: 10px; align-items: center; }
.reply-submit-btn { background: #467b96; color: #fff; border: none; border-radius: 8px; padding: 7px 18px; cursor: pointer; }
.reply-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.reply-cancel-btn { background: none; border: 1px solid #ccc; border-radius: 8px; padding: 7px 14px; cursor: pointer; color: #666; }
.dark .reply-cancel-btn { border-color: #555; color: #bbb; }

.quanlog-comment-form { width: 100%; }
.pcc-comment-item { font-size: 14px; line-height: 1.7; padding: 1px 0; }
.pcc-comment-item a { color: #467b96; text-decoration: none; font-weight: 500; }
.author-badge { background: #ff6b6b; color: #fff; font-size: 11px; padding: 0 5px; border-radius: 4px; margin: 0 3px; }
.cursor-help { cursor: pointer; }

/* ---------- 无限滚动加载 ---------- */
.scrollload-loading, .scrollload-nomore, .scrollload-error {
    text-align: center; padding: 20px; color: #999; font-size: 14px;
}
.loading-spinner {
    width: 22px; height: 22px; border: 3px solid #ddd; border-top-color: #467b96;
    border-radius: 50%; margin: 0 auto 8px; animation: quanlog-spin .8s linear infinite;
}
@keyframes quanlog-spin { to { transform: rotate(360deg); } }
.retry-btn { margin-left: 10px; padding: 4px 12px; border: 1px solid #ccc; border-radius: 6px; background: #fff; cursor: pointer; }

/* ---------- 页面/空态 ---------- */
.quanlog-page { max-width: 680px; margin: 20px auto; padding: 0 16px; }
.page-title { font-size: 22px; margin: 10px 0 16px; }
.quanlog-empty { text-align: center; color: #999; padding: 40px 0; }
.quanlog-404 { text-align: center; padding: 60px 0; }
.quanlog-native-comment-form { margin-top: 18px; }
.dark .quanlog-native-comment-form { color: #ddd; }
.dark .quanlog-native-comment-form input,
.dark .quanlog-native-comment-form textarea { background: #1c1c1c; border-color: #444; color: #eee; }

/* ---------- 前端发布 ---------- */
.quanlog-publish textarea, .quanlog-publish input {
    width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; box-sizing: border-box; font-family: inherit;
}
.dark .quanlog-publish textarea, .dark .quanlog-publish input { background: #1c1c1c; border-color: #444; color: #eee; }
.publish-row { display: flex; gap: 10px; }
.publish-row input { flex: 1; }
.publish-actions { margin-top: 6px; }
.publish-submit { background: #467b96; color: #fff; border: none; border-radius: 8px; padding: 8px 20px; cursor: pointer; }
.publish-msg { margin-left: 12px; color: #2a9d5b; font-size: 14px; }
.quanlog-publish-login, .quanlog-publish-deny { padding: 30px 0; text-align: center; color: #888; }
.quanlog-publish-login a { color: #467b96; }

/* ---------- 顶栏滚动后背景（兜底，保持绿条） ---------- */

/* 隐藏预加载图标容器（本主题未使用，保底） */
.preloaded-icons { display: none !important; }


/* ============================================================
   后台「圈记录设置」页面样式
   ============================================================ */
.quanlog-options-ver { font-size: 12px; color: #888; margin-left: 8px; vertical-align: middle; font-weight: 400; }
.quanlog-options-layout { display: flex; gap: 20px; margin-top: 18px; align-items: flex-start; }
.quanlog-options-tabs { width: 180px; flex: 0 0 180px; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; }
.quanlog-tab-item { display: block; padding: 12px 16px; color: #333; text-decoration: none; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.quanlog-tab-item:last-child { border-bottom: none; }
.quanlog-tab-item:hover { background: #f7f7f7; }
.quanlog-tab-item.active { background: #467b96; color: #fff; font-weight: 600; }
.quanlog-options-panel { flex: 1; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; padding: 20px 24px; min-width: 0; }
.quanlog-options-section-title { font-size: 16px; font-weight: 600; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.quanlog-options-section-title small { display: block; font-weight: 400; color: #999; font-size: 12px; margin-top: 4px; }
.quanlog-options-table th { width: 180px; vertical-align: top; padding-top: 10px; }
.quanlog-options-table td { vertical-align: top; padding-top: 6px; }
.quanlog-code-area { font-family: Consolas, Monaco, monospace; }
.quanlog-img-field { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.quanlog-img-field .regular-text { max-width: 360px; }
@media (max-width: 782px) {
    .quanlog-options-layout { flex-direction: column; }
    .quanlog-options-tabs { width: 100%; flex: none; display: flex; flex-wrap: wrap; }
    .quanlog-tab-item { flex: 1 1 auto; border-bottom: none; border-right: 1px solid #f0f0f0; text-align: center; }
}

/* ==================== R6 认证图标 + R7 段位标 ==================== */
/* v1.6.0 认证 V 徽章：个人橙V / 企业蓝V / 官方红V（全局） */
.quanlog-cert {
    display: inline-flex; align-items: center; gap: 2px; vertical-align: -2px;
    margin-left: 3px; padding: 0 5px; height: 16px; line-height: 16px;
    font-size: 11px; font-style: normal; border-radius: 3px; white-space: nowrap;
}
.quanlog-cert svg { display: block; flex: none; }
.quanlog-cert em { font-style: normal; }
.quanlog-cert-personal   { color: #9a5b00; background: #fdf1dc; border: 1px solid #f3d9a8; }
.quanlog-cert-personal svg { color: #f59e0b; }
.quanlog-cert-enterprise { color: #0b4f8f; background: #e7f1fb; border: 1px solid #b9d6f0; }
.quanlog-cert-enterprise svg { color: #2e86de; }
.quanlog-cert-official   { color: #a11d1d; background: #fdeaea; border: 1px solid #f3bcbc; }
.quanlog-cert-official svg { color: #e24b4a; }
.quanlog-tier {
    display: inline-block; margin-left: 4px; padding: 0 6px; height: 17px; line-height: 17px;
    font-size: 11px; border-radius: 3px; vertical-align: 2px; font-style: normal;
    color: #b8860b; background: #fdf3d8; border: 1px solid #f0dfa8;
}
/* v1.6.0 修仙境界：仙阶（真仙+）青绿 / 道祖赤金 */
.quanlog-tier-xian   { color: #0f6e56; background: #e3f4ee; border-color: #a9dcc9; }
.quanlog-tier-daozu  { color: #633806; background: #f7e3b1; border-color: #e0b95e; font-weight: 600; }
.pcc-comment-item .quanlog-verified, .pcc-comment-item .quanlog-tier { vertical-align: -2px; }
.pcc-comment-item .quanlog-cert { vertical-align: -2px; margin-left: 3px; }

/* ==================== R4 第三方登录按钮行（仿 Destined） ==================== */
.social-login-divider { display: flex; align-items: center; margin: 14px 0 10px; color: #999; font-size: 12px; }
.social-login-divider::before, .social-login-divider::after { content: ''; flex: 1; height: 1px; background: #e5e5e5; }
.social-login-divider span { padding: 0 10px; }
.social-login-row { display: flex; gap: 10px; justify-content: center; }
.social-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; color: #fff !important; text-decoration: none;
    transition: opacity .2s;
}
.social-btn:hover { opacity: .85; }
.social-btn-qq { background: #12B7F5; }
.social-btn-wechat { background: #07c160; }
.social-btn-weibo { background: #E6162D; }

/* ==================== R5 个人中心 · 账号设置 ==================== */
.profile-settings { background: #fff; border-radius: 4px; margin-top: 14px; padding: 16px; }
.ps-title { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: #222; }
.ps-block { padding: 12px 0; border-top: 1px solid #f0f0f0; }
.ps-block-title { font-size: 14px; font-weight: 600; margin: 0 0 10px; color: #333; }
.ps-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.ps-field { display: flex; flex-direction: column; gap: 4px; }
.ps-field span { font-size: 13px; color: #666; }
.ps-field input { padding: 9px 12px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
.ps-field input:focus { border-color: #07c160; outline: none; }
.ps-btn {
    align-self: flex-start; padding: 8px 22px; border: 0; border-radius: 4px; cursor: pointer;
    background: #07c160; color: #fff; font-size: 14px;
}
.ps-btn:disabled { opacity: .6; cursor: default; }
.ps-msg { font-size: 13px; }
.ps-msg.ok { color: #07c160; }
.ps-msg.err { color: #e64340; }
.ps-hint { font-size: 12px; color: #999; margin: 0 0 10px; }
.ps-bindings { display: flex; flex-direction: column; }
.ps-binding-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #f0f0f0; }
.ps-binding-row:last-child { border-bottom: 0; }
.ps-binding-name { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #333; }
.ps-binding-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; }
.ps-bind-state { font-style: normal; font-size: 12px; color: #999; }
.ps-bind-state.on { color: #07c160; }
.ps-btn-unbind { padding: 4px 14px; border: 1px solid #e64340; background: #fff; color: #e64340; border-radius: 4px; font-size: 13px; cursor: pointer; }
.ps-btn-unbind:hover { background: #fdf0f0; }
.ps-btn-bind { padding: 4px 14px; border: 1px solid #07c160; background: #fff; color: #07c160; border-radius: 4px; font-size: 13px; text-decoration: none; }
.ps-btn-bind:hover { background: #f0fbf5; }
.ps-bind-disabled { font-size: 12px; color: #ccc; }

/* 个人中心头部也显示徽章 */
.profile-name .quanlog-verified, .profile-name .quanlog-cert, .profile-name .quanlog-tier { vertical-align: 3px; }

/* ==================== LAN 评论流：评论者名字微信蓝 ==================== */
.pcc-comment-item a, .pcc-like-list .like-item a { color: #576b95; }
.pcc-comment-item a:hover { color: #4a5c85; }
.pcc-comment-item span { color: #1a1a1a; }
.pcc-like-list { color: #8a8a8a; }

/* ==================== R10 首页直连：横幅↔信息流零间距 ====================
   v1.9.3：撤销对 .header-tagline 的 display:none 强制隐藏——
   横幅下方标语改为后台选填、模板条件输出，留空不占位，不再需要一刀切隐藏 */
.header-container { margin-bottom: 0 !important; }
/* v1.9.5：首卡顶部留白 48px→18px（标语白条已承担衔接空间，避免中部过高） */
.content-container .post-item:first-of-type { padding-top: 18px; }

/* ==================== R14e 公告弹窗内容 ==================== */
.notice-modal .modal-box { max-width: 420px; width: 88%; }
.notice-modal .notice-content { max-height: 50vh; overflow: auto; color: #444; font-size: 14px; line-height: 1.7; margin-top: 10px; }
.notice-modal .notice-actions { margin-top: 14px; text-align: center; }
.notice-modal .notice-btn {
    display: inline-block; background: #07c160; color: #fff; text-decoration: none;
    padding: 8px 26px; border-radius: 4px; font-size: 14px;
}
.notice-modal .notice-btn:hover { background: #06ad56; }

/* ==================== R9 发布弹窗媒体上传 ==================== */
.pub-upload-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.pub-up-btn {
    border: 1px dashed #c8c8c8; background: #fafafa; color: #666; border-radius: 4px;
    padding: 6px 14px; font-size: 13px; cursor: pointer;
}
.pub-up-btn:hover { border-color: #07c160; color: #07c160; }
.pub-up-hint { font-size: 12px; color: #999; }
.pub-up-hint a { color: #576b95; text-decoration: none; }
.pub-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pub-thumb { position: relative; width: 64px; height: 64px; border-radius: 4px; overflow: hidden; background: #f2f2f2; }
.pub-thumb img, .pub-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-thumb-del {
    position: absolute; right: 0; top: 0; width: 18px; height: 18px; line-height: 16px; text-align: center;
    background: rgba(0,0,0,.55); color: #fff; font-style: normal; font-size: 12px; cursor: pointer; border-radius: 0 0 0 4px;
}
.pub-url-fallback { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.pub-url-fallback textarea, .pub-url-fallback input {
    padding: 7px 10px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 13px; box-sizing: border-box;
}
.publish-actions { margin-top: 12px; }

/* ==================== R13 自定义平台按钮兜底色 ==================== */
.social-btn[class*="social-btn-custom"] { background: #576b95; }

/* ==================== R14b 设置弹窗补充（不可见占位删除保护） ==================== */
.setting-modal .modal-box { min-width: 260px; }

/* ==================== v1.3.0 R16 Destined 式社交登录 ==================== */
.social-login-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.social-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 4px; text-decoration: none;
    color: #fff !important; font-size: 14px; transition: opacity .15s, transform .15s;
}
.social-row:hover { opacity: .88; transform: translateY(-1px); }
.social-row-icon { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; flex: none; }
.social-row-icon svg, .social-row-icon img { width: 22px; height: 22px; fill: currentColor; }
.social-row-name { flex: 1; text-align: left; }
.social-row-arrow { opacity: .8; font-size: 18px; line-height: 1; }
/* 品牌色（Destined 风格） */
.social-row.social-btn-qq { background: #12B7F5; }
.social-row.social-btn-wechat { background: #07c160; }
.social-row.social-btn-weibo { background: #E6162D; }
.social-row.social-btn-github { background: #24292f; }
.social-row.social-btn-gitee { background: #C71D23; }
.social-row.social-btn-google { background: #4285F4; }
.social-row[class*="social-btn-custom"] { background: #576b95; }
.social-agreement { margin: 12px 0 0; font-size: 12px; color: #999; text-align: center; }
.social-agreement a { color: #576b95; }
.dark .social-row-arrow { color: #ddd; }

/* ==================== v1.3.0 R18 横幅副标题 ==================== */
.banner-site-sub {
    color: rgba(255,255,255,.85); font-size: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.3);
    margin-bottom: 46px; line-height: 1; max-width: 320px; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
@media (max-width: 640px) { .banner-site-sub { display: none; } }

/* ==================== v1.3.0 R19 独立页面（友链 / 消息中心） ==================== */
.quanlog-page { background: #fff; border-radius: 4px; padding: 18px; }
.page-title { font-size: 18px; font-weight: 600; margin: 0 0 14px; color: #222; }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.link-card {
    display: flex; align-items: center; gap: 10px; padding: 12px 14px;
    border: 1px solid #eee; border-radius: 4px; text-decoration: none; transition: box-shadow .15s;
}
.link-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.link-card-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: #07c160; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; flex: none;
}
.link-card-name { font-size: 14px; font-weight: 600; color: #222; }
.link-card-desc { font-size: 12px; color: #999; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-card-body { min-width: 0; }
.msg-page-tip { font-size: 13px; color: #999; text-align: center; padding: 24px 0; }
.msg-page-tip a { color: #576b95; }

/* ==================== v1.4.0 R20-R23 LAN 式弹窗与用户菜单 ==================== */
/* 弹窗通用头部：绿色图标 + 标题 + 绿色下划线 */
.qlm-box { max-width: 400px; width: 90%; }
.qlm-head {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 10px; margin-bottom: 16px;
    border-bottom: 2px solid #07c160;
}
.qlm-icon { flex: none; }
.qlm-title { font-size: 17px; font-weight: 700; color: #222; }
.dark .qlm-title { color: #eee; }
.qlm-sec { margin-bottom: 16px; }
.qlm-sec-title { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 8px; }
.dark .qlm-sec-title { color: #ddd; }
.qlm-sec-emoji { margin-right: 4px; }

/* R21 用户菜单浮层（横幅左上角头像图标下方） */
.banner-icons-left { position: relative; }
.user-menu {
    position: absolute; top: 44px; left: 0; z-index: 50;
    min-width: 150px; background: #fff; border-radius: 6px;
    box-shadow: 0 4px 18px rgba(0,0,0,.15); padding: 6px;
}
.dark .user-menu { background: #2a2a2a; }
.user-menu-item {
    display: flex; align-items: center; gap: 8px;
    padding: 9px 12px; border-radius: 4px; text-decoration: none;
    color: #333 !important; font-size: 13px;
}
.user-menu-item:hover { background: #f5f5f5; }
.dark .user-menu-item { color: #ddd !important; }
.dark .user-menu-item:hover { background: #3a3a3a; }
.user-menu-logout { color: #e64340 !important; }

/* R21 LAN 登录表单 */
.lan-auth-form { display: flex; flex-direction: column; gap: 12px; }
.lan-auth-row { display: flex; align-items: center; gap: 12px; }
.lan-auth-row label { width: 38px; flex: none; font-size: 14px; color: #333; }
.dark .lan-auth-row label { color: #ccc; }
.lan-auth-row input {
    flex: 1; border: 0; border-bottom: 1px solid #eee; padding: 8px 2px;
    font-size: 14px; outline: none; background: transparent; box-sizing: border-box;
}
.lan-auth-row input:focus { border-bottom-color: #07c160; }
.lan-auth-submit {
    margin: 6px auto 0; min-width: 200px; padding: 10px 30px;
    border: 0; border-radius: 4px; background: #07c160; color: #fff;
    font-size: 15px; cursor: pointer;
}
.lan-auth-submit:hover { background: #06ad56; }
.lan-auth-submit:disabled { opacity: .6; }
.lan-auth-links { text-align: center; font-size: 13px; color: #666; }
.lan-auth-links a { color: #666; text-decoration: none; }
.lan-auth-links a:hover { color: #07c160; }
.lan-auth-sep { margin: 0 10px; color: #ddd; }
.auth-msg.err { color: #e64340; }
.auth-msg.ok { color: #07c160; }

/* R22 LAN 友链卡片 */
.lan-links-list { display: flex; flex-direction: column; gap: 10px; max-height: 55vh; overflow: auto; }
.lan-link-card {
    display: flex; align-items: center; gap: 12px;
    background: #f7f7f7; border-radius: 6px; padding: 12px 14px; text-decoration: none;
}
.lan-link-card:hover { background: #f0f0f0; }
.dark .lan-link-card { background: #333; }
.dark .lan-link-card:hover { background: #3d3d3d; }
.lan-link-avatar {
    width: 42px; height: 42px; border-radius: 10px; flex: none; /* v1.9.1 圆角方形 */
    background: #07c160; color: #fff; font-size: 17px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.lan-link-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lan-link-name { font-size: 14px; font-weight: 600; color: #222; }
.dark .lan-link-name { color: #eee; }
.lan-link-desc { font-size: 12px; color: #999; margin-top: 2px; }
.lan-link-arrow { color: #bbb; font-size: 18px; }

/* R23 LAN 设置弹窗 */
.qlm-search { display: flex; gap: 8px; }
.qlm-search input {
    flex: 1; padding: 9px 12px; border: 1px solid #e5e5e5; border-radius: 4px;
    font-size: 13px; outline: none; background: #fafafa; box-sizing: border-box;
}
.dark .qlm-search input { background: #333; border-color: #444; color: #eee; }
.qlm-search input:focus { border-color: #07c160; }
.qlm-search button {
    width: 40px; height: 40px; flex: none; border: 0; border-radius: 4px;
    background: #07c160; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.qlm-search button:hover { background: #06ad56; }
.qlm-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.qlm-tag {
    padding: 5px 14px; border-radius: 999px; background: #f2f2f2;
    color: #555 !important; font-size: 13px; text-decoration: none;
}
.qlm-tag:hover { background: #e7f7ee; color: #07c160 !important; }
.dark .qlm-tag { background: #333; color: #ccc !important; }
.qlm-theme-toggle { display: flex; justify-content: center; padding: 4px 0; }
.qlm-theme-btn {
    width: 48px; height: 48px; border-radius: 12px; border: 1px solid #eee;
    background: #fafafa; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.dark .qlm-theme-btn { background: #333; border-color: #444; }
.qlm-theme-btn:hover { border-color: #07c160; }
.qlm-foot {
    margin-top: 18px; padding-top: 12px; border-top: 1px solid #f0f0f0;
    text-align: center; font-size: 12px; color: #999;
}
.dark .qlm-foot { border-top-color: #3a3a3a; }
.qlm-foot p { margin: 3px 0; }
.qlm-foot a { color: #07c160; text-decoration: none; }

/* ==================== v1.4.1 R25 修复 icefox.css 遗留弹窗左偏 ====================
   icefox.css 把 .setting-modal/.login-modal/.links-modal 容器限宽 576px 且未水平
   居中（inset:0 的 left:0 生效），导致弹窗整体顶到屏幕左侧。
   这里恢复与 .publish-modal/.notify-modal 相同的全屏居中表现。 */
.setting-modal,
.login-modal,
.links-modal {
    inset: 0;
    max-width: none;
    width: auto;
    height: auto;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    justify-content: center;
    align-items: center;
    padding: 16px;
}
.setting-modal[x-cloak],
.login-modal[x-cloak],
.links-modal[x-cloak] {
    display: none !important;
}

/* ==================== v1.4.2 头像回首页 + 发布定位 ==================== */
.banner-avatar { cursor: pointer; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.banner-avatar:hover { box-shadow: 0 2px 10px rgba(0,0,0,.3); transform: translateY(-1px); }
.pub-up-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ==================== v1.5.0 内页链接 / 内页开关 / 内页评论表单 ==================== */
/* 首页卡片：进一步了解（LAN 式，铅笔图标 + 蓝字） */
.post-inner-link {
    display: inline-flex; align-items: center; gap: 5px;
    margin: 6px 0 2px; font-size: 13px;
    color: #576b95 !important; text-decoration: none;
}
.post-inner-link svg { width: 14px; height: 14px; flex: none; }
.post-inner-link:hover { text-decoration: underline; }

/* 发布表单：内页开关（v1.10.1：勾选框定宽——全局 input 宽度规则曾把 checkbox 拉到 259px，排版全乱） */
.pub-inner-toggle {
    display: flex; align-items: center; gap: 6px;
    margin-top: 10px; font-size: 13px; color: #666; cursor: pointer;
}
.pub-inner-toggle input { width: 14px; height: 14px; flex: none; margin: 0; accent-color: #07c160; }
.dark .pub-inner-toggle { color: #aaa; }

/* 发布页（page-publish）表单与弹窗同款：无 URL 填写框 */
.quanlog-publish textarea[name="content"] {
    width: 100%; border: 1px solid #e5e5e5; border-radius: 6px;
    padding: 12px; font-size: 14px; box-sizing: border-box; resize: vertical;
}
.dark .quanlog-publish textarea[name="content"] { background: #333; border-color: #444; color: #eee; }
.quanlog-publish textarea[name="content"]:focus { border-color: #07c160; outline: none; }
.quanlog-publish .publish-title { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.quanlog-publish .publish-row input {
    padding: 9px 12px; border: 1px solid #e5e5e5; border-radius: 4px;
    font-size: 13px; box-sizing: border-box;
}
.dark .quanlog-publish .publish-row input { background: #333; border-color: #444; color: #eee; }

/* 内页评论表单（微信风：圆角灰底输入框 + 绿色发送按钮） */
.quanlog-native-comment-form { margin-top: 14px; }
.quanlog-native-comment-form form { display: flex; flex-direction: column; gap: 8px; }
.quanlog-native-comment-form p { margin: 0 !important; }
.quanlog-native-comment-form .comment-form-comment label { display: none; }
.quanlog-native-comment-form textarea#comment {
    width: 100%; border: 0; background: #f5f5f5; border-radius: 6px;
    padding: 10px 12px; font-size: 14px; box-sizing: border-box; resize: vertical;
}
.dark .quanlog-native-comment-form textarea#comment { background: #333; color: #eee; }
.quanlog-native-comment-form textarea#comment:focus { outline: none; box-shadow: 0 0 0 1px #07c160; }
.quanlog-native-comment-form .qlc-note { font-size: 12px; color: #999; }
.quanlog-native-comment-form .qlc-note a { color: #576b95; }
.quanlog-native-comment-form input[type="text"],
.quanlog-native-comment-form input[type="email"],
.quanlog-native-comment-form input[type="url"] {
    width: 100%; border: 0; border-bottom: 1px solid #eee; padding: 8px 2px;
    font-size: 14px; outline: none; background: transparent; box-sizing: border-box;
}
.quanlog-native-comment-form .submit, .quanlog-native-comment-form .qlc-send {
    align-self: flex-end; border: 0; background: #07c160; color: #fff;
    padding: 7px 22px; border-radius: 4px; font-size: 13px; cursor: pointer;
}
.quanlog-native-comment-form .submit:hover, .quanlog-native-comment-form .qlc-send:hover { background: #06ad56; }

/* ==================== v1.5.1 [bilibili] 短代码（Typecho 迁移内容） ==================== */
.quanlog-bili {
    position: relative; width: 100%; max-width: 640px;
    padding-top: 56.25%; border-radius: 8px; overflow: hidden;
    margin: 8px 0; background: #000;
}
.quanlog-bili iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==================== v1.7.0 个人中心：经验条 / 认证申请 / 动态加载更多 ==================== */
.profile-exp-bar {
    background: #fff; border: 1px solid #eee; border-radius: 10px;
    padding: 12px 14px; margin: 10px 0;
}
.peb-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.peb-exp { font-size: 13px; color: #333; }
.peb-exp b { font-size: 16px; color: #b8860b; }
.peb-hint { font-size: 12px; color: #999; }
.peb-track { height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.peb-fill { height: 100%; background: #f0a020; border-radius: 3px; transition: width .4s; }

.ps-cert-state { font-size: 13px; border-radius: 8px; padding: 10px 12px; }
.ps-cert-ok   { background: #eaf7ec; color: #2e7d32; }
.ps-cert-wait { background: #fdf6e3; color: #9a6b00; }
.ps-cert-no   { background: #fdecec; color: #a33; margin-bottom: 10px; }
.ps-cert-form { display: flex; flex-direction: column; gap: 10px; }
.ps-cert-types { display: flex; gap: 8px; }
.ps-cert-types label {
    flex: 1; text-align: center; font-size: 13px; padding: 8px 0; cursor: pointer;
    border: 1px solid #ddd; border-radius: 8px; color: #666; user-select: none;
}
.ps-cert-types label.on { border-color: #f0a020; background: #fdf1dc; color: #9a5b00; font-weight: 500; }
.ps-cert-types input { display: none; }
.ps-cert-note {
    width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 8px 10px;
    font-size: 13px; resize: vertical; box-sizing: border-box; font-family: inherit;
}
.ps-cert-note:focus { outline: none; border-color: #f0a020; }

.profile-posts-title {
    font-size: 15px; font-weight: 500; color: #333;
    margin: 22px 0 12px; padding-left: 10px; border-left: 3px solid #f0a020;
}
.profile-load-more {
    display: block; width: 100%; max-width: 300px; margin: 16px auto 0;
    padding: 9px 0; text-align: center; font-size: 13px; color: #576b95;
    background: #fff; border: 1px solid #dcdcdc; border-radius: 8px; cursor: pointer;
}
.profile-load-more:hover { background: #f7f7f7; }
.profile-load-more:disabled { color: #aaa; cursor: default; }

/* ==================== v1.8.0 用户中心管理钮 / 友链申请 / 后台自定义Tab ==================== */
.profile-head-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.profile-exp-inline { font-size: 12px; color: #888; }
.profile-exp-inline b { color: #b8860b; }
.profile-edit-toggle {
    border: 1px solid #dcdcdc; background: #fff; color: #576b95; font-size: 12px;
    border-radius: 6px; padding: 3px 10px; cursor: pointer;
}
.profile-edit-toggle:hover { background: #f7f7f7; }

.profile-posts .post-item { position: relative; }
.profile-post-manage {
    position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 5;
}
.ppm-btn {
    width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.9); border: 1px solid #dcdcdc; border-radius: 50%;
    font-size: 13px; color: #576b95; cursor: pointer; text-decoration: none; line-height: 1;
}
.ppm-btn:hover { background: #576b95; color: #fff; border-color: #576b95; }
.ppm-btn.ppm-del { color: #b04343; }
.ppm-btn.ppm-del:hover { background: #b04343; border-color: #b04343; }

.links-modal .lan-link-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.lan-link-apply {
    display: block; width: 100%; margin-top: 10px; padding: 9px 0; text-align: center;
    font-size: 13px; color: #576b95; background: transparent;
    border: 1px dashed #576b95; border-radius: 8px; cursor: pointer;
}
.lan-link-apply:hover { background: rgba(87,107,149,.08); }
.lan-links-apply .ps-cert-form input, .lan-links-apply .ps-cert-form textarea {
    width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 9px 10px;
    font-size: 13px; box-sizing: border-box; font-family: inherit;
}
.lan-links-apply .ps-cert-form input:focus { outline: none; border-color: #07c160; }
.lan-link-back {
    background: transparent; border: none; color: #999; font-size: 12px; cursor: pointer; text-align: center;
}
.lan-link-back:hover { color: #576b95; }

/* 后台：主题设置自定义 Tab + 角标 + 友链编辑器 */
.quanlog-tab-badge {
    display: inline-block; min-width: 16px; height: 16px; line-height: 16px;
    margin-left: 4px; padding: 0 4px; border-radius: 8px;
    background: #d63638; color: #fff; font-size: 11px; text-align: center; font-weight: 600;
}
.quanlog-custom-tab .qct-title { margin: 18px 0 8px; font-size: 14px; }
.quanlog-custom-tab .qct-title:first-child { margin-top: 4px; }
.qct-table { margin-bottom: 10px; }
.qct-table td { vertical-align: middle; }
.qle-row { display: flex; gap: 6px; margin-bottom: 6px; }
.qle-row input[type="text"], .qle-row input[type="url"] { flex: 1; min-width: 0; }
.qle-row input[placeholder="名称"] { flex: 0 0 140px; }
.qle-row input[placeholder="描述（选填）"] { flex: 1.2; }
