/* 📸 长截图模式（2026-09-27；JS 在 js/longshot.js）
   整页换成「消息 = 整个网页在滚」，三星 / Chrome 的长截图才能一段段往下拼。全挂在 html.longshot 下，平时的排版不受影响。 */
html.longshot, html.longshot body { height: auto; overflow: visible; }
html.longshot body { background: var(--bg-secondary); }           /* 渐变拉到整页那么长会一段段变色，拼图接缝看得出，改纯色 */
html.longshot #app { display: block; height: auto !important; }    /* core.js 键盘补丁写过行内 height */
html.longshot .app-layout,
html.longshot .main-content { display: block; overflow: visible; }
html.longshot .messages { overflow: visible; height: auto; scroll-behavior: auto; padding-bottom: 16px !important; } /* pinch.css 给小狗留的 72px 这里用不着 */
html.longshot .sidebar,
html.longshot .header,
html.longshot .input-area,
html.longshot .settings,
html.longshot .nb-overlay,
html.longshot .deer-think-overlay { display: none !important; }

/* 最上 / 最下的退出条：在正常文档流里（不是 fixed），只会被截进第一段 / 最后一段 */
.longshot-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: fit-content; max-width: calc(100% - 24px); margin: 14px auto;
  padding: 5px 5px 5px 16px; border-radius: 22px;
  border: 1.5px dashed rgba(180,160,130,0.45); background: rgba(255,252,248,0.92);
  font: 13px var(--font); color: var(--text-secondary);
}
.longshot-bar button {
  flex-shrink: 0; min-height: 36px; padding: 0 16px;
  border: none; border-radius: 18px; cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff;
  font: 500 13px var(--font); box-shadow: var(--shadow-soft);
}
.settings-toast.longshot-toast { letter-spacing: 0.3px; width: max-content; max-width: calc(100vw - 32px); }
