.flipbook-wrapper {  display: flex;  flex-direction: column;  align-items: center;  background: #f5f0eb;  min-height: 100vh;  padding: 0;}.flipbook-toolbar {  display: flex;  align-items: center;  justify-content: center;  gap: 8px;  padding: 12px 20px;  background: #fff;  border-bottom: 1px solid #e0d6cc;  width: 100%;  box-sizing: border-box;  flex-wrap: wrap;  position: sticky;  top: 0;  z-index: 100;  box-shadow: 0 2px 8px rgba(0,0,0,0.06);}.flipbook-toolbar .back-link {  position: absolute;  left: 20px;  color: #6b5b4f;  text-decoration: none;  font-size: 14px;  display: flex;  align-items: center;  gap: 4px;}.flipbook-toolbar .back-link:hover { color: #3d3228; }.flipbook-toolbar .toolbar-group {  display: flex;  align-items: center;  gap: 4px;  padding: 0 8px;  border-right: 1px solid #e0d6cc;}.flipbook-toolbar .toolbar-group:last-child { border-right: none; }.flipbook-toolbar button {  background: none;  border: none;  padding: 4px 8px;  cursor: pointer;  font-size: 16px;  line-height: 1;  color: #6b5b4f;  border-radius: 3px;  transition: background .15s;  display: inline-flex;  align-items: center;  justify-content: center;  gap: 4px;}.flipbook-toolbar button:hover { background: #ede8e2; }.flipbook-toolbar .btn-mode {  font-size: 18px;  padding: 4px 8px;  line-height: 1;}.flipbook-toolbar .btn-mode.mode-active {  background: #6b5b4f;  color: #fff;  border-radius: 3px;}.flipbook-toolbar .page-input {  width: 48px;  text-align: center;  font: inherit;  padding: 3px 4px;  border: 1px solid #d0c8be;  border-radius: 3px;  background: #faf8f6;  color: #3d3228;}.flipbook-toolbar .page-slider { width: 120px; vertical-align: middle; }.flipbook-toolbar .zoom-level {  font-size: 13px;  color: #6b5b4f;  min-width: 40px;  text-align: center;}.flipbook-viewport {  flex: 1;  display: flex;  align-items: center;  justify-content: center;  width: 100%;  overflow: auto;  position: relative;  padding: 20px 40px;  box-sizing: border-box;}.flipbook-viewport.mode-scroll {  display: block;  overflow-y: auto;  padding: 0;}.flipbook {  display: flex;  align-items: center;  justify-content: center;  width: 100%;  max-width: 1000px;  gap: 0;  position: relative;  transform-style: preserve-3d;  margin: 0 auto;}.flipbook .page {  display: flex;  flex: 1;  align-items: center;  justify-content: center;  position: relative;  overflow: hidden;  background: #fff;  box-shadow: 0 1px 6px rgba(0,0,0,0.1);}.flipbook .page-left {  border-right: 1px solid #e8e3de;  border-radius: 3px 0 0 3px;}.flipbook .page-right {  border-left: 1px solid #e8e3de;  border-radius: 0 3px 3px 0;}.flipbook .page img {  display: block;  max-width: 100%;  max-height: 80vh;  width: auto;  height: auto;  object-fit: contain;}.flipbook .page .page-loader {  position: absolute;  inset: 0;  display: flex;  align-items: center;  justify-content: center;  background: #fff;  color: #999;  font-size: 14px;}.flipbook .page-right::after {  content: '';  position: absolute;  inset: 0;  pointer-events: none;  opacity: 0;  transition: opacity .2s;  background: linear-gradient(135deg, transparent 70%, rgba(0,0,0,0.08) 85%, rgba(0,0,0,0.15) 100%);}.flipbook .page-right:hover::after {  opacity: 1;}.flipbook .page-left::after {  content: '';  position: absolute;  inset: 0;  pointer-events: none;  opacity: 0;  transition: opacity .2s;  background: linear-gradient(225deg, transparent 70%, rgba(0,0,0,0.08) 85%, rgba(0,0,0,0.15) 100%);}.flipbook .page-left:hover::after {  opacity: 1;}.turn-page {  position: absolute;  top: 0;  left: 0;  width: 100%;  height: 100%;  transform-style: preserve-3d;  transform-origin: left center;  z-index: 10;  pointer-events: none;  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);}.turn-page .turn-front,.turn-page .turn-back {  position: absolute;  top: 0;  width: 100%;  height: 100%;  backface-visibility: hidden;  overflow: hidden;  display: flex;  align-items: center;  justify-content: center;  background: #fff;}.turn-page .turn-front { z-index: 2; }.turn-page .turn-back {  transform: rotateY(180deg);  z-index: 1;}.turn-page .turn-front img,.turn-page .turn-back img {  display: block;  max-width: 100%;  max-height: 100%;}.turn-shadow {  position: absolute;  top: 0;  width: 100%;  height: 100%;  pointer-events: none;}.turn-fold-shadow {  position: absolute;  top: 0;  width: 100%;  height: 100%;  pointer-events: none;}.turn-page .turn-front .turn-shadow {  left: 0;  background: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.06) 20%, transparent 45%);}.turn-page .turn-back .turn-shadow {  right: 0;  background: linear-gradient(to left, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.05) 25%, transparent 50%);}.turn-page .turn-front .turn-fold-shadow {  background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%);}.thumbnail-strip {  display: flex;  gap: 6px;  overflow-x: auto;  padding: 8px 12px;  background: #ede8e2;  border-top: 1px solid #e0d6cc;  max-height: 100px;}.thumbnail-strip .thumbnail {  width: 50px;  height: 68px;  flex-shrink: 0;  border: 2px solid transparent;  border-radius: 2px;  overflow: hidden;  cursor: pointer;  transition: border-color .15s;}.thumbnail-strip .thumbnail:hover,.thumbnail-strip .thumbnail.active { border-color: #6b5b4f; }.thumbnail-strip .thumbnail img {  width: 100%;  height: 100%;  object-fit: cover;  display: block;}.scroll-container {  width: 100%;  max-width: 800px;  margin: 0 auto;  padding: 10px 0;}.scroll-page {  width: 100%;  min-height: 80vh;  margin-bottom: 12px;  box-shadow: 0 2px 10px rgba(0,0,0,0.1);  border-radius: 3px;  overflow: hidden;  background: #fff;}.scroll-page img {  display: block;  width: 100%;  height: auto;}.flipbook-viewport:fullscreen,.flipbook-viewport:-webkit-full-screen {  width: 100vw;  height: 100vh;  padding: 10px 20px;  background: #f5f0eb;}@media (max-width: 600px) {  .flipbook-viewport { padding: 10px; }  .flipbook .page img { max-height: 60vh; }  .flipbook-toolbar { padding: 8px 12px; gap: 4px; }  .flipbook-toolbar .back-link { position: static; margin-bottom: 4px; width: 100%; justify-content: center; }  .flipbook-toolbar .page-slider { width: 80px; }  .thumbnail-strip .thumbnail { width: 40px; height: 54px; }}