body {
  margin: 0;
  padding: 0;
}
.con {
  width: 100%;
}
.magazine-viewport .container {
  position: relative;
 top: 0;
  
  width: 1400px;
  height: 100%;

 position: relative ; /* 强制相对定位，作为画册定位基准 */
    width: 100vw ; /* 适配所有分辨率宽度 */
  /* 适配所有分辨率高度（移动端可调整） */
    margin: 0 auto ; /* 视口自身水平居中 */
    overflow: hidden ;
    padding: 0 ;
    border: 0 ;
}
.magazine-viewport .magazine {
  max-width: 1400px;
  width: 90%;
  height: 781px;
 
  
   
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0; 
}
.magazine-viewport .page {
  width: 700px;
  height: 781px;
  background-color: white;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.magazine-viewport .zoomer .region {
  display: none;
}
.magazine .region {
  position: absolute;
  overflow: hidden;
  background: #0066ff;
  opacity: 0.2;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
  cursor: pointer;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  filter: alpha(opacity=20);
}
.magazine .region:hover {
  opacity: 0.5;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
}
.magazine .region.zoom {
  opacity: 0.01;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
  filter: alpha(opacity=1);
}
.magazine .region.zoom:hover {
  opacity: 0.2;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  filter: alpha(opacity=20);
}
.magazine .page {
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.magazine-viewport .page img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0;
}
.magazine .even .gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, left top, right top, color-stop(0.95, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.2)));
  background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
  background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
  background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
  background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
  background-image: linear-gradient(left, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.2) 100%);
}
.magazine .odd .gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: -webkit-gradient(linear, right top, left top, color-stop(0.95, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.15)));
  background-image: -webkit-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
  background-image: -moz-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
  background-image: -ms-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
  background-image: -o-linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
  background-image: linear-gradient(right, rgba(0, 0, 0, 0) 95%, rgba(0, 0, 0, 0.15) 100%);
}
.magazine-viewport .zoom-in .even .gradient,
.magazine-viewport .zoom-in .odd .gradient {
  display: none;
}
.magazine-viewport .loader {
  background-image: url(../pics/loader.gif);
  width: 22px;
  height: 22px;
  position: absolute;
  top: 280px;
  left: 219px;
}
.magazine-viewport .shadow {
  -webkit-transition: -webkit-box-shadow 0.5s;
  -moz-transition: -moz-box-shadow 0.5s;
  -o-transition: -webkit-box-shadow 0.5s;
  -ms-transition: -ms-box-shadow 0.5s;
  -webkit-box-shadow: 0 0 20px #ccc;
  -moz-box-shadow: 0 0 20px #ccc;
  -o-box-shadow: 0 0 20px #ccc;
  -ms-box-shadow: 0 0 20px #ccc;
  box-shadow: 0 0 20px #ccc;
}
.next-button {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 8;
  transform: translateY(-50%);
}
.previous-button {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  z-index: 8;
    transform: translateY(-50%);
}
.previous-button img {
  transform: rotate(180deg);
}
.magazine-viewport .previous-button-hover {
  background-position: 0 -50px;
  cursor: pointer;
}
.magazine-viewport .next-button-hover {
  background-position: -50px -50px;
  cursor: pointer;
}
.magazine-viewport .zoom-in .next-button,
.magazine-viewport .zoom-in .previous-button {
  display: none;
}
.animated {
  -webkit-transition: margin-left 0.5s;
  -moz-transition: margin-left 0.5s;
  -ms-transition: margin-left 0.5s;
  -o-transition: margin-left 0.5s;
  transition: margin-left 0.5s;
}
.exit-message {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 100;
}
.exit-message > div {
  width: 140px;
  height: 30px;
  margin: auto;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  font: 12px arial;
  line-height: 30px;
  color: white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;
}
.zoom-icon {
  position: absolute;
  z-index: 100;
  width: 22px;
  height: 22px;
  top: 10px;
  right: 10px;
  background-image: url(../pics/zoom-icons.png);
  background-size: 88px 22px;
}
.zoom-icon-in {
    display: none;
  background-position: 0 0;
  cursor: pointer;
}
.zoom-icon-in.zoom-icon-in-hover {
  background-position: -22px 0;
  cursor: pointer;
}
.zoom-icon-out {
  background-position: -44px 0;
}
.zoom-icon-out.zoom-icon-out-hover {
  background-position: -66px 0;
  cursor: pointer;
}
.bottom {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.page-number-list {
  justify-content: center;
}
.page-number-list li {
  color: #666;
  width: 36px;
  height: 36px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 4px;
  transition: all 0.2s linear;
}
.page-number-list li:hover {
  color: var(--textColor);
}
.page-number-list li.active {
  background: var(--textColor);
  color: #fff;
}
.cpsc {
  display: none;
}
#convas {
  z-index: 1;
}
.selBox {
  z-index: 9;
}
.selBox .selInput {
  padding: 0 20px;
  height: 48px;
  width: 140px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  cursor: pointer;
  transition: all 0.2s linear;
}
.selBox svg {
  width: 12px;
  transform: rotate(90deg);
}

#fixedInfo {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 9999;
  padding: 20px;
}
#fixedInfo .fixedInfopage {
  color: #fff;
  margin-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#fixedInfo .fixedInfopage .close {
  width: 20px;
  cursor: pointer;
}
#fixedInfo .fixedInfopage .close svg {
  width: 100%;
}
#fixedInfo .imageBox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  max-height: 80vh;
  overflow-y: auto;
}
#fixedInfo .imageBox::-webkit-scrollbar {
  width: 4px;
  background: #fcfcfc;
  border-radius: 10px;
}
#fixedInfo .imageBox::-webkit-scrollbar-thumb {
  width: 100%;
  background: var(--textColor);
  border-radius: 10px;
  cursor: pointer;
}
#fixedInfo .imageBox div {
  cursor: pointer;
  flex: 0 0 calc((100% - 65px)/14);
  margin: 0 5px;
}
#fixedInfo .imageBox div.active,
#fixedInfo .imageBox div:hover {
  background: #fff;
}
#fixedInfo .imageBox div.active p,
#fixedInfo .imageBox div:hover p {
  color: #333;
}
#fixedInfo .imageBox img {
  width: 100%;
  padding: 10px;
}
#fixedInfo .imageBox p {
  text-align: center;
  color: #fff;
}
@media only screen and (max-width: 1440px) {
  .selBox .selInput {
    width: 140px;
    height: 40px;
  }
  #fixedInfo .fixedInfopage .close {
    width: 14px;
    cursor: pointer;
  }
  #fixedInfo .imageBox div {
    flex: 0 0 calc((100% - 100px) / 10);
  }
}

@media only screen and (max-width: 1100px) {
    .magazine-viewport .container{
        width: 50vw;
    }
    .magazine-viewport .magazine{
        max-width: 500px;
    }
    
}
@media only screen and (max-width: 768px) {
  .selBox .selInput {
    width: 140px;
    height: 40px;
  }
     .magazine-viewport .container{
        width: 100vw;
    }
    .magazine-viewport .magazine{
        max-width: 1400px;
    }
    
 
    .magazine-viewport .magazine {
        top: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
}
  #fixedInfo .fixedInfopage .close {
    width: 14px;
    cursor: pointer;
  }
  #fixedInfo .imageBox div {
    flex: 0 0 calc((100% - 30px) / 3);
  }
}
