* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: #1c2422;
  background: #f3efe6;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #17312e;
  color: #f7f1e6;
  box-shadow: 0 8px 24px rgba(23, 49, 46, 0.18);
}
.top-bar {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 20px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.top-title strong {
  display: block;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.top-title span,
.top-title a {
  display: block;
  margin-top: 2px;
  color: #d7c4a3;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.top-title a {
  text-decoration: none;
}
.day-range {
  margin: 0 0 14px;
  color: #5c4a32;
  font-size: 15px;
  letter-spacing: 0.03em;
}
.time-list {
  display: grid;
  gap: 10px;
}
.time-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border: 1px solid #e4dccb;
  border-radius: 12px;
  background: #fffdf8;
  color: #1c2422;
  text-decoration: none;
}
.time-card strong {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.time-card span {
  min-width: 36px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe7d8;
  color: #5c4a32;
  text-align: center;
  font-size: 13px;
}
.viewer {
  position: relative;
}
.viewer-stage {
  min-height: 280px;
  background: #fffdf8;
  border: 1px solid #e4dccb;
  border-radius: 12px;
  overflow: hidden;
}
.frame {
  display: none;
  margin: 0;
}
.frame.is-on {
  display: block;
}
.frame img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #17312e;
}
.frame figcaption {
  padding: 12px 56px;
  font-size: 15px;
  line-height: 1.5;
}
.frame figcaption em {
  display: inline-block;
  margin-right: 8px;
  color: #8d3b32;
  font-style: normal;
}
.viewer-nav {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 49, 46, 0.82);
  color: #f7f1e6;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.viewer-prev {
  left: 10px;
}
.viewer-next {
  right: 10px;
}
.viewer-count {
  margin: 12px 0 0;
  text-align: center;
  color: #8a8174;
  letter-spacing: 0.08em;
}
.date-switch {
  max-width: 1080px;
  margin: 0 auto;
  padding: 8px 16px 14px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.date-tab {
  flex: 0 0 auto;
  min-width: 148px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #f7f1e6;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-tab em {
  font-style: normal;
  font-size: 14px;
}
.date-tab.is-on {
  background: #f4efe4;
  color: #17312e;
}
.board {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 16px 80px;
}
.session {
  margin-bottom: 28px;
}
.session-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 12px;
}
.session-no {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #8d3b32;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.session-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 650;
}
.slot {
  margin-bottom: 14px;
  background: #fffdf8;
  border: 1px solid #e4dccb;
  border-radius: 12px;
  overflow: hidden;
}
.slot h3 {
  margin: 0;
  padding: 10px 16px;
  background: #efe7d8;
  color: #5c4a32;
  font-size: 15px;
  letter-spacing: 0.04em;
}
.papers {
  list-style: none;
  margin: 0;
  padding: 0;
}
.papers li {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid #efe7d8;
}
.papers li:first-child {
  border-top: 0;
}
.paper-body h4 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 650;
}
.paper-body p {
  margin: 4px 0;
  color: #1c2422;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 650;
}
.paper-body span {
  display: inline-block;
  min-width: 118px;
  margin-right: 8px;
  color: #8a8174;
  font-size: 12px;
  font-weight: 400;
}
.empty {
  padding: 48px 0;
  text-align: center;
  color: #8a8174;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #17312e;
  color: #f7f1e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(23, 49, 46, 0.28);
}
@media (max-width: 720px) {
  .paper-body span {
    display: block;
    min-width: 0;
    margin-bottom: 2px;
  }
  .papers li {
    flex-direction: column;
    gap: 4px;
  }
}
html,
body.kiosk {
  height: 100%;
}
body.kiosk {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #17312e;
}
body.kiosk .top {
  flex: 0 0 auto;
  position: static;
}
body.kiosk .top-bar,
body.kiosk .date-switch,
body.kiosk .board {
  max-width: none;
  width: 100%;
}
body.kiosk .board {
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px 24px 24px;
  overflow: hidden;
  background: #f3efe6;
}
body.kiosk-times {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  background: #fff url("/static/bibao/images/bg.jpg?v1") top center / 100% auto no-repeat;
}
body.kiosk-times .top {
  position: static;
  flex: 0 0 auto;
  margin-top: calc(100vw * 270 / 1080);
  background: transparent;
  box-shadow: none;
  color: #3d2a14;
}
body.kiosk-times .top-bar {
  position: relative;
  justify-content: center;
  padding: 16px 20px 2px;
}
body.kiosk-times .top-title {
  text-align: center;
}
body.kiosk-times .top-title strong {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  color: #3d2a14;
}
body.kiosk-times .date-switch {
  justify-content: center;
  gap: 12px;
  padding: 8px 16px 12px;
}
body.kiosk-times .date-tab {
  min-width: 132px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  color: #245049;
  box-shadow: inset 0 0 0 1px #c4a36a;
}
body.kiosk-times .date-tab em {
  font-size: 15px;
  font-weight: 650;
}
body.kiosk-times .date-tab.is-on {
  background: #245049;
  color: #f7f1e6;
  box-shadow: none;
}
body.kiosk-times .board {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px 24px;
  background: transparent;
}
body.kiosk-times .day-range {
  flex: 0 0 auto;
  margin: 0 6px 10px;
  color: #6d645b;
  font-size: 15px;
}
body.kiosk-times .time-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(64px, 88px);
  align-content: start;
  gap: 20px;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow-y: auto;
}
body.kiosk-times .time-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 12px 22px;
  border: 1px solid #e4d0aa;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.94);
  box-shadow: 0 8px 22px rgba(120, 84, 32, 0.08);
  color: #1c2422;
  text-decoration: none;
}
body.kiosk-times .time-card.is-locked {
  cursor: default;
  opacity: 0.62;
  pointer-events: none;
}
body.kiosk-times .time-card strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
}
body.kiosk-times .view-hint {
  flex: 0 0 auto;
  padding: 8px 16px;
  border-radius: 999px;
  background: #245049;
  color: #f7f1e6;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
body.kiosk-times .view-hint[hidden] {
  display: none;
}
body.kiosk-slides {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #111;
}
body.kiosk-slides .top {
  display: none;
}
body.kiosk-slides .slides-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1080px;
  height: 1920px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  overflow: hidden;
  background: #111;
}
body.kiosk-slides .board {
  position: relative;
  width: 1080px;
  height: 1920px;
  padding: 0;
  overflow: hidden;
  background: #111;
}
body.kiosk-slides .back-btn {
  position: absolute;
  top: 80px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
body.kiosk-slides .back-btn img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
body.kiosk-slides .viewer,
body.kiosk-slides .viewer-stage,
body.kiosk-slides .frame,
body.kiosk-slides .frame.is-on {
  position: relative;
  width: 100%;
  height: 100%;
}
body.kiosk-slides .viewer-stage {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #111;
}
body.kiosk-slides .frame img {
  display: block;
  width: 1080px;
  height: 1920px;
  max-height: none;
  object-fit: contain;
  background: #111;
}
body.kiosk-slides .frame figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 20px 88px;
  background: linear-gradient(transparent, rgba(17, 17, 17, 0.88));
  color: #f7f1e6;
  font-size: 22px;
}
body.kiosk-slides .viewer-nav {
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-top: -44px;
  background: rgba(17, 17, 17, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  font-size: 56px;
}
body.kiosk-slides .viewer-prev {
  left: 22px;
}
body.kiosk-slides .viewer-next {
  right: 22px;
}
body.kiosk-slides .viewer-count {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  margin: 0;
  color: #f7f1e6;
  font-size: 20px;
}
body.kiosk-slides .empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #f7f1e6;
  font-size: 28px;
}
