/* cookie指挥部 · 会话删除工具样式（外挂，随 thread-tools.js 配套；
   原站 CSP 禁止内联样式，故独立成文件，与 mobile-patch.css 同路线） */
.thread-item { -webkit-touch-callout: none; position: relative; }
  .apc-tt-more { display: none; }
  @media (hover: hover) and (pointer: fine) {
    .apc-tt-more { display: flex; align-items: center; justify-content: center;
      position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
      width: 30px; height: 30px; border-radius: 8px; color: #77809a; cursor: pointer;
      opacity: 0; transition: opacity .12s, background .12s, color .12s; z-index: 3;
      font-size: 17px; font-weight: 700; letter-spacing: 1px; line-height: 1;
      background: rgba(255,255,255,.85); }
    .thread-item:hover .apc-tt-more, .thread-item:focus-within .apc-tt-more { opacity: 1; }
    .apc-tt-more:hover { background: #eef1f8; color: #232838; }
    .thread-item:hover time { opacity: 0; }
  }
  .apc-tt-menu { position: fixed; z-index: 99990; background: #fff; border: 1px solid #e2e6ef;
    border-radius: 12px; box-shadow: 0 12px 32px rgba(23,32,66,.16), 0 2px 6px rgba(23,32,66,.08);
    padding: 6px; min-width: 192px; max-width: calc(100vw - 24px);
    animation: apcTtIn .12s ease-out; font-family: inherit; }
  .apc-tt-menu.sheet { left: 12px !important; right: 12px; top: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom)); min-width: 0; }
  .apc-tt-menu-title { padding: 6px 10px 5px; font-size: 12px; line-height: 1.3; color: #77809a;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
  .apc-tt-menu.sheet .apc-tt-menu-title { max-width: none; }
  .apc-tt-item { display: flex; align-items: center; gap: 9px; width: 100%; min-height: 44px;
    padding: 8px 10px; border: 0; background: none; border-radius: 8px; font: inherit;
    font-size: 14px; font-weight: 600; color: #dc2626; cursor: pointer; text-align: left;
    transition: background .12s, transform .08s; }
  .apc-tt-item:hover { background: #fef2f2; }
  .apc-tt-item:active { background: #fee2e2; transform: scale(.98); }
  .apc-tt-item svg { flex: none; }
  .apc-tt-overlay { position: fixed; inset: 0; z-index: 99995; background: rgba(15,18,30,.44);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    animation: apcTtFade .14s ease-out; }
  .apc-tt-dialog { background: #fff; border-radius: 16px; width: min(92vw, 380px); padding: 20px;
    box-shadow: 0 24px 64px rgba(15,18,30,.28); animation: apcTtPop .15s ease-out; font-family: inherit; }
  .apc-tt-dialog h2 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #131722; letter-spacing: -.2px; }
  .apc-tt-dialog p { margin: 0; font-size: 14px; line-height: 1.6; color: #5b6474; }
  .apc-tt-dialog p strong { color: #232838; }
  .apc-tt-actions { display: flex; gap: 10px; margin-top: 18px; }
  .apc-tt-btn { flex: 1; height: 44px; border: 0; border-radius: 10px; font: inherit;
    font-size: 15px; font-weight: 600; cursor: pointer; transition: transform .08s, opacity .12s, background .12s; }
  .apc-tt-btn:active { transform: scale(.98); }
  .apc-tt-btn.cancel { background: #eef1f8; color: #232838; }
  .apc-tt-btn.cancel:hover { background: #e2e6f2; }
  .apc-tt-btn.danger { background: #dc2626; color: #fff; }
  .apc-tt-btn.danger:hover { background: #b91c1c; }
  .apc-tt-btn:disabled { opacity: .55; cursor: default; }
  .apc-tt-toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom));
    transform: translateX(-50%); z-index: 99999; background: #232838; color: #fff; font-size: 14px;
    padding: 10px 18px; border-radius: 999px; box-shadow: 0 10px 28px rgba(15,18,30,.3);
    animation: apcTtUp .18s ease-out; font-family: inherit; white-space: nowrap;
    max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; }
  @keyframes apcTtIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
  @keyframes apcTtFade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes apcTtPop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
  @keyframes apcTtUp { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
