/* 只读 PDF 阅读器样式 */
.pdf-ro {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0;
}
.pdf-ro-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: #f3f4f6;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
  user-select: none;
}
.pdf-ro-zoom button {
  margin-left: 6px;
  padding: 2px 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
}
.pdf-ro-zoom button:hover { background: #e5e7eb; }
.pdf-ro-pages {
  height: 82vh;
  overflow-y: auto;
  padding: 16px;
  background: #525659;
  user-select: none;
  -webkit-user-select: none;
}
.pdf-ro-page {
  position: relative;
  margin: 0 auto 16px;
  max-width: 900px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.pdf-ro-page canvas {
  display: block;
  width: 100%;
  height: auto;
  -webkit-touch-callout: none;   /* 移动端长按不弹「存储图像」 */
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;          /* 图片本体不可选中 / 不可拖拽，滚动交给容器 */
}
/* 平铺水印：截图外传时可追溯来源 */
.pdf-ro-wm {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: space-around;
  justify-content: space-around;
  overflow: hidden;
  pointer-events: none;
}
.pdf-ro-wm span {
  flex: 0 0 33%;
  text-align: center;
  transform: rotate(-28deg);
  color: rgba(90, 100, 115, 0.14);
  font-size: 14px;
  line-height: 1.6;
  white-space: nowrap;
  user-select: none;
}
