/* ==========================================================================
   工具页操作栏（A 方案：轻胶囊）
   --------------------------------------------------------------------------
   - 5 个入口：二维码 / 打赏 / 复制链接 / 建议 / 收藏
   - 宽屏图标+文字；≤980 只留图标；≤560 把“复制链接”收进二维码弹窗
   - 全部选择器带 zx- 前缀；颜色先写死再 var() 兜底；不用 gap/grid/backdrop-filter
   - 暗色：body.dark 下补一份
   ========================================================================== */

/* 标题右侧的一句话提示与操作栏共存：
   - 桌面有足够空间时按文字自然宽度完整显示，不设 420px 上限、不省略号截断；
   - 空间不足（含窄屏）时由 tool-actions.js 给 .is-tip-hidden 整条隐藏，操作栏优先；
   - 多条提示轮播，每条都单独做一次“能完整放下才显示”的判断。
   提示不参与 flex 拉伸，右侧空白交给 .zx-actions 的 margin-left:auto。 */
.panel-head-row.has-tool-actions .tab-desc-rotate {
  width: auto;
  max-width: none;
  flex: 0 1 auto;
  min-width: 0;
  margin-bottom: 0;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}

/* 只让当前一条参与布局：容器宽度就是当前提示的自然宽度，flex 空间不足时才收缩。 */
.panel-head-row.has-tool-actions .tab-desc-rotate .desc-item {
  position: static;
  right: auto;
  top: auto;
  width: auto;
  overflow: visible;
  text-overflow: clip;
  opacity: 1;
  display: none !important;
}

.panel-head-row.has-tool-actions .tab-desc-rotate .desc-item.desc-active {
  display: inline-block !important;
  vertical-align: top;
}

.panel-head-row.has-tool-actions .tab-desc-rotate.is-tip-hidden {
  display: none !important;
}

/* 提示右侧的小关闭按钮：点了就关闭所有工具的一句话提示。
   按钮本身算进提示的自然宽度（fitToolTip 会一起量），放不下时整条隐藏。 */
.panel-head-row.has-tool-actions .tab-desc-close {
  -webkit-flex: none;
  flex: none;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0 0 0 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a0aec0;
  color: var(--text-3, #a0aec0);
  cursor: pointer;
  line-height: 1;
  vertical-align: middle;
}
.panel-head-row.has-tool-actions .tab-desc-close:hover,
.panel-head-row.has-tool-actions .tab-desc-close:focus {
  background: #eef3fa;
  color: #52627a;
  color: var(--text-2, #52627a);
  outline: none;
}
body.dark .panel-head-row.has-tool-actions .tab-desc-close {
  color: #94a3b8;
}
body.dark .panel-head-row.has-tool-actions .tab-desc-close:hover,
body.dark .panel-head-row.has-tool-actions .tab-desc-close:focus {
  background: #334155;
  color: #e2e8f0;
}

/* 大屏：提示、标题/图标、操作栏同一行垂直居中；提示与二维码之间至少留两个字。
   has-tool-tip 由模板只在 oneLineTip 非空时输出，没有提示时操作栏仍靠右。 */
@media screen and (min-width: 1101px) {
  .panel-head-row.has-tool-actions.has-tool-tip .tab-desc-rotate { margin-right: 2em; }
}

@media screen and (max-width: 1100px) {
  .panel-head-row.has-tool-actions .tab-desc-rotate { display: none !important; }
  .panel-head-row.has-tool-actions .zx-actions { margin-left: auto; }
}

.zx-actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin-left: auto;
  padding: 3px;
  border: 1px solid #e4ebf5;
  border: 1px solid var(--border, #e4ebf5);
  border-radius: 10px;
  background: rgba(255, 255, 255, .78);
  background: var(--card, rgba(255, 255, 255, .78));
  box-shadow: 0 4px 14px rgba(31, 77, 145, .05);
  -webkit-flex: none;
  flex: none;
}

body.dark .zx-actions {
  border-color: #334155;
  background: rgba(30, 41, 59, .82);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
}

.zx-act-btn {
  position: relative;
  height: 31px;
  padding: 0 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #52627a;
  color: var(--text-2, #52627a);
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  vertical-align: middle;
  -webkit-transition: background .18s ease, color .18s ease;
  transition: background .18s ease, color .18s ease;
}

.zx-act-btn svg { width: 17px; height: 17px; -webkit-flex: none; flex: none; }
.zx-act-label { margin-left: 6px; }

.zx-act-btn:hover {
  background: #eef5ff;
  background: var(--blue-soft, #eef5ff);
  color: #1677ff;
  color: var(--blue, #1677ff);
}

.zx-act-btn:focus {
  outline: 2px solid rgba(22, 119, 255, .35);
  outline-offset: 1px;
}

.zx-act-sep {
  width: 1px;
  height: 15px;
  margin: 0 2px;
  background: #e8edf5;
  background: var(--border, #e8edf5);
}

.zx-act-fav { color: #1677ff; color: var(--blue, #1677ff); }
.zx-act-fav.is-fav { color: #d97706; background: #fff7e6; background: var(--amber-soft, #fff7e6); }
.zx-act-fav.is-fav svg { fill: currentColor; }

/* 有新回复时，「建议」文字和图标变主题蓝（数字角标仍为红色提醒）。 */
.zx-act-btn.is-new .zx-act-label,
.zx-act-btn.is-new svg { color: #1677ff; color: var(--blue, #1677ff); }
.zx-act-btn.is-new .zx-act-label { font-weight: 700; }

/* 打赏未配置时由 JS 隐藏 */
.zx-act-btn[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   弹窗
   -------------------------------------------------------------------------- */

.zx-act-mask {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 12000;
  padding: 20px;
  background: rgba(15, 25, 40, .46);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.zx-act-mask[hidden] { display: none !important; }
body.dark .zx-act-mask { background: rgba(2, 7, 16, .7); }

.zx-act-modal {
  position: relative;
  width: 420px;
  max-width: 100%;
  max-height: 92vh;
  overflow: auto;
  border: 1px solid #e5ebf3;
  border: 1px solid var(--border, #e5ebf3);
  border-radius: 14px;
  background: #ffffff;
  background: var(--card, #fff);
  box-shadow: 0 30px 80px rgba(10, 30, 58, .28);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.zx-act-modal.zx-act-qr { width: 360px; }
.zx-act-modal.zx-act-reward { width: 392px; }
.zx-act-modal.zx-act-feedback { width: 500px; }

.zx-act-head { padding: 17px 20px 0; }
.zx-act-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #17233b;
  color: var(--text, #17233b);
}
.zx-act-head p {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #8492a6;
  color: var(--text-3, #8492a6);
}

.zx-act-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f6fb;
  color: #7b8aa0;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.zx-act-x:hover { background: #e9eff8; color: #334155; }
body.dark .zx-act-x { background: #263449; color: #a9b8cc; }
body.dark .zx-act-x:hover { background: #334155; color: #e2e8f0; }

.zx-act-body { padding: 14px 20px 20px; }
.zx-act-note {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.6;
  color: #98a5b8;
  color: var(--text-3, #98a5b8);
  text-align: center;
}

.zx-act-qr-center { text-align: center; }
.zx-act-qr-box {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid #eef2f8;
  border: 1px solid var(--border, #eef2f8);
  border-radius: 9px;
  background: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.zx-act-qr-box svg { width: 100%; height: 100%; display: block; }

.zx-act-url {
  margin: 10px 0 8px;
  padding: 7px 8px;
  border: 1px solid #eef2f8;
  border: 1px solid var(--border, #eef2f8);
  border-radius: 6px;
  background: #f8fbff;
  background: var(--bg-soft, #f8fbff);
  color: #7b8aa0;
  color: var(--text-3, #7b8aa0);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  line-height: 1.5;
  word-break: break-all;
  text-align: left;
}

.zx-act-primary {
  width: 100%;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: #1677ff;
  background: var(--blue, #1677ff);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}
.zx-act-primary:hover { background: #0b5cd6; background: var(--blue-deep, #0b5cd6); }

/* 打赏 */
.zx-act-tabs {
  padding: 3px;
  margin-bottom: 14px;
  border: 1px solid #e6ebf3;
  border: 1px solid var(--border, #e6ebf3);
  border-radius: 9px;
  background: #f4f8fd;
  background: var(--bg-soft, #f4f8fd);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.zx-act-tab {
  -webkit-flex: 1 1 0;
  flex: 1 1 0;
  height: 31px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #52627a;
  color: var(--text-2, #52627a);
  font-size: 12px;
  cursor: pointer;
}
.zx-act-tab.on {
  background: #ffffff;
  background: var(--card, #fff);
  color: #17233b;
  color: var(--text, #17233b);
  font-weight: 600;
  box-shadow: 0 2px 7px rgba(31, 77, 145, .10);
}

.zx-act-pay-card {
  padding: 14px;
  border: 1px solid #e6ebf3;
  border: 1px solid var(--border, #e6ebf3);
  border-radius: 11px;
  background: #fbfdff;
  background: var(--bg-soft, #fbfdff);
  text-align: center;
}
.zx-act-pay-head {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #17233b;
  color: var(--text, #17233b);
}
.zx-act-pay-dot { width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #07c160; }
.zx-act-pay-card.alipay .zx-act-pay-dot { background: #1677ff; }
.zx-act-pay-card .zx-act-qr-box { width: 176px; height: 176px; }
.zx-act-pay-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zx-act-pay-foot {
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 7px;
  background: #fffaf0;
  background: var(--amber-soft, #fffaf0);
  color: #9a6a19;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
body.dark .zx-act-pay-foot { color: #e7c27a; }
.zx-act-empty { padding: 24px 10px; text-align: center; color: #8492a6; font-size: 12px; }

/* 反馈 */
.zx-act-types { margin-bottom: 12px; }
.zx-act-type {
  height: 28px;
  padding: 0 10px;
  margin-right: 5px;
  border: 1px solid #e4ebf5;
  border: 1px solid var(--border, #e4ebf5);
  border-radius: 15px;
  background: #ffffff;
  background: var(--card, #fff);
  color: #52627a;
  color: var(--text-2, #52627a);
  font-size: 11px;
  cursor: pointer;
}
.zx-act-type.on {
  border-color: #bcd7ff;
  background: #eef5ff;
  background: var(--blue-soft, #eef5ff);
  color: #1677ff;
  color: var(--blue, #1677ff);
  font-weight: 600;
}

/* 定制专属工具：后台配置的微信二维码 / 微信号 / QQ / QQ客服链接 */
.zx-act-custom {
  margin: 0 0 11px;
  padding: 10px 12px;
  border: 1px solid #e4ebf5;
  border: 1px solid var(--border, #e4ebf5);
  border-radius: 9px;
  background: #f8fbff;
  background: var(--bg-soft, #f8fbff);
}
.zx-act-custom[hidden] { display: none !important; }
.zx-act-custom-empty {
  padding: 9px 11px;
  color: #8492a6;
  font-size: 11px;
  line-height: 1.6;
}
.zx-act-custom-title {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #17233b;
  color: var(--text, #17233b);
}
.zx-act-custom-qr { margin: 8px 0; text-align: center; }
.zx-act-custom-qr img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border: 1px solid #e4ebf5;
  border-radius: 7px;
  background: #fff;
}
.zx-act-custom-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 28px;
  font-size: 11.5px;
  line-height: 1.5;
}
.zx-act-custom-k {
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  width: 56px;
  color: #8492a6;
  color: var(--text-3, #8492a6);
}
.zx-act-custom-v {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  color: #17233b;
  color: var(--text, #17233b);
  word-break: break-all;
}
.zx-act-custom-copy {
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  height: 24px;
  margin-left: 8px;
  padding: 0 9px;
  border: 1px solid #bcd7ff;
  border-radius: 6px;
  background: #eef5ff;
  color: #1677ff;
  font-size: 10.5px;
  cursor: pointer;
}
.zx-act-custom-copy:hover { background: #e0edff; }
.zx-act-custom-link {
  color: #1677ff;
  color: var(--blue, #1677ff);
  font-size: 11.5px;
  text-decoration: none;
}
.zx-act-custom-link:hover { text-decoration: underline; }
.zx-act-custom-tip {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px dashed #e4ebf5;
  border-top: 1px dashed var(--border, #e4ebf5);
  color: #98a5b8;
  font-size: 10px;
  line-height: 1.55;
}
body.dark .zx-act-custom {
  border-color: #334155;
  background: rgba(30, 41, 59, .55);
}
body.dark .zx-act-custom-title,
body.dark .zx-act-custom-v { color: #e2e8f0; }
body.dark .zx-act-custom-k { color: #94a3b8; }
body.dark .zx-act-custom-copy {
  border-color: #2d4f7a;
  background: #1e3a5f;
  color: #7cb3ff;
}
body.dark .zx-act-custom-tip { border-top-color: #334155; color: #94a3b8; }

.zx-act-field-label {
  display: block;
  margin: 11px 0 6px;
  font-size: 11px;
  font-weight: 600;
  color: #52627a;
  color: var(--text-2, #52627a);
}
.zx-act-textarea,
.zx-act-input {
  display: block;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #e4ebf5;
  border: 1px solid var(--border, #e4ebf5);
  border-radius: 8px;
  background: #ffffff;
  background: var(--card, #fff);
  color: #17233b;
  color: var(--text, #17233b);
  font-family: inherit;
  font-size: 12px;
  outline: none;
}
.zx-act-textarea { height: 96px; padding: 9px 10px; line-height: 1.6; resize: vertical; }
.zx-act-input { height: 34px; padding: 0 10px; }
.zx-act-captcha-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.zx-act-captcha-row .zx-act-input { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.zx-act-captcha-img {
  height: 34px;
  width: 94px;
  margin-left: 8px;
  border: 1px solid #e4ebf5;
  border: 1px solid var(--border, #e4ebf5);
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  object-fit: contain;
}
.zx-act-captcha-tip { margin-top: 5px; font-size: 10px; color: #98a5b8; color: var(--text-3, #98a5b8); }
.zx-act-textarea:focus,
.zx-act-input:focus { border-color: #8bbcff; box-shadow: 0 0 0 3px rgba(22, 119, 255, .10); }
.zx-act-submit {
  width: 100%;
  height: 36px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  background: #1677ff;
  background: var(--blue, #1677ff);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.zx-act-submit:hover { background: #0b5cd6; background: var(--blue-deep, #0b5cd6); }
.zx-act-meta {
  margin-top: 9px;
  font-size: 10px;
  line-height: 1.5;
  color: #98a5b8;
  color: var(--text-3, #98a5b8);
}
.zx-act-ok { padding: 26px 10px 18px; text-align: center; }
.zx-act-ok-ico {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #ecfdf3;
  color: #16a34a;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.zx-act-ok-ico svg { width: 26px; height: 26px; }
.zx-act-ok b { display: block; font-size: 15px; color: #17233b; color: var(--text, #17233b); }
.zx-act-ok p { margin: 6px 0 0; font-size: 11px; color: #8492a6; color: var(--text-3, #8492a6); }
.zx-act-ok .zx-act-primary { margin-top: 16px; }

/* 建议按钮上的未读回复角标 */
.zx-act-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 9px;
  background: #f53f3f;
  color: #fff;
  font-size: 9px;
  line-height: 15px;
  font-weight: 700;
  text-align: center;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
body.dark .zx-act-badge { border-color: #1b2637; }

/* 「我的建议」：列表 + 管理员回复 */
.zx-act-fb-mine { margin: -2px 0 12px; text-align: right; }
.zx-act-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1677ff;
  color: var(--blue, #1677ff);
  font-size: 11px;
  cursor: pointer;
}
.zx-act-link:hover { text-decoration: underline; }
.zx-act-mine-list { max-height: 340px; overflow-y: auto; }
.zx-act-fb-item {
  padding: 11px 12px;
  margin-bottom: 9px;
  border: 1px solid #e8edf5;
  border: 1px solid var(--border, #e8edf5);
  border-radius: 9px;
  background: #fbfcff;
  background: var(--bg-soft, #fbfcff);
}
.zx-act-fb-item-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 11px;
  color: #8492a6;
  color: var(--text-3, #8492a6);
}
.zx-act-fb-type { margin-right: 7px; color: #17233b; color: var(--text, #17233b); font-weight: 600; }
.zx-act-fb-status {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 9px;
  background: #eef5ff;
  color: #1677ff;
  font-size: 10px;
}
.zx-act-fb-status.is-done { background: #ecfdf3; color: #16a34a; }
/* 只读展示用输入框：去掉边框/背景，看起来是普通文字；内核仍是 textarea，
   用户内容永不进 innerHTML，后台被入侵时也不会在页面执行 HTML。 */
.zx-act-plain {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.65;
  outline: none;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  cursor: text;
}
.zx-act-plain:focus { border: 0; box-shadow: none; }
.zx-act-fb-content {
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.65;
  color: #334155;
  color: var(--text-2, #334155);
}
.zx-act-fb-reply {
  margin-top: 9px;
  padding: 8px 10px;
  border-left: 3px solid #16a34a;
  border-radius: 0 6px 6px 0;
  background: #f0fdf4;
  color: #166534;
  font-size: 12px;
  line-height: 1.65;
}
.zx-act-fb-reply .zx-act-plain { margin-top: 1px; color: #166534; font-size: 12px; }
.zx-act-fb-reply-label { display: block; margin-bottom: 3px; font-weight: 700; }
.zx-act-fb-pending { margin-top: 8px; font-size: 10.5px; color: #98a5b8; }
.zx-act-mine-top { margin: -2px 0 10px; text-align: right; }
.zx-act-find {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e4ebf5;
  border-top: 1px dashed var(--border, #e4ebf5);
}
.zx-act-find-title { margin-bottom: 7px; font-size: 11px; font-weight: 600; color: #52627a; }
.zx-act-find-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.zx-act-find-row .zx-act-input {
  height: 32px;
  margin-right: 6px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}
.zx-act-find-row .zx-act-input:last-of-type { margin-right: 0; }
.zx-act-find-row .zx-act-find-btn {
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #bcd7ff;
  border-radius: 7px;
  background: #eef5ff;
  color: #1677ff;
  font-size: 11px;
  cursor: pointer;
}
.zx-act-find-row .zx-act-find-btn:hover { background: #e0edff; }

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media screen and (max-width: 980px) {
  .zx-act-btn { width: 31px; padding: 0; }
  .zx-act-label { display: none; }
  .zx-act-sep { margin: 0 2px; }
}

@media screen and (max-width: 760px) {
  .zx-actions { margin-left: auto; }
  .zx-act-modal,
  .zx-act-modal.zx-act-qr,
  .zx-act-modal.zx-act-reward,
  .zx-act-modal.zx-act-feedback {
    width: 100%;
    max-height: 90vh;
    border-radius: 16px 16px 0 0;
  }
  .zx-act-mask { padding: 0; -webkit-box-align: end; -webkit-align-items: flex-end; align-items: flex-end; }
  .zx-act-head { padding: 16px 16px 0; }
  .zx-act-body { padding: 12px 16px 18px; }
  .zx-act-qr-box { width: 186px; height: 186px; }
  .zx-act-pay-card .zx-act-qr-box { width: 166px; height: 166px; }
  .zx-act-textarea { height: 84px; }
}

@media screen and (max-width: 560px) {
  /* 复制链接收进二维码弹窗，保留二维码/打赏/反馈/收藏 4 个图标 */
  .zx-act-copy,
  .zx-act-copy-sep { display: none !important; }
  .zx-actions { padding: 2px; }
  .zx-act-btn { width: 30px; }
}

@media screen and (max-width: 400px) {
  .zx-actions { margin-left: 6px; }
  .zx-act-btn { width: 28px; }
  .zx-act-modal.zx-act-feedback { max-height: 94vh; }
}
