html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  height: -webkit-fill-available;
  overflow: hidden;
}

.wp {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  height: -webkit-fill-available;
}

.wp-inner {
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  height: -webkit-fill-available;
  position: relative;
}

.page {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  height: -webkit-fill-available;
}

.img-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
}

.img-wrap img {
  max-width: 100%;
}

.page {
  background-color: #e2ecf5;
}

/* 箭头 */
@-webkit-keyframes start {

  0%,
  30% {
    opacity: 0;
    -webkit-transform: translate(0, 10px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate(0, -5px);
  }
}

@keyframes start {

  0%,
  30% {
    opacity: 0;
    transform: translate(0, 10px);
  }

  60% {
    opacity: 1;
    transform: translate(0, 0);
  }

  100% {
    opacity: 0;
    transform: translate(0, -5px);
  }
}

.start {
  position: fixed;
  left: 34%;
  top: 95%;
  margin-top: -34px;
  width: 134px;
  height: 45px;
}

.toast {
  width: 100px;
  margin: 0 auto;
  height: 30px;
  animation: start 2s infinite ease-in-out;
  margin-bottom: 10px;
  color: rgb(255, 255, 255);
}

.start i {
  position: absolute;
  left: 50%;
  top: 15px;
  margin-left: -12px;
  width: 19px;
  height: 12px;
  background-size: 100% 100%;
  -webkit-animation: start 2s infinite ease-in-out;
  animation: start 2s infinite ease-in-out;
}



@font-face {
  font-family: 'iconfont';
  /* project id 934283 */
  src: url('https://at.alicdn.com/t/font_934283_rjwklbuzkg.eot');
  src: url('https://at.alicdn.com/t/font_934283_rjwklbuzkg.eot?#iefix') format('embedded-opentype'),
    url('https://at.alicdn.com/t/font_934283_rjwklbuzkg.woff') format('woff'),
    url('https://at.alicdn.com/t/font_934283_rjwklbuzkg.ttf') format('truetype'),
    url('https://at.alicdn.com/t/font_934283_rjwklbuzkg.svg#iconfont') format('svg');
}

@-webkit-keyframes rotate {
  from {
    -webkit-transform: rotate(0deg)
  }

  to {
    -webkit-transform: rotate(360deg)
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(359deg)
  }
}

.animation-100 {
  animation-duration: 0.1s;
}

.animation-200 {
  animation-duration: 0.2s;
}

.animation-300 {
  animation-duration: 0.3s;
}

.animation-400 {
  animation-duration: 0.4s;
}

.animation-500 {
  animation-duration: 0.5s;
}

.animation-600 {
  animation-duration: 0.6s;
}

.animation-700 {
  animation-duration: 0.7s;
}

.animation-800 {
  animation-duration: 0.8s;
}

.animation-900 {
  animation-duration: 0.9s;
}

.animation-1500 {
  animation-duration: 1.5s;
}

.animation-2000 {
  animation-duration: 2s;
}

.animation-3000 {
  animation-duration: 3s;
}

.animation-4000 {
  animation-duration: 4s;
}

.animation-5000 {
  animation-duration: 5s;
}

.animation-6000 {
  animation-duration: 6s;
}

.animation-7000 {
  animation-duration: 7s;
}

.animation-8000 {
  animation-duration: 8s;
}

.animation-9000 {
  animation-duration: 9s;
}

.animation-10000 {
  animation-duration: 10s;
}

.flashing {
  animation: fadeIn 0.7s ease 0s infinite alternate;
}

.pulseing {
  animation: pulse 0.7s ease 0s infinite alternate;
}

.bounceing {
  animation: bounce 1s ease 0s infinite alternate;
}

#play-btn {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 30;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #efefef;
  text-align: center;
  -webkit-transition-duration: 1s;
  -webkit-animation: rotate 3s linear infinite;
  animation: rotate 3s linear infinite;
  animation-play-state: paused;
  color: #efefef;
  box-shadow: 1px 1px 12px #bdbdbd;
  background-color: #c9c9c9;
  opacity: .8;
}

.anchorBL {
  display: none !important;
}

/*.playing {
  -webkit-transition-duration: 1s;
  -webkit-animation: rotate 3s linear infinite;
  animation: rotate 3s linear infinite;
}*/
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}

.hide {
  display: none;
}

/* 上滑继续浏览提示动画 */
.swipe-up-hint {
  position: absolute;
  top: 95%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  text-align: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.swipe-up-hint.show {
  opacity: 1;
  visibility: visible;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, 
             bounceUp 3s infinite cubic-bezier(0.4, 0, 0.6, 1) 0.8s;
}

.swipe-up-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.swipe-up-arrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 24px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.swipe-up-arrow i {
  display: inline-block;
}

/* 淡入向上动画 */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(-50%, -35%, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
  }
}

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(-50%, -35%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(-50%, -50%, 0);
  }
}

/* 整体上下跳动动画（应用到整个提示组件） */
@keyframes bounceUp {
  0%,
  100% {
    transform: translate3d(-50%, -50%, 0);
    opacity: 0.9;
  }
  50% {
    transform: translate3d(-50%, calc(-50% - 8px), 0);
    opacity: 1;
  }
}

@-webkit-keyframes bounceUp {
  0%,
  100% {
    -webkit-transform: translate3d(-50%, -50%, 0);
    opacity: 0.9;
  }
  50% {
    -webkit-transform: translate3d(-50%, calc(-50% - 8px), 0);
    opacity: 1;
  }
}

#map-msg {
  height: 188px;
  padding: 5px;
  text-align: left;
  line-height: 22px;
  font-size: 14px;
  padding-left: 3%;
  background-color: #f6f6f6;
}

#map {
  width: 100%;
  height: calc(100% - 188px);
}

#map-msg p {
  margin: 8px 0;
}

.red-icon {
  color: #e60000;
  margin-right: 5px;
  font-size: 18px;
}

#location-btn {
  position: absolute;
  bottom: 188px;
  right: 4px;
  color: #555;
  padding: 6px;
}

#share-btn {
  position: absolute;
  bottom: 250px;
  right: 4px;
  color: #555;
  padding: 6px;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s, opacity 0.2s;
}

#share-btn:active {
  transform: scale(0.95);
  opacity: 0.8;
}

/* 分享菜单遮罩层 */
.share-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

/* 分享菜单容器 */
.share-menu {
  background-color: white;
  border-radius: 12px;
  padding: 0;
  max-width: 80%;
  width: 300px;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

/* 分享菜单头部 */
.share-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.share-menu-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

.share-menu-close {
  font-size: 28px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.share-menu-close:hover {
  color: #333;
}

/* 分享菜单列表 */
.share-menu-list {
  padding: 10px 0;
}

.share-menu-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.share-menu-item:hover {
  background-color: #f5f5f5;
}

.share-menu-item:active {
  background-color: #e0e0e0;
}

.share-menu-icon {
  font-size: 24px;
  margin-right: 12px;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
}

.share-menu-name {
  font-size: 16px;
  color: #333;
  flex: 1;
}

/* 分享提示 */
.share-menu-tip {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background-color: #f9f9f9;
}

.share-menu-tip p {
  margin: 0;
  font-size: 12px;
  color: #999;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.full-bg,
.photo-box {
  background-size: cover;
  background-position: center;
}

/* Page5 照片框边框动画 */
.photo-box-with-border {
  position: relative;
  overflow: visible;
}

.photo-box-with-border::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.photo-box-with-border.animated::before {
  opacity: 1;
}

/* 确保边框动画类应用时边框可见 */
.photo-box-with-border.borderBounce::before,
.photo-box-with-border.borderPulse::before,
.photo-box-with-border.borderRotate::before,
.photo-box-with-border.borderGlow::before,
.photo-box-with-border.borderShake::before,
.photo-box-with-border.borderWave::before {
  opacity: 1;
}

/* 边框跳跃动画 */
.borderBounce::before {
  animation: borderBounce 1.5s ease-in-out infinite;
}

@keyframes borderBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
    border-color: rgba(255, 255, 255, 0.8);
  }
  25% {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.9);
  }
  50% {
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(255, 182, 193, 0.9);
  }
  75% {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(173, 216, 230, 0.9);
  }
}

/* 边框脉冲动画 */
.borderPulse::before {
  animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% {
    transform: scale(1);
    border-width: 4px;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.05);
    border-width: 6px;
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 0 0 20px 10px rgba(255, 215, 0, 0.6);
  }
}

/* 边框旋转动画（颜色渐变旋转效果） */
.borderRotate::before {
  animation: borderRotate 4s ease-in-out infinite;
  background: linear-gradient(45deg, 
    rgba(255, 255, 255, 0.8) 0%, 
    rgba(255, 215, 0, 0.9) 25%, 
    rgba(255, 182, 193, 0.9) 50%, 
    rgba(173, 216, 230, 0.9) 75%, 
    rgba(255, 255, 255, 0.8) 100%);
  background-size: 200% 200%;
  border-image: linear-gradient(45deg, 
    rgba(255, 255, 255, 0.8), 
    rgba(255, 215, 0, 0.9), 
    rgba(255, 182, 193, 0.9), 
    rgba(173, 216, 230, 0.9)) 1;
}

@keyframes borderRotate {
  0% {
    border-color: rgba(255, 255, 255, 0.8);
    background-position: 0% 50%;
    transform: scale(1);
  }
  25% {
    border-color: rgba(255, 215, 0, 0.9);
    background-position: 25% 50%;
    transform: scale(1.02);
  }
  50% {
    border-color: rgba(255, 182, 193, 0.9);
    background-position: 50% 50%;
    transform: scale(1.01);
  }
  75% {
    border-color: rgba(173, 216, 230, 0.9);
    background-position: 75% 50%;
    transform: scale(1.02);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.8);
    background-position: 100% 50%;
    transform: scale(1);
  }
}

/* 边框发光动画 */
.borderGlow::before {
  animation: borderGlow 2.5s ease-in-out infinite;
}

@keyframes borderGlow {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                0 0 20px rgba(255, 255, 255, 0.2),
                0 0 30px rgba(255, 255, 255, 0.1);
  }
  50% {
    border-color: rgba(255, 215, 0, 1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8),
                0 0 40px rgba(255, 215, 0, 0.6),
                0 0 60px rgba(255, 215, 0, 0.4);
  }
}

/* 边框抖动动画 */
.borderShake::before {
  animation: borderShake 1.2s ease-in-out infinite;
}

@keyframes borderShake {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
    border-color: rgba(255, 255, 255, 0.8);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px) translateY(-3px) rotate(-1deg);
    border-color: rgba(255, 182, 193, 0.9);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px) translateY(3px) rotate(1deg);
    border-color: rgba(173, 216, 230, 0.9);
  }
}

/* 边框波浪动画 */
.borderWave::before {
  animation: borderWave 2s ease-in-out infinite;
}

@keyframes borderWave {
  0%, 100% {
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
  }
  25% {
    transform: scale(1.02) translateY(-5px);
    border-color: rgba(255, 215, 0, 0.9);
    border-radius: 15px;
  }
  50% {
    transform: scale(1.05) translateY(-10px);
    border-color: rgba(255, 182, 193, 0.9);
    border-radius: 18px;
  }
  75% {
    transform: scale(1.02) translateY(-5px);
    border-color: rgba(173, 216, 230, 0.9);
    border-radius: 15px;
  }
}

.photo-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.ele-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  font-size: 23px;
}

.radius-box {
  width: 76%;
  border: 1px solid #3a3f58;
  height: 26px;
  border-radius: 13px;
  box-shadow: 0 0 2px #3a3f58;
  left: 12%;
  line-height: 26px;
  color: #3a3f58;
  font-size: 16px;
  font-weight: 600;
}

.circle-box {
  width: 40px;
  height: 40px;
  position: absolute;
  top: -22px;
  border-radius: 50%;
  border: 2px solid #3a3f58;
  left: 50%;
  margin-left: -20px;
  line-height: 44px;
  text-align: center;
  background-color: #ecf1f7;
}

.circle-box img {
  max-width: 70%;
  vertical-align: middle;
}

.page0 {
  background-color: #1e1f22;
  color: white;
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  height: -webkit-fill-available;
}

#type {
  margin: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  height: calc(calc(var(--vh, 1vh) * 100) - 40px);
  height: calc(-webkit-fill-available - 40px);
  box-sizing: border-box;
}

.page1,
.page2,
.page3,
.page4 {
  color: rgb(215, 0, 36);
}

.text-frame {
  z-index: 2;
  width: 84%;
  height: 84%;
  position: absolute;
  top: 8%;
  left: 8%;
  background-color: rgba(255, 255, 255, .4);
  border: 2px solid #fff;
  border-radius: 12px;
  overflow: hidden;
}

.page5 .text-frame {
  background-color: inherit;
  z-index: 20;
}

.radius {
  border-radius: 8px;
  overflow: hidden;
}