/* 三选一页面 */
#gall {
  width: 80vw;
  left: calc(50% - 40vw);
  height: 40vw;
}
#gall > div {
  position: absolute;
}
#gall > div > img {
  position: absolute;
}
#gall > div > .b {
  position: static;
  width: 100%;
}
#gall > div > .g {
  right: 0;
  bottom: 0;
  width: 14.4vw;
}
#gall > div > .t {
  left: -4vw;
  bottom: 0;
  height: 7.2vw;
  transition: left 0.5s, right 0.5s;
}
#gall > div:hover > .t {
  left: -6.4vw;
}

#gall > .a {
  left: 0;
  width: 22vw;
}
#gall > .a > .t {
  left: initial;
  right: 0;
}
#gall > .a:hover > .t {
  left: initial;
  right: -2.4vw;
}
#gall > .a > .g {
  bottom: 4.8vw;
  width: 12vw;
}

#gall > .b {
  left: 27vw;
  bottom: 0;
  width: 25vw;
}
#gall > .b > .g {
  animation: rotating 15s infinite linear;
}
#gall > .c {
  top: 2vw;
  left: 53.6vw;
  width: 27vw;
}

#gall > img {
  position: absolute;
  width: 9.6vw;
}






/* ====视频==== */
/* 部分样式与3.css共用 */
#gall-vid>left::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 6vw;
  height: 6vw;
  background-image: url(/res/gall/0/b.webp);
  background-size: contain;
  left: 50%;top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
#gall-vid>left {overflow: visible;}
#gall-vid>left > img {border-radius: 0 8vw 0 8vw;}
#gall-vid>left > div {
  position: absolute;
  height: 2vw;
  bottom: -3vw;
  width: 100%;
  display: flex;
  justify-content: center;
}
#gall-vid>left > div > img {
  height: 2vw;
  margin: 0 1vw;
  transition: filter 0.2s;
}
#gall-vid>left > div > img:hover {
  filter: opacity(0.5);
}
#gall-vid>left > div > span {
  line-height: 2vw;
  font-size: 1.2vw;
  width: 2vw;
  text-align: center;
  font-family: sans, sans-serif;
  text-shadow: 0 0 3px #fff;
}

#gall-vid>right > h2 {
  height: 5vw;
  line-height: 5vw;
  font-size: 3vw;
  background-image: url(/res/gall/0/c.png);
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  margin: 1vw 0 0 4vw;
}
#gall-vid>right > div {
  width: 45vw;
  height: 9vw;
  overflow: hidden;
  transform: translateX(-6vw);
  border-radius: 1vw;
}
#gall-vid list {
  display: flex;
  position: absolute;
  left: 0;
  transition: transform 0.5s;
}
#gall-vid list > div {
  width: 9vw;
  height: 9vw;
  padding: 0 2vw;
}
#gall-vid list > div > img {
  width: 9vw;
  height: 9vw;
  object-fit: cover;
  box-shadow: 0 0 5px #122;
  border: 0 solid #8b4513;
  filter: brightness(0.5);
  transition: filter 0.2s;
  box-sizing: border-box;
  border-radius: 1vw 0 1vw 0;
}
#gall-vid list > div.active > img, #gall-vid list > div:hover > img {
  filter: brightness(1);
}
#gall-vid list > div.active > img {
  border: 2px solid #8b4513;
}
#gall-vid list > div > p {
  margin: 0;
  font-size: 1vw;
  color: #ba9;
  transition: color 0.5s;
}
#gall-vid list > div.active > p {
  color: #edc;
}




/* ====音乐播放器==== */
#gall-music {
  height: 100%;
  width: 80vw;
}
#gall-music > img {
  position: absolute;
  left: 0.8vw;
  top: 6.4vw;
  height: 4vw;
}


#gall-music > container {
  height: 100%;
  overflow: visible auto;
  scrollbar-width: none;
  display: block;
}
#gall-music > container::-webkit-scrollbar{width: 0px;}
#gall-music-list {
  padding: 8vw 0 19.2vw 0;
  display: flex;
  flex-wrap: wrap;
}
#gall-music-list > div {
  width: 20vw;
  padding: 3vw;
  position: relative;
}

#gall-music-list > div > img.c {
  z-index: 1;
  position: relative;
  width: 20vw;
  height: 20vw;
  object-fit: contain;
  border-radius: 1vw;
}

#gall-music-list > div > img.t {
  z-index: 3;
  position: absolute;
  left: 0;top: 0;
  transform: translate3d(0,2.4vw,0);
  width: 27.2vw;
  height: 27.2vw;
  object-fit: contain;
  pointer-events: none;
  filter: opacity(0);
  transition: filter 0.5s, transform 0.5s;
}
#gall-music-list > div:hover > img.t {
  transform: none;
  filter: opacity(1);
}

#gall-music-list > div::after {
  content: "";
  z-index: 2;
  position: absolute;
  left: 3vw;top: 3vw;
  width: 20vw;
  height: 20vw;
  box-shadow: 0 0 10px #122 inset;
  overflow: hidden;
  transition: background-color 0.5s;
}
#gall-music-list > div:hover:after {
  background-color: #122a;
}

#gall-music-list > div::before {
  z-index: 0;
  content: "";
  position: absolute;
  width: 20vw;
  height: 20vw;
  left: 3vw;top: 3vw;
  background-image: url(/res/gall/v.png);
  background-size: contain;
  transition: transform 0.8s;
}
#gall-music-list > div:hover::before {
  transform: translate3d(4vw, 0, 0);
}

#gall-music-list > div > p {
  margin: 0;
  font-size: 1.92vw;
  padding-top: 0.4vw;
  transition: color 0.5s;
}
#gall-music-list > div:hover > p {
  color: #d74;
}
#gall-music-list > div > en {
  display: block;
  font-size: 0.96vw;
}

#gall-music-list > q {
  margin: 0;
  width: 100%;
  text-align: center;
  white-space: pre-wrap;
  font-size: 1.2vw;
}


#gall-music>play {
  z-index: 10;
  position: absolute;
  bottom: 0.4vw;
  left: 0;
  height: 8vw;
  background-color: #223;
  background-image: linear-gradient(135deg, #223, #112);
  box-shadow: 0 0 3px #000;
  animation: fade-in 0.5s;
  overflow: hidden;
  border-radius: 1vw;
  padding: 1.6vw;
  width: calc(100% - 3.2vw);
}

#gall-music>play>top {
  display: flex;
  height: 4vw;
}
#gall-music>play>top > .cover {
  width: 4vw;
  height: 4vw;
  border-radius: 1vw;
  box-shadow: 0 0 3px #000;
}
#gall-music>play>top > .decor {
  height: 6.4vw;
  position: absolute;
  right: -1.6vw;
  top: -1.6vw;
  filter: opacity(0.5);
}
#gall-music>play>top > container {
  position: absolute;
  left: 50%;
  top: 1.6vw;
  display: flex;
  height: 4vw;
  transform: translate3d(-50%,0,0);
}
#gall-music>play>top > container > img {
  height: 4vw;
  width: 4vw;
  object-fit: contain;
  margin: 0 1.2vw;
  transition: filter 0.2s;
}
#gall-music>play>top > container > img:hover {
  filter: opacity(0.5);
}
#gall-music>play>top > div {
  padding: 0 1.6vw;
}
#gall-music>play>top > div > p {
  margin: 0;
  font-size: 1.6vw;
  line-height: 2vw;
  font-weight: bold;
}
#gall-music>play>top > div > en {
  font-size: 1.2vw;
  line-height: 2vw;
}

#gall-music>play>bot {
  display: flex;
  padding-top: 1.6vw;
  height: 2.4vw;
}
#gall-music>play>bot > p {
  margin: 0;
  font-size: 1.44vw;
  font-family: sans, sans-serif;
  line-height: 2.4vw;
  width: 4vw;
  text-align: center;
  color: #ba9;
}
#gall-music>play>bot > div {
  height: 0.8vw;
  flex-grow: 1;
  background-color: #445;
  margin: 0.8vw;
  border-radius: 0.8vw;
  overflow: hidden;
}
#gall-music>play>bot > div > div {
  width: 0;
  height: 100%;
  background-color: #b55829;
  border-radius: 0.8vw;
  position: relative;
}






/* ====图片==== */
#gall-wall {
  height: 100%;
  overflow: hidden auto;
  scrollbar-width: none;
  font-family: sans, sans-serif;
}
#gall-wall::-webkit-scrollbar{width: 0px;}

#gall-wall > img {
  position: absolute;
  top: 5vw;
  height: 4vw;
}

#gall-wall > div {
  display: flex;
  padding: 10vw 0;
}
#gall-wall > div > div {
  width: 30vw;
  padding: 0.5vw;
}
#gall-wall > div > div > img {
  width: 100%;
  vertical-align: bottom;
  margin-bottom: 1vw;
  box-shadow: 0 1px 3px #445;
  border-radius: 0.5vw;
}




@media screen and (orientation: portrait) {
#gall {
  width: 90vw;
  left: 5vw;
  top: 10vh;
  height: 80vh;
}
#gall > div > .b {
  width: auto;
  height: 100%;
}
#gall > div > .g {
  width: 18vh;
}
#gall > div > .t {
  height: 8vh;
}

#gall > .a {
  left: 0;
  width: auto;
  height: 28vh;
}
#gall > .a > .g {
  bottom: 4vh;
  width: 15vh;
}

#gall > .b {
  left: auto;
  right: 0;
  bottom: 25vh;
  width: auto;
  height: 25vh;
}
#gall > .c {
  top: auto;
  bottom: 0;
  left: 0;
  width: auto;
  height: 22vh;
}

#gall > img {
  position: absolute;
  width: 9.6vw;
}





#gall-vid>left::after {
  width: 10vh;
  height: 10vh;
}
#gall-vid>left > img {
  border-radius: 0 10vh 0 10vh;
}
#gall-vid>left > div {
  height: 4vh;
  bottom: -48vh;
}
#gall-vid>left > div > img {
  height: 4vh;
  margin: 0 2vh;
}
#gall-vid>left > div > span {
  line-height: 4vh;
  font-size: 2.7vh;
  width: 4vh;
}

#gall-vid>right > h2 {
  height: 5vh;
  line-height: 5vh;
  font-size: 3vh;
  margin: 0 0 0 2vh;
}
#gall-vid>right > p {
  height: 30vh;
}
#gall-vid>right > div {
  width: 100%;
  height: 16vh;
  transform: translate3d(10vh,0,0);
  border-radius: 1vw;
}

#gall-vid list > div {
  width: 16vh;
  height: 16vh;
  padding: 0 2vh;
}
#gall-vid list > div > img {
  width: 16vh;
  height: 16vh;
  border-radius: 2vh 0 2vh 0;
}
#gall-vid list > div > p {
  font-size: 1vh;
}




#gall-music {
  width: 90vw;
}
#gall-music > img {
  position: absolute;
  left: 3vh;
  top: 10vh;
  height: 5vh;
}

#gall-music-list {
  padding: 15vh 0 27vh 0;
}
#gall-music-list > div {
  width: 40vw;
  padding: 2vw;
}

#gall-music-list > div > img.c {
  width: 40vw;
  height: 40vw;
  border-radius: 5vw;
}

#gall-music-list > div > img.t {
  z-index: 3;
  position: absolute;
  left: 0;top: 2vw;
  width: 44vw;
  height: 44vw;
}

#gall-music-list > div::after {
  left: 2vw;top: 2vw;
  width: 40vw;
  height: 40vw;
}

#gall-music-list > div::before {
  width: 40vw;
  height: 40vw;
  left: 2vw;top: 2vw;
}

#gall-music-list > div > p {
  font-size: 3vh;
  padding-top: 1vh;
}
#gall-music-list > div > en {
  display: block;
  font-size: 1.5vh;
}

#gall-music-list > q {
  margin: 2vh;
  font-size: 2vh;
}


#gall-music>play {
  bottom: 2vh;
  height: 18vh;
  border-radius: 2vh;
  padding: 3vh;
  width: calc(100% - 6vh);
}

#gall-music>play>top {
  height: 6vh;
}
#gall-music>play>top > .cover {
  width: 6vh;
  height: 6vh;
  border-radius: 1vh;
}
#gall-music>play>top > .decor {
  height: 9vh;
  right: -3vh;
  top: -3vh;
}
#gall-music>play>top > container {
  top: 15vh;
  height: 6vh;
}
#gall-music>play>top > container > img {
  height: 6vh;
  width: 6vh;
  margin: 0 2vh;
}
#gall-music>play>top > div {
  padding: 0 2vh;
}
#gall-music>play>top > div > p {
  font-size: 2.7vh;
  line-height: 3vh;
}
#gall-music>play>top > div > en {
  font-size: 1.6vh;
  line-height: 3vh;
}

#gall-music>play>bot {
  padding-top: 2vh;
  height: 2vh;
}
#gall-music>play>bot > p {
  margin: 0;
  font-size: 1.2vh;
  line-height: 2vh;
  width: 4vh;
}
#gall-music>play>bot > div {
  height: 1vh;
  margin: 0.5vh;
  border-radius: 0.5vh;
}
#gall-music>play>bot > div > div {
  border-radius: 0.5vh;
}




#gall-wall > img {
  position: absolute;
  top: 10vh;
  left: 2vh;
  height: 4vh;
}

#gall-wall > div {
  padding: 15vh 0;
}
#gall-wall > div > div {
  width: 45vw;
  padding: 1vw;
}
#gall-wall > div > div > img {
  margin-bottom: 2vw;
  border-radius: 1vh;
}
}