* {
  box-sizing: border-box;
}

:root {
  --radius: 12px;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
}

/* 页面整体 */
body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* 外层容器 */
.viewer-shell {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  padding-top: 10px;   /* ← 调这里即可 */
}

/* 书本区域 */
.book-stage {
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
}

/* 整本书缩小 */
#book {
  transform: scale(0.9);
  transform-origin: top center;
}

/* 页面 */
.page {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

/* 图片 */
.page img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

/* 封面 */
.page-cover {
  border-radius: 12px;
}

/* 去掉按钮 */
.book-controls,
.hint {
  display: none;
}
