body.pic49-page {
  background: #008080 !important;
}
.pic49-page .h5-gallery {
  background: #008080 !important;
  min-height: 100vh;
}
.pic49-page .gallery-page {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 0;
  min-height: calc(100vh - var(--pic49-top-offset, 0px));
  display: flex;
  flex-direction: column;
}
.pic49-page .pic49-mount {
  flex: 1 0 auto;
}
/* 顶栏：深色底 + 高对比文字，避免白字压在白条上 */
.pic49-page .gallery-topbar {
  position: sticky;
  top: var(--pic49-top-offset, 0px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 10px;
  margin: 0 0 6px;
  background: linear-gradient(135deg, #004d4d 0%, #006666 50%, #008080 100%);
  border-bottom: 2px solid #003333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 15px;
}
.pic49-page .gallery-topbar a {
  color: #ffeb3b !important;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}
.pic49-page .gallery-topbar-title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
.pic49-page .gallery-topbar span:last-child {
  flex-shrink: 0;
  min-width: 4em;
}
/* Logo 白条：右侧文案改深色，避免白底白字 */
.pic49-page .site-brand-bar {
  background: #fff !important;
  border-bottom: 2px solid #006666;
}
.pic49-page .site-brand-right-text {
  color: #c40000 !important;
  text-shadow: none !important;
}
.pic49-mount {
  padding: 0 4px 12px;
}
.pic49-nav-head {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  padding: 8px 6px 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pic49-docbox {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  border: 1px solid #ddd;
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.pic49-docbox.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.pic49-docbox > li {
  float: left;
  width: 50%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 44px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 520px) {
  .pic49-docbox > li {
    width: 25%;
  }
}
.pic49-docbox > li.pic49-li {
  background: rgb(204, 255, 102);
}
.pic49-docbox > li.pic49-li2 {
  background: rgb(255, 255, 153);
}
.pic49-nav-link {
  display: block;
  width: 100%;
  padding: 10px 6px;
  text-decoration: none !important;
  color: #337ab7 !important;
  font-size: 15px;
  font-weight: 700;
}
.pic49-docbox > li.pic49-li2 .pic49-nav-link {
  color: #ff0000 !important;
}
.pic49-nav-label {
  display: block;
  word-break: break-all;
}
.pic49-nav-period {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  color: #555 !important;
}
.pic49-detail-card {
  margin: 8px 4px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid #ddd;
}
.pic49-detail-title {
  text-align: center;
  padding: 12px 8px;
  font-size: 17px;
  font-weight: 700;
  color: #ff0000;
  background: rgb(255, 255, 153);
  border-bottom: 1px solid #ddd;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.pic49-detail-card .pic49-empty {
  color: #666;
  background: #fff;
}
.pic49-issue-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
  -webkit-overflow-scrolling: touch;
}
.pic49-issue-tab {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  font-weight: 700;
}
.pic49-issue-tab.active {
  background: #c40000;
  border-color: #a00000;
  color: #fff;
}

.pic49-main-img-wrap {
  padding: 8px;
  text-align: center;
  background: #111;
}
.pic49-main-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: top;
}
.pic49-empty {
  padding: 32px 16px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}
.pic49-back-list {
  display: inline-block;
  margin: 8px 4px;
  padding: 8px 12px;
  color: #ffeb3b !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.pic49-page .copyright {
  flex-shrink: 0;
  margin-top: auto;
  padding: 16px 8px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
