/* 所有作品页面共用的基础样式 */

:root {
  color-scheme: light;/*??????????*/
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #fff;
}

h1,
h2 {
  font-size: inherit;
}


.body {
  margin: 8px;
  color: #111;
  background-color: #fff;
  font-family:'Times New Roman', Times, serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

.main {
  max-width: none;
}

/* 只在视觉上隐藏，屏幕阅读器依然能够读取 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* --------------------公用部------------------------- */
.header,
.work-credits,
.work-description,
.work-pictures,
.footer {
  width: min(100%, 56rem);
}

/* 链接保留接近浏览器默认的样子 */
a {
  color: #0000ee;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
a:visited {
  color: #551a8b;
}
a:hover {
  text-decoration-thickness: 2px;
}

.work-credits {
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 0.875rem;
}

.work-description {
  margin-block: 1em;
  font-size: 0.875rem;
}

.statement {
  margin-block: 1em;
  font-size: 0.875rem;
}

.footer {
  margin-top: 2em;
  padding: 1em 0;
  text-align: left;
  font-size: 0.75rem;
  color: #555;
}

.work-pictures figure{
  margin: 1em 0;
}

.work-pictures img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  object-fit: cover;
}

.work-pictures figcaption {
  margin-top: 0.5em;
  font-size: 0.7rem;
  color: #555;
}

.work-pictures summary {
  width:fit-content;
  cursor: pointer;
  color: #0000ee;
  text-decoration: underline;
  
}

/* .back-button {
  position: fixed;
  z-index: 20;
  right: 14px;
  bottom: 14px;

  width: 38px;
  height: 38px;
  padding: 0;

  font-size: 20px;
  line-height: 1;
  cursor: pointer;

  background: #ffffff;
  border: 1px solid #000000;
} */

/* 作品页面的首屏 --------------------------------------------*/
.first-view {
  width: calc(100vw - 16px);
  /* border: 2px solid #fb0505; */
}

/* 里面包含music-box-stage 和 first-view-frame */
.first-view-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(82vh, 760px);
  /* border: 2px solid #fba505; */
}


/* 视频外框 */
.first-view-frame {
  width: clamp(250px, 25vw, 360px);
  margin: 0;
  overflow: hidden;
  background-color: #111;
  
  outline: 1px solid rgb(70 67 62 / 0.36);
}

/* 视频本身 */
.first-view-video {
  display: block;

  width: 100%;
  height: auto;

  aspect-ratio: 9 / 16;
  object-fit: cover;
  

  background-color: #000;
}


/* 手机尺寸 */
@media (max-width: 600px) {
  .body {
    font-size: 15px;
  }

  .first-view-media {
    min-height: min(76vh, 620px);
  }

  .first-view-frame {
    width: min(52vw, 270px);
  }
}