#s15 {
  --smart-primary: #084858;
  --smart-text: #222;
  --smart-muted: #707070;
  --smart-line: #e2e5e6;
  --smart-label-bg: #f2f6f7;
  background: #f3f3f3;
}

#s15 .content {
  box-sizing: border-box;
  max-width: 1200px;
  overflow: hidden;
  padding: 104px 0 112px;
  background: #fff;
}

#s15 .section-title {
  box-sizing: border-box;
  padding: 0 56px;
}

/*#s15 .section-title .section-name {*/
/*  margin: 0;*/
/*  color: var(--smart-primary);*/
/*}*/

/*#s15 .section-title .section-bar {*/
/*  width: 100%;*/
/*  background-color: var(--smart-primary);*/
/*}*/

#s15 .smart-hall-list {
  margin-top: 52px;
}

#s15 .smart-hall-card {
  padding-bottom: 72px;
}

#s15 .smart-hall-card + .smart-hall-card {
  padding-top: 72px;
  border-top: 4px solid #f3f3f3;
}

#s15 .smart-hall-tabs {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  /*padding: 0 44px 42px;*/
  padding: 0 0 42px;
  scrollbar-width: none;
}

#s15 .smart-hall-tabs::-webkit-scrollbar,
#s15 .smart-hall-gallery-viewport::-webkit-scrollbar {
  display: none;
}

#s15 .smart-hall-tab {
  min-height: 52px;
  flex: 0 0 auto;
  padding: 0 27px;
  border: 1px solid #dedede;
  border-radius: 28px;
  background: #fff;
  color: var(--smart-muted);
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  touch-action: manipulation;
}

#s15 .smart-hall-tab:hover {
  border-color: var(--smart-primary);
  color: var(--smart-primary);
}

#s15 .smart-hall-tab.active {
  border-color: var(--smart-primary);
  background: var(--smart-primary);
  color: #fff;
}

#s15 .smart-hall-tab:focus-visible,
#s15 .smart-hall-gallery-viewport:focus-visible {
  outline: 3px solid rgba(8, 72, 88, 0.35);
  outline-offset: 4px;
}

#s15 .smart-hall-gallery-panel[hidden] {
  display: none;
}

#s15 .smart-hall-gallery-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

#s15 .smart-hall-gallery-viewport.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

#s15 .smart-hall-gallery-track {
  display: grid;
  grid-auto-columns: 77%;
  grid-auto-flow: column;
  gap: 6px;
}

#s15 .smart-hall-photo {
  position: relative;
  aspect-ratio: 1.36 / 1;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #ececec;
  cursor: zoom-in;
  scroll-snap-align: start;
}

#s15 .smart-hall-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

#s15 .smart-hall-info {
  box-sizing: border-box;
  padding: 48px 44px 0;
}

#s15 .smart-hall-table {
  width: 100%;
  border: 1px solid var(--smart-line);
  border-collapse: collapse;
  table-layout: fixed;
}

#s15 .smart-hall-table tr:not(:last-child) {
  border-bottom: 1px solid var(--smart-line);
}

#s15 .smart-hall-table th,
#s15 .smart-hall-table td {
  box-sizing: border-box;
  min-height: 92px;
  padding: 26px 30px;
  vertical-align: middle;
}

#s15 .smart-hall-table th {
  width: 35%;
  background: var(--smart-label-bg);
  color: var(--smart-primary);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
}

#s15 .smart-hall-table td {
  color: var(--smart-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

#s15 .smart-hall-label {
  display: flex;
  align-items: center;
  gap: 16px;
}

#s15 .smart-hall-icon {
  display: inline-flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  color: var(--smart-primary);
}

#s15 .smart-hall-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

#s15 .smart-hall-notice {
  margin: 14px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

#s15 .smart-hall-gallery-empty,
#s15 .smart-hall-empty {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  background: #f5f7f7;
  color: #666;
  font-size: 15px;
}

body.smart-hall-detail-open {
  overflow: hidden;
}

#s15-detail-gallery {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: none;
  box-sizing: border-box;
  padding: 28px 24px;
  color: #fff;
}

#s15-detail-gallery[hidden] {
  display: none !important;
}

#s15-detail-gallery .smart-hall-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 18, 0.72);
  -webkit-backdrop-filter: blur(8px) saturate(0.82);
  backdrop-filter: blur(8px) saturate(0.82);
}

#s15-detail-gallery .smart-hall-detail-shell {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  box-sizing: border-box;
  width: min(calc(100% - 48px), 1180px);
  height: min(920px, calc(100dvh - 56px));
  min-height: 0;
  grid-template-rows: 92px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #0b0d0e;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.04);
  transform: translate(-50%, -50%);
}

#s15-detail-gallery .smart-hall-detail-header {
  position: relative;
  z-index: 3;
  display: grid;
  padding: 0 38px;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #121516;
}

#s15-detail-gallery button {
  font: inherit;
}

#s15-detail-gallery .smart-hall-detail-close,
#s15-detail-gallery .smart-hall-detail-grid-toggle {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  place-items: center;
}

#s15-detail-gallery .smart-hall-detail-close span,
#s15-detail-gallery .smart-hall-detail-close span::after {
  display: block;
  width: 34px;
  height: 2px;
  background: currentColor;
  content: '';
}

#s15-detail-gallery .smart-hall-detail-close span {
  transform: rotate(45deg);
}

#s15-detail-gallery .smart-hall-detail-close span::after {
  transform: rotate(90deg);
}

#s15-detail-gallery .smart-hall-detail-close.is-back span {
  width: 25px;
  transform: translateX(4px);
}

#s15-detail-gallery .smart-hall-detail-close.is-back span::before,
#s15-detail-gallery .smart-hall-detail-close.is-back span::after {
  position: absolute;
  left: -2px;
  display: block;
  width: 14px;
  height: 2px;
  background: currentColor;
  content: '';
  transform-origin: left center;
}

#s15-detail-gallery .smart-hall-detail-close.is-back span::before {
  transform: rotate(-45deg);
}

#s15-detail-gallery .smart-hall-detail-close.is-back span::after {
  transform: rotate(45deg);
}

#s15-detail-gallery .smart-hall-detail-grid-toggle {
  grid-template-columns: repeat(3, 7px);
  grid-template-rows: repeat(3, 7px);
  justify-content: center;
  gap: 3px;
}

#s15-detail-gallery .smart-hall-detail-grid-toggle span {
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: currentColor;
}

#s15-detail-gallery .smart-hall-detail-tabs {
  display: flex;
  min-width: 0;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

#s15-detail-gallery .smart-hall-detail-tabs::-webkit-scrollbar,
#s15-detail-gallery .smart-hall-detail-thumbs::-webkit-scrollbar {
  display: none;
}

#s15-detail-gallery .smart-hall-detail-tab {
  flex: 0 0 auto;
  padding: 9px 12px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #909090;
  font-size: 19px;
  font-weight: 500;
  cursor: pointer;
}

#s15-detail-gallery .smart-hall-detail-tab.active {
  border-bottom-color: #fff;
  color: #fff;
}

#s15-detail-gallery .smart-hall-detail-slider-view {
  display: grid;
  min-height: 0;
  padding: 18px 32px 24px;
  grid-template-rows: minmax(0, 1fr) 72px 48px;
  gap: 18px;
  background: #0b0d0e;
}

#s15-detail-gallery .smart-hall-detail-slider {
  width: 100%;
  min-height: 0;
}

#s15-detail-gallery .smart-hall-detail-slider .swiper-wrapper {
  height: 100%;
}

#s15-detail-gallery .smart-hall-detail-slider .swiper-slide {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #070809;
}

#s15-detail-gallery .smart-hall-detail-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#s15-detail-gallery .smart-hall-detail-slider .swiper-button-prev,
#s15-detail-gallery .smart-hall-detail-slider .swiper-button-next {
  width: 46px;
  height: 64px;
  margin-top: -32px;
  border: 0;
  background-color: rgba(0, 0, 0, 0.28);
  background-size: 22px 36px;
  opacity: 0;
  transition: opacity 180ms ease;
}

#s15-detail-gallery .smart-hall-detail-slider:hover .swiper-button-prev,
#s15-detail-gallery .smart-hall-detail-slider:hover .swiper-button-next,
#s15-detail-gallery .smart-hall-detail-slider .swiper-button-prev:focus-visible,
#s15-detail-gallery .smart-hall-detail-slider .swiper-button-next:focus-visible {
  opacity: 0.9;
}

#s15-detail-gallery .smart-hall-detail-thumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  padding: 8px 14px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: #101314;
  scrollbar-width: none;
}

#s15-detail-gallery .smart-hall-detail-thumb {
  width: 110px;
  height: 68px;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #1b1b1b;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

#s15-detail-gallery .smart-hall-detail-thumb:hover,
#s15-detail-gallery .smart-hall-detail-thumb.active {
  border-color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

#s15-detail-gallery .smart-hall-detail-thumb img,
#s15-detail-gallery .smart-hall-detail-grid-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#s15-detail-gallery .smart-hall-detail-meta {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

#s15-detail-gallery .smart-hall-detail-name {
  font-size: 20px;
  font-weight: 500;
}

#s15-detail-gallery .smart-hall-detail-count {
  position: absolute;
  right: 0;
  color: #8c8c8c;
  font-size: 17px;
}

#s15-detail-gallery .smart-hall-detail-grid {
  display: none;
  min-height: 0;
  padding: 26px 44px 80px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 4px;
  overflow-y: auto;
  background: #0b0d0e;
}

#s15-detail-gallery .smart-hall-detail-grid-item {
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #151515;
  cursor: zoom-in;
}

#s15-detail-gallery.is-grid .smart-hall-detail-slider-view {
  display: none;
}

#s15-detail-gallery.is-grid .smart-hall-detail-grid {
  display: grid;
}

#s15-detail-gallery.is-grid .smart-hall-detail-grid-toggle {
  visibility: hidden;
}

#s15-detail-gallery button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  #s15 .content {
    /*padding: 78px 0 84px !important;*/
    padding: 78px 0 0px !important;
  }

  #s15 .section-title {
    padding: 0 20px;
  }

  #s15 .smart-hall-list {
    margin-top: 38px;
  }

  #s15 .smart-hall-card {
    padding-bottom: 48px;
  }

  #s15 .smart-hall-card + .smart-hall-card {
    padding-top: 48px;
    border-top-width: 2px;
  }

  #s15 .smart-hall-card + .smart-hall-card:last-child {
    padding-bottom: 0;
    padding-bottom: 48px;
  }

  #s15 .smart-hall-tabs {
    gap: 10px;
    padding: 0 20px 28px;
  }

  #s15 .smart-hall-tab {
    min-height: 44px;
    padding: 0 20px;
    border-radius: 23px;
    font-size: 14px;
  }

  #s15 .smart-hall-gallery-track {
    grid-auto-columns: 82%;
    gap: 4px;
  }

  #s15 .smart-hall-info {
    padding: 32px 20px 0;
  }

  #s15 .smart-hall-table th,
  #s15 .smart-hall-table td {
    min-height: 76px;
    padding: 20px 16px;
  }

  #s15 .smart-hall-table th {
    width: 42%;
    font-size: 14px;
  }

  #s15 .smart-hall-table td {
    font-size: 15px;
  }

  #s15 .smart-hall-label {
    gap: 10px;
  }

  #s15 .smart-hall-icon {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  #s15 .smart-hall-notice {
    font-size: 12px;
  }

  #s15-detail-gallery {
    padding: 0;
  }

  #s15-detail-gallery .smart-hall-detail-shell {
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    grid-template-rows: 84px minmax(0, 1fr);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  #s15-detail-gallery .smart-hall-detail-header {
    padding: 0 14px;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  #s15-detail-gallery .smart-hall-detail-close,
  #s15-detail-gallery .smart-hall-detail-grid-toggle {
    width: 44px;
    height: 44px;
  }

  #s15-detail-gallery .smart-hall-detail-close span,
  #s15-detail-gallery .smart-hall-detail-close span::after {
    width: 28px;
  }

  #s15-detail-gallery .smart-hall-detail-tab {
    padding: 8px 9px 9px;
    font-size: 15px;
  }

  #s15-detail-gallery .smart-hall-detail-slider-view {
    padding: 8px 0 24px;
    grid-template-rows: minmax(0, 1fr) 64px 54px;
    gap: 16px;
  }

  #s15-detail-gallery .smart-hall-detail-slider .swiper-slide {
    border-radius: 0;
  }

  #s15-detail-gallery .smart-hall-detail-slider .swiper-button-prev,
  #s15-detail-gallery .smart-hall-detail-slider .swiper-button-next {
    display: none;
  }

  #s15-detail-gallery .smart-hall-detail-thumbs {
    justify-content: flex-start;
    gap: 10px;
    padding: 4px 20px;
    border-width: 1px 0;
    border-radius: 0;
  }

  #s15-detail-gallery .smart-hall-detail-thumb {
    width: 88px;
    height: 56px;
    border-radius: 7px;
  }

  #s15-detail-gallery .smart-hall-detail-meta {
    padding: 0 20px;
  }

  #s15-detail-gallery .smart-hall-detail-name {
    font-size: 17px;
  }

  #s15-detail-gallery .smart-hall-detail-count {
    right: 20px;
    font-size: 15px;
  }

  #s15-detail-gallery .smart-hall-detail-grid {
    padding: 16px 12px 48px;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #s15,
  #s15 * {
    scroll-behavior: auto !important;
  }

  #s15-detail-gallery *,
  #s15-detail-gallery *::before,
  #s15-detail-gallery *::after {
    transition-duration: 0.01ms !important;
  }
}
