/* ==========================================================================
   kang-twikoo.css — Twikoo 评论区交互与皮肤 v3.11  (2026-11-12)
   与 kang-glass.css 同一套「光学玻璃」语言：
     蓝 → 橙（等待人机验证）→ 玻璃绿 + 逐笔绘制对勾
     校验失败 / 未验证 → 玻璃红 + 叉 + 覆盖整行的原因提示横幅
   v3.11 按需求删除 WAIT 点阵跑马灯（canvas / 灯带全部移除）。
   本文件只作用于 #twikoo / .kang-comment-card 内部，不碰页面其它区域。
   ========================================================================== */

/* ---------- 0. 评论区白卡内的层次（容器本身已由 kang-glass 改成白底） ---------- */
#twikoo .tk-comments-title {
  letter-spacing: 0.01em;
}

/* ---------- 1. 通用：玻璃底 + hover 光扫 + 点击涟漪容器 ---------- */
#twikoo button,
#twikoo .OwO-logo,
#twikoo .tk-submit-action-icon,
#twikoo .tk-expand {
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

#twikoo button::before,
#twikoo .OwO-logo::before,
#twikoo .tk-submit-action-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.46) 49%, transparent 66%);
  background-size: 240% 100%;
  background-position: 160% 0;
  opacity: 0;
  transition: background-position 0.72s var(--kg-ease-out, cubic-bezier(.22,.9,.3,1)),
              opacity 0.3s ease;
}
#twikoo button:hover::before,
#twikoo .OwO-logo:hover::before,
#twikoo .tk-submit-action-icon:hover::before {
  opacity: 0.9;
  background-position: -60% 0;
}

/* ---------- 2. 提交行工具按钮：表情 / 图片 / Markdown 着色胶囊 ---------- */
#twikoo .tk-row.actions {
  align-items: center;
}
/* 图片按钮：薄荷绿 */
#twikoo .tk-row.actions .tk-submit-action-icon:not(.OwO):not(.__markdown) {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(16, 170, 140, 0.22);
  background: linear-gradient(160deg, rgba(56, 214, 182, 0.20), rgba(16, 170, 140, 0.09));
  color: #0fa98d;
  transition: background 0.25s ease, border-color 0.25s ease,
              transform 0.28s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1)),
              box-shadow 0.25s ease;
}
#twikoo .tk-row.actions .tk-submit-action-icon:not(.OwO):not(.__markdown):hover {
  border-color: rgba(16, 170, 140, 0.46);
  background: linear-gradient(160deg, rgba(56, 214, 182, 0.32), rgba(16, 170, 140, 0.16));
  box-shadow: 0 4px 12px rgba(16, 170, 140, 0.18);
  transform: translateY(-1px);
}
#twikoo .tk-submit-action-icon svg {
  width: 16px !important;
  height: 16px !important;
  flex: none;
  filter: drop-shadow(0 1px 1px rgba(10, 80, 70, 0.12));
}

/* 表情按钮：琥珀黄。
   注意 .OwO 里挂着 .OwO-body 表情面板，父级绝不能 overflow:hidden，
   否则面板会被裁成图标那么大（旧版问题）。 */
#twikoo .tk-submit-action-icon.OwO {
  width: auto;
  height: auto;
  overflow: visible !important;
  border: 0;
  background: transparent;
}
#twikoo .OwO-logo {
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  border: 1px solid rgba(240, 160, 32, 0.26);
  background: linear-gradient(160deg, rgba(255, 198, 112, 0.26), rgba(255, 164, 44, 0.11));
  color: #ec9a12;
  transition: background 0.25s ease, border-color 0.25s ease,
              transform 0.28s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1)),
              box-shadow 0.25s ease;
}
#twikoo .OwO-logo:hover {
  border-color: rgba(240, 160, 32, 0.52);
  background: linear-gradient(160deg, rgba(255, 198, 112, 0.4), rgba(255, 164, 44, 0.18));
  box-shadow: 0 4px 12px rgba(240, 160, 32, 0.2);
  transform: translateY(-1px);
}
#twikoo .OwO-logo svg {
  width: 16px !important;
  height: 16px !important;
  filter: drop-shadow(0 1px 1px rgba(140, 80, 0, 0.14));
}

/* Markdown 说明链接：淡紫小徽章，弱化存在感 */
#twikoo .tk-row.actions > .tk-submit-action-icon.__markdown {
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(143, 123, 240, 0.20);
  background: rgba(143, 123, 240, 0.09);
  color: #8f7bf0;
  opacity: 0.9;
}
#twikoo .tk-row.actions > .tk-submit-action-icon.__markdown:hover {
  border-color: rgba(143, 123, 240, 0.42);
  background: rgba(143, 123, 240, 0.16);
  transform: translateY(-1px);
}
#twikoo .tk-row.actions > .tk-submit-action-icon.__markdown svg {
  width: 14px !important;
  height: 14px !important;
  filter: none;
}

/* 表情面板：白底卡片，别被隔壁按钮的圆角规则带歪 */
#twikoo .OwO-body {
  /* .OwO 容器本身只有 30px 宽，面板若不显式定宽会被压成一条 */
  width: 336px !important;
  max-width: calc(100vw - 32px) !important;
  border: 1px solid rgba(120, 160, 200, 0.20) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(60, 100, 150, 0.16) !important;
  overflow: hidden;
}
#twikoo .OwO-body .OwO-items {
  padding: 8px 6px;
}
#twikoo .OwO-body .OwO-item {
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}
#twikoo .OwO-body .OwO-item:hover {
  background: rgba(73, 177, 245, 0.1);
  transform: translateY(-1px);
}
#twikoo .OwO-body .OwO-bar {
  border-top: 1px solid rgba(120, 160, 200, 0.14);
  background: #fbfdff;
}

/* 图片上传提示 */
#twikoo .tk-error-message {
  font-size: 12px;
  color: #e0453f;
}

/* 输入行细节 */
#twikoo .tk-meta-input .el-input-group__prepend {
  background: rgba(73, 177, 245, 0.07) !important;
  border-color: rgba(73, 177, 245, 0.22) !important;
  color: #5a7e9a !important;
  font-weight: 600;
}
#twikoo .el-input__count,
#twikoo .el-textarea .el-input__count {
  background: transparent;
  color: rgba(90, 110, 130, 0.5);
  font-size: 12px;
}

/* ---------- 3. 通用小按钮过渡 ---------- */
#twikoo .tk-sort-item,
#twikoo .tk-action-link,
#twikoo .tk-expand,
#twikoo .tk-preview {
  transition: color 0.25s ease, background-color 0.25s ease,
              border-color 0.25s ease, transform 0.28s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1)),
              box-shadow 0.28s ease;
}
#twikoo .tk-sort-item:hover,
#twikoo .tk-action-link:hover { color: var(--kg-primary, #49b1f5); }
#twikoo .tk-expand:hover,
#twikoo .tk-preview:hover { transform: translateY(-1px); }
/* 排序 tab 胶囊化 */
#twikoo .tk-sort-item {
  padding: 3px 9px !important;
  border-radius: 999px !important;
}
#twikoo .tk-sort-item:hover {
  background: rgba(73, 177, 245, 0.09);
}

/* 点击涟漪（JS 注入 .kg-tk-ink） */
.kg-tk-ink {
  position: absolute;
  z-index: 2;
  width: 12px;
  height: 12px;
  left: var(--kg-tk-x, 50%);
  top: var(--kg-tk-y, 50%);
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(73, 177, 245, 0.42) 58%, transparent 74%);
  transform: scale(0);
  animation: kgTkInk 0.6s var(--kg-ease-out, cubic-bezier(.22,.9,.3,1)) forwards;
}
@keyframes kgTkInk {
  0%   { transform: scale(0);  opacity: 0.9; }
  70%  { transform: scale(8);  opacity: 0.32; }
  100% { transform: scale(10); opacity: 0; }
}

/* ---------- 4. 成功态：玻璃绿 + 逐笔绘制对勾（复用右下角 7.4 的语言） ---------- */
.kg-tk-ok-layer {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(72% 62% at 24% 4%, rgba(255, 255, 255, 0.58), transparent 74%),
    linear-gradient(155deg, rgba(88, 226, 174, 0.97), rgba(22, 170, 124, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 0 0 1px rgba(255, 255, 255, 0.56),
    inset 0 -1px 0 rgba(0, 86, 58, 0.22),
    0 6px 18px rgba(34, 182, 132, 0.32);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.24s ease, transform 0.42s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1));
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .kg-tk-ok-layer { backdrop-filter: blur(6px) saturate(1.35); -webkit-backdrop-filter: blur(6px) saturate(1.35); }
}
.kg-tk-ok > .kg-tk-ok-layer { opacity: 1; transform: scale(1); }
.kg-tk-ok-layer svg {
  /* 主题里有更高特异性的 button>svg 规则会把对勾拉成整颗按钮宽，
     这里锁死尺寸，保证对勾始终是一枚居中的小勾 */
  width: 21px !important;
  height: 21px !important;
  flex: none;
  overflow: visible;
}
.kg-tk-ok-layer path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 72, 48, 0.34));
  /* 用 transition 而非 animation：终态由 .kg-tk-ok 选择器持续保持，
     不会出现 animation 结束后 dashoffset 回退到 1、对勾整个消失的情况 */
  transition: stroke-dashoffset 0.46s var(--kg-ease-out, cubic-bezier(.22,.9,.3,1)) 0.12s;
}
.kg-tk-ok > .kg-tk-ok-layer path { stroke-dashoffset: 0; }
.kg-tk-ok > .kg-tk-ok-layer svg  { animation: kgTkCheckPop 0.48s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1)) 0.42s both; }
@keyframes kgTkCheckPop { 0% { transform: scale(1); } 45% { transform: scale(1.16); } 100% { transform: scale(1); } }

[data-theme="dark"] .kg-tk-ok-layer {
  background:
    radial-gradient(72% 62% at 24% 4%, rgba(255, 255, 255, 0.20), transparent 74%),
    linear-gradient(155deg, rgba(52, 190, 142, 0.96), rgba(16, 128, 94, 0.95));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 0 0 1px rgba(190, 255, 225, 0.28),
    inset 0 -1px 0 rgba(0, 60, 40, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.36);
}

/* 小图标按钮里的对勾按比例缩小，避免撑破 */
#twikoo .tk-action-link .kg-tk-ok-layer svg { width: 13px !important; height: 13px !important; }

/* ---------- 5. 失败态：玻璃红 + 叉（空提交 / 未验证 / 后端拒绝） ---------- */
.kg-tk-x-layer {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(72% 62% at 24% 4%, rgba(255, 255, 255, 0.20), transparent 74%),
    linear-gradient(155deg, rgba(230, 62, 54, 0.99), rgba(161, 22, 22, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 0 0 1px rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(110, 12, 12, 0.28),
    0 6px 18px rgba(214, 62, 62, 0.34);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.2s ease, transform 0.34s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1));
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .kg-tk-x-layer { backdrop-filter: blur(6px) saturate(1.2); -webkit-backdrop-filter: blur(6px) saturate(1.2); }
}
.kg-tk-fail > .kg-tk-x-layer { opacity: 1; transform: scale(1); }
.kg-tk-x-layer svg {
  width: 18px !important;
  height: 18px !important;
  flex: none;
  overflow: visible;
}
.kg-tk-x-layer path {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  filter: drop-shadow(0 1px 2px rgba(90, 0, 0, 0.34));
  transition: stroke-dashoffset 0.26s var(--kg-ease-out, cubic-bezier(.22,.9,.3,1));
}
.kg-tk-fail > .kg-tk-x-layer path { stroke-dashoffset: 0; }
.kg-tk-x-layer path:nth-child(2) { transition-delay: 0.1s; }

/* 发送按钮自身的红底 + 摇头 */
#twikoo .tk-send.kg-tk-fail {
  background: linear-gradient(135deg, #e6493f, #b62020 60%, #9c1818) !important;
  box-shadow: 0 5px 16px rgba(214, 62, 62, 0.38),
              inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
  animation: kgTkFailShake 0.4s cubic-bezier(.36, .07, .19, .97) 1;
}
@keyframes kgTkFailShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-4px); }
  45%      { transform: translateX(3px); }
  70%      { transform: translateX(-2px); }
}

/* 字段级错误提示（昵称/邮箱/内容不合格时给对应输入框上红边） */
#twikoo .kg-tk-bad,
#twikoo .kg-tk-bad .el-input__inner,
#twikoo .el-textarea__inner.kg-tk-bad {
  border-color: rgba(224, 69, 63, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(224, 69, 63, 0.12) !important;
  animation: kgTkFieldShake 0.32s ease-in-out 2;
}
@keyframes kgTkFieldShake {
  0%, 100% { transform: translateX(0); }
  30%      { transform: translateX(-3px); }
  65%      { transform: translateX(3px); }
}

/* ---------- 6. 按钮状态 ----------
   v3.9 起人机验证改由 Twikoo 原生 Turnstile 隐式完成，v3.7 的显式
   #kc-captcha-btn 一整套样式已随按钮一起移除。
   v3.11 起 WAIT 点阵跑马灯整套删除，等待态只剩按钮自身的橙色脉冲。 */

/* ---------- 7. 发送按钮四态：蓝 → 橙 → 绿勾 → 红叉（+ 整行横幅） ---------- */
/* idle 沿用 kang-glass.css ② 的蓝色渐变胶囊，这里只补一层内高光 */
#twikoo .tk-send {
  box-shadow: 0 4px 14px rgba(73, 177, 245, 0.35),
              inset 0 1px 0 rgba(255, 255, 255, 0.34) !important;
}

/* waiting：玻璃橙（与主题同为高饱和亮色，不做荧光橙） */
#twikoo .tk-send.kg-tk-wait {
  background: linear-gradient(135deg, #ff9f43, #ff7a2f 55%, #f4661d) !important;
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(255, 122, 47, 0.42),
              inset 0 1px 0 rgba(255, 255, 255, 0.48) !important;
  animation: kgTkWaitPulse 1.5s ease-in-out infinite;
}
@keyframes kgTkWaitPulse {
  0%, 100% { filter: saturate(1) brightness(1); }
  50%      { filter: saturate(1.08) brightness(1.06); }
}
/* 等待时给按钮内文字一点呼吸，不改动 Vue 的 DOM 文本 */
#twikoo .tk-send.kg-tk-wait > span { opacity: 0.86; }

/* ok：绿勾层盖住文字，原蓝/橙底不必再切换 */
#twikoo .tk-send.kg-tk-ok { background: linear-gradient(135deg, #19ac67, #0f8d55) !important; }

/* disabled 时不参与等待动画（失败态除外） */
#twikoo .tk-send.is-disabled,
#twikoo .tk-send:disabled { animation: none; }
/* Twikoo 提交期间会把发送按钮置为 disabled，Element 的半透明会洗掉橙色 */
#twikoo .tk-send.is-disabled.kg-tk-wait,
#twikoo .tk-send:disabled.kg-tk-wait { opacity: 1 !important; color: #fff !important; }
/* 空内容时按钮是 disabled，Element 会压透明度，这里保住红叉的可见度 */
#twikoo .tk-send.kg-tk-fail { opacity: 1 !important; }
#twikoo .tk-send.is-disabled.kg-tk-fail,
#twikoo .tk-send:disabled.kg-tk-fail { animation: kgTkFailShake 0.4s cubic-bezier(.36, .07, .19, .97) 1; }

/* ---------- 8. 失败 / 成功整行横幅（v3.13） ----------
   WAIT 点阵跑马灯已按需求整体删除：不再有 canvas / 灯带 / rAF。
   横幅挂在 body 下、fixed 定位，不占文档流：占位展开会把发送按钮往下推，
   mousedown 与 mouseup 落点不同 → 浏览器不派发 click，点击会直接丢失。
   右缘钉在 .tk-row.actions 右缘，宽度从「发送按钮宽度」展开到「整行宽度」，
   于是把表情 / 图片 / Markdown / 预览 / 发送整行图标一并盖住。
   v3.13：横幅里只有左侧一个图标（失败叉 / 成功勾）+ 文案，
   右侧关闭 × 整个删除，不能点、不能按 Esc 取消，5 秒后自动缩回。
   横幅是贴着提交行定位的，页面滚动时 placeBanner() 会实时跟随。
   z-index 9000：压得住 .OwO-body(1000)，又不会盖住 Turnstile 挑战浮层(10001)。 */
.kg-tk-banner {
  position: fixed;
  z-index: 9000;
  left: auto;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  /* v3.13：底色由 .is-fail / .is-ok 决定，这里只留玻璃质感与布局。
     cursor 默认 + 无关闭控件：横幅点不动、不能取消，只由 5 秒倒计时收起。 */
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
  backdrop-filter: blur(16px) saturate(1.35);
  cursor: default;
  opacity: 1;
  -webkit-tap-highlight-color: transparent;
  transition: width 0.4s var(--kg-ease-out, cubic-bezier(.22,.9,.3,1)),
              opacity 0.26s ease;
}
.kg-tk-banner.is-closing { opacity: 0; }

.kg-tk-banner-icon {
  flex: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}
.kg-tk-banner-icon svg {
  width: 12px !important;
  height: 12px !important;
  flex: none;
  overflow: visible;
}
.kg-tk-banner-icon path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.28s var(--kg-ease-out, cubic-bezier(.22,.9,.3,1)) 0.1s;
}
.kg-tk-banner.is-open .kg-tk-banner-icon path { stroke-dashoffset: 0; }

.kg-tk-banner-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(90, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.22s ease 0.16s, transform 0.22s ease 0.16s;
}
.kg-tk-banner.is-open .kg-tk-banner-text { opacity: 1; transform: none; }

/* 5 秒自动收起倒计时：底边一条细线匀速走完即缩回发送按钮（成功态同样适用） */
.kg-tk-banner-timer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.42));
  transform-origin: left center;
  -webkit-animation: kgTkBannerCountdown 5s linear forwards;
  animation: kgTkBannerCountdown 5s linear forwards;
  pointer-events: none;
}
@keyframes kgTkBannerCountdown {
  from { transform: scaleX(1); }
  to   { transform: scaleX(0); }
}

/* 横幅展开期间把表情面板收起来，免得它从行上方露出来盖住提示 */
body.kg-tk-banner-active #twikoo .OwO-body { display: none !important; }



/* ---------- 9. 楼层细节（只动评论区内部） ---------- */
#twikoo .tk-nick {
  font-weight: 600;
  letter-spacing: 0.01em;
}
#twikoo .tk-nick:hover { color: #2f8fd0 !important; }
#twikoo .tk-time {
  color: rgba(90, 110, 130, 0.5);
  font-size: 0.8em;
}
#twikoo .tk-action-icon,
#twikoo .tk-reply {
  transition: color 0.2s ease, transform 0.22s var(--kg-ease-spring, cubic-bezier(.2,1.3,.4,1));
  border-radius: 8px;
}
#twikoo .tk-action-icon:hover,
#twikoo .tk-reply:hover { transform: translateY(-1px); }
#twikoo .tk-content blockquote {
  margin: 0.4rem 0;
  padding: 0.45rem 0.7rem;
  border-left: 3px solid rgba(73, 177, 245, 0.45);
  border-radius: 0 8px 8px 0;
  background: rgba(73, 177, 245, 0.05);
  color: #57708a;
}
#twikoo .tk-content pre {
  border-radius: 10px;
  background: #f6f9fc;
  border: 1px solid rgba(120, 160, 200, 0.16);
}

/* ---------- 10. 暗色 / 移动端 / 无障碍 ---------- */
[data-theme="dark"] #twikoo .tk-row.actions .tk-submit-action-icon:not(.OwO):not(.__markdown) {
  border-color: rgba(56, 214, 182, 0.34);
  background: linear-gradient(160deg, rgba(56, 214, 182, 0.24), rgba(16, 170, 140, 0.12));
  color: #62e6c6;
}
[data-theme="dark"] #twikoo .OwO-logo {
  border-color: rgba(255, 200, 120, 0.34);
  background: linear-gradient(160deg, rgba(255, 200, 120, 0.26), rgba(255, 164, 44, 0.12));
  color: #ffd08a;
}
[data-theme="dark"] #twikoo .OwO-body {
  background: #263241 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}
[data-theme="dark"] #twikoo .OwO-body .OwO-bar {
  background: #1e2937;
  border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] #twikoo button::before,
[data-theme="dark"] #twikoo .OwO-logo::before,
[data-theme="dark"] #twikoo .tk-submit-action-icon::before {
  background: linear-gradient(112deg, transparent 32%, rgba(190, 225, 255, 0.24) 49%, transparent 66%);
  background-size: 240% 100%;
}

@media screen and (max-width: 768px) {
  .kg-tk-banner { gap: 7px; padding: 0 6px 0 9px; }
  .kg-tk-banner-text { font-size: 12px; }
  #twikoo .tk-row.actions .tk-submit-action-icon:not(.OwO):not(.__markdown),
  #twikoo .OwO-logo { width: 32px; height: 32px; }
  /* 窄屏上 markdown 说明书链接挤在中间像一块白斑，收起来 */
  #twikoo .tk-row.actions > .tk-submit-action-icon.__markdown { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #twikoo .tk-send.kg-tk-wait { animation: none; }
  #twikoo .tk-send.kg-tk-fail,
  #twikoo .tk-send.is-disabled.kg-tk-fail,
  #twikoo .tk-send:disabled.kg-tk-fail { animation: none; }
  #twikoo .kg-tk-bad,
  #twikoo .kg-tk-bad .el-input__inner,
  #twikoo .el-textarea__inner.kg-tk-bad { animation: none; }
  .kg-tk-ink { display: none; }
  .kg-tk-ok-layer path { transition: none; }
  .kg-tk-x-layer path { transition: none; }
  #twikoo button::before,
  #twikoo .OwO-logo::before,
  #twikoo .tk-submit-action-icon::before { transition: none; }
  .kg-tk-banner,
  .kg-tk-banner-text,
  .kg-tk-banner-icon path { transition: none !important; }
  .kg-tk-banner-timer { display: none; }
}


/* ---------- 10. Cloudflare Turnstile 隐式 widget（v3.9） ---------- */
/* 宿主必须有非零尺寸，否则 invisible widget 不启动挑战（实测 0×0 容器 15s 无回调）。
   invisible 模式自身不渲染可见 UI，所以常态压到不影响页面的角落。 */
#kc-ts-host {
  position: fixed;
  left: 0;
  top: 0;
  width: 320px;
  height: 68px;
  z-index: -1;
  opacity: 0.01;
  pointer-events: none;
  overflow: visible;
}
/* 挑战超过 1.2s 仍未结束（慢网络 / 需要交互）才浮出，避免静默通过时闪一下白框 */
body.kg-tk-verify-active #kc-ts-host {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: calc(100vw - 32px);
  height: auto;
  min-height: 68px;
  padding: 10px;
  z-index: 10001;
  opacity: 1;
  pointer-events: auto;
  background: #fff;
  border: 1px solid rgba(73, 177, 245, 0.3);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(30, 60, 90, 0.26);
}
[data-theme="dark"] body.kg-tk-verify-active #kc-ts-host {
  background: #242a33;
  border-color: rgba(120, 180, 230, 0.32);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}
/* Twikoo 自带的 0×0 验证容器不再作为 render 宿主，收起来免得占位/闪烁 */
#twikoo .tk-turnstile-container {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ==========================================================================
   v3.12 · 评论区拟态玻璃皮肤升级（2026-11-12）
   --------------------------------------------------------------------------
   站点本身已是玻璃拟态（首页标题胶囊、侧栏目录 / 最新文章卡），
   评论区却还是 v3.8 的纯白板，视觉上明显脱节。这一节把评论区统一到
   同一套语言：半透明底 + 双色光晕 + 高光内边 + 背景模糊 + 分层玻璃片。

   作用范围只有 .kang-comment-card / #twikoo 内部，页面其它区域一律不动。
   本文件在 kang-glass.css 之后加载：
     · 对带 !important 的旧白卡规则，用 #twikoo 前缀抬高特异性再覆盖
     · 对工具图标这类彩色规则，用完全相同选择器靠「后者胜」覆盖，
       这样原来的 :hover 彩色反馈仍然生效，图标颜色也不会丢
     · 状态色 #twikoo .tk-send.kg-tk-wait / .kg-tk-ok / .kg-tk-fail
       特异性更高，橙 / 绿 / 红三态不会被这里的 idle 蓝色盖掉
   ========================================================================== */

/* ---------- 1. 主卡：透出页面背景的毛玻璃 ----------
   不加 overflow:hidden —— .OwO-body 表情面板要能溢出卡片显示 */
.kang-comment-card {
  position: relative;
  border-radius: 22px !important;
  background:
    radial-gradient(72% 46% at 4% 0%, rgba(126, 186, 255, 0.30), transparent 70%),
    radial-gradient(56% 42% at 100% 3%, rgba(184, 158, 255, 0.24), transparent 72%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(241, 248, 255, 0.54) 52%, rgba(229, 240, 255, 0.66)) !important;
  border: 1px solid rgba(255, 255, 255, 0.80) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.55);
  backdrop-filter: blur(22px) saturate(1.55);
  box-shadow:
    0 20px 48px rgba(64, 104, 164, 0.16),
    0 3px 10px rgba(64, 104, 164, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28) !important;
}
#twikoo .tk-comments-title {
  color: #27405c !important;
  letter-spacing: 0.02em;
}
#twikoo .tk-comments-count { color: #4c6785 !important; }

/* ---------- 2. 输入区：内凹玻璃槽 ---------- */
#twikoo .el-textarea__inner,
#twikoo .tk-meta-input .el-input__inner {
  background: rgba(255, 255, 255, 0.56) !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  border-radius: 14px !important;
  color: #2c3e50 !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  box-shadow:
    inset 0 1px 3px rgba(70, 110, 160, 0.09),
    inset 0 0 0 1px rgba(120, 160, 210, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.75) !important;
}
#twikoo .el-textarea__inner:focus,
#twikoo .tk-meta-input .el-input__inner:focus {
  border-color: rgba(73, 177, 245, 0.58) !important;
  box-shadow:
    0 0 0 3px rgba(73, 177, 245, 0.16),
    inset 0 1px 3px rgba(70, 110, 160, 0.07) !important;
}
#twikoo .tk-meta-input .el-input-group__prepend {
  background: rgba(255, 255, 255, 0.46) !important;
  border-color: rgba(120, 170, 220, 0.30) !important;
  color: #5a7e9a !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- 3. 楼层：分层玻璃片 ---------- */
#twikoo .tk-comment {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.70), rgba(244, 250, 255, 0.44)) !important;
  border: 1px solid rgba(255, 255, 255, 0.84) !important;
  border-radius: 16px !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  box-shadow:
    0 8px 22px rgba(72, 112, 168, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.90) !important;
}
#twikoo .tk-comment:hover {
  border-color: rgba(73, 177, 245, 0.42) !important;
  box-shadow:
    0 12px 30px rgba(72, 112, 168, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-2px);
}
#twikoo .tk-replies .tk-comment {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.42), rgba(232, 242, 255, 0.30)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}
#twikoo .tk-avatar-img {
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 3px 10px rgba(64, 104, 164, 0.18);
}

/* ---------- 4. 按钮：玻璃胶囊（状态色不受影响） ---------- */
#twikoo .tk-send {
  background: linear-gradient(135deg, rgba(73, 177, 245, 0.92), rgba(111, 184, 255, 0.86)) !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  box-shadow:
    0 6px 18px rgba(73, 177, 245, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
}
#twikoo .tk-send:hover {
  box-shadow:
    0 10px 24px rgba(73, 177, 245, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
}
#twikoo .tk-preview {
  background: rgba(255, 255, 255, 0.54) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 3px 10px rgba(80, 120, 170, 0.08) !important;
}
#twikoo .tk-sort-item {
  background: rgba(255, 255, 255, 0.46);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
#twikoo .tk-sort-item:hover { background: rgba(73, 177, 245, 0.16); }
#twikoo .tk-expand {
  background: rgba(255, 255, 255, 0.40) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- 5. 工具图标：玻璃小胶囊，保留原来的彩色符号 ----------
   用与上文完全相同的选择器，靠后加载覆盖底色；
   :hover 的彩色高亮规则特异性更高，仍然照常生效。 */
#twikoo .tk-row.actions .tk-submit-action-icon:not(.OwO):not(.__markdown) {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92),
              0 3px 10px rgba(80, 120, 170, 0.10);
  -webkit-backdrop-filter: blur(9px) saturate(1.25);
  backdrop-filter: blur(9px) saturate(1.25);
}
#twikoo .OwO-logo {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.80), rgba(255, 255, 255, 0.34));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92),
              0 3px 10px rgba(80, 120, 170, 0.10);
  -webkit-backdrop-filter: blur(9px) saturate(1.25);
  backdrop-filter: blur(9px) saturate(1.25);
}
#twikoo .tk-row.actions > .tk-submit-action-icon.__markdown {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

/* ---------- 6. 浮层：表情面板 / 预览面板 ---------- */
#twikoo .OwO-body {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  backdrop-filter: blur(18px) saturate(1.35);
  box-shadow:
    0 18px 40px rgba(60, 100, 150, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
}
#twikoo .OwO-body .OwO-bar { background: rgba(246, 251, 255, 0.72); }
#twikoo .tk-preview-panel {
  background: rgba(255, 255, 255, 0.80) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

/* ---------- 7. 暗色：换成深色玻璃 ---------- */
[data-theme="dark"] .kang-comment-card {
  background:
    radial-gradient(72% 46% at 4% 0%, rgba(86, 140, 220, 0.20), transparent 70%),
    radial-gradient(56% 42% at 100% 3%, rgba(150, 116, 230, 0.18), transparent 72%),
    linear-gradient(155deg, rgba(38, 48, 64, 0.78), rgba(29, 39, 54, 0.62) 52%, rgba(34, 45, 62, 0.70)) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.10) !important;
}
[data-theme="dark"] #twikoo .tk-comments-title,
[data-theme="dark"] #twikoo .tk-comments-count { color: var(--kg-text) !important; }
[data-theme="dark"] #twikoo .el-textarea__inner,
[data-theme="dark"] #twikoo .tk-meta-input .el-input__inner {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  color: var(--kg-text) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.24) !important;
}
[data-theme="dark"] #twikoo .tk-comment {
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
[data-theme="dark"] #twikoo .tk-replies .tk-comment {
  background: rgba(255, 255, 255, 0.03) !important;
}
/* 昵称/邮箱/网址前缀标签：浅色是半透明白，暗色必须压回深色半透，
   否则会变成一块突兀的浅灰白实块（实测暗色下最扎眼的一处） */
[data-theme="dark"] #twikoo .tk-meta-input .el-input-group__prepend {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--kg-text-sub) !important;
}
[data-theme="dark"] #twikoo .tk-preview,
[data-theme="dark"] #twikoo .tk-sort-item,
[data-theme="dark"] #twikoo .tk-expand {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--kg-text) !important;
}
[data-theme="dark"] #twikoo .tk-row.actions .tk-submit-action-icon:not(.OwO):not(.__markdown),
[data-theme="dark"] #twikoo .OwO-logo,
[data-theme="dark"] #twikoo .tk-row.actions > .tk-submit-action-icon.__markdown {
  background: rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
[data-theme="dark"] #twikoo .OwO-body,
[data-theme="dark"] #twikoo .tk-preview-panel {
  background: rgba(38, 50, 65, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}
[data-theme="dark"] #twikoo .OwO-body .OwO-bar {
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- 8. 移动端：模糊降档 + 尊重动效偏好 ---------- */
@media screen and (max-width: 768px) {
  .kang-comment-card {
    -webkit-backdrop-filter: blur(12px) saturate(1.3);
    backdrop-filter: blur(12px) saturate(1.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  #twikoo .tk-comment:hover { transform: none; }
}


/* ============================================================
   v3.13 —— 单图标横幅配色 / 头像统一 / 三栏统一胶囊
   追加在文件末尾：本文件晚于 kang-glass.css 加载，这里用 #twikoo 冠以
   更高特异性，覆盖 v3.12 与更早的同名规则，改动集中在评论区内部。
   ============================================================ */

/* ---------- A. 失败红 / 成功绿 ---------- */
.kg-tk-banner.is-fail {
  background:
    radial-gradient(80% 130% at 12% 0%, rgba(255, 255, 255, 0.32), transparent 72%),
    linear-gradient(120deg, rgba(232, 74, 64, 0.90), rgba(186, 38, 31, 0.88) 58%, rgba(150, 24, 24, 0.90));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 0 -1px 0 rgba(90, 0, 0, 0.18),
    0 10px 26px rgba(170, 40, 34, 0.28);
}
.kg-tk-banner.is-ok {
  background:
    radial-gradient(80% 130% at 12% 0%, rgba(255, 255, 255, 0.34), transparent 72%),
    linear-gradient(120deg, rgba(38, 190, 126, 0.92), rgba(20, 152, 100, 0.90) 58%, rgba(12, 118, 78, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(0, 70, 42, 0.20),
    0 10px 26px rgba(20, 150, 100, 0.30);
}
.kg-tk-banner.is-ok .kg-tk-banner-text { text-shadow: 0 1px 2px rgba(0, 64, 40, 0.28); }
/* 成功只有一个勾，描边绘制得比叉稍慢一点，视觉上像「写上去」 */
.kg-tk-banner.is-ok .kg-tk-banner-icon path { transition-duration: 0.42s; }

[data-theme="dark"] .kg-tk-banner { border-color: rgba(255, 255, 255, 0.26); }
[data-theme="dark"] .kg-tk-banner.is-fail {
  background:
    radial-gradient(80% 130% at 12% 0%, rgba(255, 255, 255, 0.18), transparent 72%),
    linear-gradient(120deg, rgba(176, 52, 46, 0.90), rgba(140, 32, 28, 0.88) 58%, rgba(108, 20, 20, 0.90));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 24px rgba(0, 0, 0, 0.42);
}
[data-theme="dark"] .kg-tk-banner.is-ok {
  background:
    radial-gradient(80% 130% at 12% 0%, rgba(255, 255, 255, 0.20), transparent 72%),
    linear-gradient(120deg, rgba(28, 154, 104, 0.92), rgba(18, 118, 80, 0.90) 58%, rgba(10, 88, 60, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 24px rgba(0, 0, 0, 0.42);
}

/* ---------- B. 头像一律灰色人物默认头像 ----------
   JS 已把所有 img.tk-avatar-img 的 src 换成内置灰人像；这里统一默认态
   svg 的 currentColor，并兜住异步加载瞬间可能出现的彩色图。 */
#twikoo .tk-avatar-img {
  color: #9aa5b1 !important;
  filter: grayscale(1) saturate(0) !important;
}
#twikoo .tk-avatar { background-color: transparent !important; }

/* ---------- C. 昵称 / 邮箱 / 网址：三栏统一成一条玻璃胶囊 ----------
   原来每个 .el-input-group 里是「独立白底圆角标签块 + 另一块圆角输入框」，
   两套边框 / 两套圆角拼在一起，中间一道割裂的缝 —— 这就是视觉冲突。
   现在把边框、底色、圆角全部收到外层 .el-input-group，前缀只留一条
   内部分隔线，输入区完全透明，三栏看起来各是一整条干净玻璃。 */
#twikoo .tk-meta-input .el-input-group {
  display: flex !important;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.56) !important;
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  box-shadow:
    inset 0 1px 3px rgba(70, 110, 160, 0.09),
    inset 0 0 0 1px rgba(120, 160, 210, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.75) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
#twikoo .tk-meta-input .el-input-group:focus-within {
  border-color: rgba(73, 177, 245, 0.58) !important;
  box-shadow: 0 0 0 3px rgba(73, 177, 245, 0.16),
              inset 0 1px 3px rgba(70, 110, 160, 0.07) !important;
}
#twikoo .tk-meta-input .el-input-group__prepend {
  flex: none;
  display: flex !important;
  align-items: center;
  padding: 0 12px !important;
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(120, 170, 220, 0.28) !important;
  border-radius: 0 !important;
  color: #5a7e9a !important;
  font-weight: 600;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  white-space: nowrap;
}
#twikoo .tk-meta-input .el-input__inner {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
#twikoo .tk-meta-input .el-input__inner:focus { box-shadow: none !important; }
/* 校验红框现在打在外层胶囊上（markField 会同时给 group 加 kg-tk-bad） */
#twikoo .tk-meta-input .el-input-group.kg-tk-bad {
  border-color: rgba(224, 69, 63, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(224, 69, 63, 0.12) !important;
  animation: kgTkFieldShake 0.32s ease-in-out 2;
}
[data-theme="dark"] #twikoo .tk-meta-input .el-input-group {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.13) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.24) !important;
}
[data-theme="dark"] #twikoo .tk-meta-input .el-input-group__prepend {
  border-right-color: rgba(255, 255, 255, 0.14) !important;
  color: var(--kg-text-sub) !important;
}
[data-theme="dark"] #twikoo .tk-meta-input .el-input-group:focus-within {
  border-color: rgba(73, 177, 245, 0.52) !important;
  box-shadow: 0 0 0 3px rgba(73, 177, 245, 0.18),
              inset 0 1px 3px rgba(0, 0, 0, 0.20) !important;
}
@media screen and (max-width: 768px) {
  #twikoo .tk-meta-input .el-input-group__prepend { padding: 0 10px !important; }
}

/* ---------- D. 三栏不溢出（v3.13 修正） ----------
   flex 子项默认 min-width:auto，会被 input 的 size=20 撑到 343px/栏，
   三栏合计 1045px 直接顶破 681px 的提交行（实测）。显式放行收缩，
   让三栏等分父容器；移动端竖排时恢复固定高度、宽度铺满。 */
#twikoo .tk-meta-input {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  box-sizing: border-box;
}
#twikoo .tk-meta-input > .el-input-group {
  min-width: 0 !important;
  flex: 1 1 0 !important;
}
@media screen and (max-width: 768px) {
  #twikoo .tk-meta-input > .el-input-group {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}

/* 真正的撑破点在 Twikoo 的结构层：.tk-row > .tk-col 是 flex 子项，
   min-width:auto 让它按内部 input 的 min-content 撑到 1045px。
   只放行这一层收缩，三栏就能回到提交行 681px 内等分。 */
#twikoo .tk-submit .tk-row > .tk-col { min-width: 0 !important; }
