/* 公共样式 */
body {
  margin: 0;
  background-color: #D82C2C; /* 宫墙红 */
  font-family: 'Font1', sans-serif;
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  position: relative;
  width: 100vw;
  aspect-ratio: 9 / 16; /* 9:16 竖屏比例 */
  max-height: 100vh;
  background-color: #D82C2C;
  overflow: hidden;
  box-sizing: border-box;
}

.frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 10px solid #FFD700; /* 金边 */
    box-sizing: border-box;
}

.page-stack {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}
/* 图片完整显示：适用于封面、蒙版等 */
.page img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav {
    position: absolute;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}
.nav-top { top: 10%; }
.nav-bottom { bottom: 10%; }

/* 图片蒙版模块 */
.mask-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.mask-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mask-container .photo {
    mix-blend-mode: multiply; /* 蒙版效果 */
}
/* 蒙版容器特殊处理 */
.mask-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mask-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* 静音图标 */
.mute-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #FFD700;
    cursor: pointer;
    animation: spin 2s linear infinite;
    display: none; /* 默认隐藏 */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}