/* Small static-page helpers layered after the mirrored site CSS. */
:root,
.light,
.dark {
  --primary: #906431;
  --color-primary: #906431;
  --ring: #906431;
  --sidebar-primary: #906431;
}

[data-static-sheet],
[data-static-overlay] {
  display: none;
}

[data-static-overlay].open {
  display: block;
}

[data-static-sheet].open {
  display: flex;
}

.static-lightbox {
  align-items: center;
  background: rgb(0 0 0 / 72%);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.static-lightbox.open {
  display: flex;
}

.static-lightbox img {
  border-radius: 8px;
  max-height: 90vh;
  max-width: min(96vw, 1100px);
}

.static-lightbox button {
  align-items: center;
  background: white;
  border: 1px solid oklch(92% 0.005 90);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 40px;
}

.hcym-wechat-frame {
  min-height: auto;
}

.hcym-wechat-inner,
.hcym-wechat-image-wrap,
.hcym-wechat-img {
  max-width: 100%;
}

.hcym-wechat-img {
  display: block;
}

.hcym-wechat-title {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 640px) {
  .hcym-wechat-frame {
    align-items: center;
    padding: 1.25rem;
  }

  .hcym-wechat-image-wrap {
    max-width: min(100%, 240px);
  }

  .hcym-wechat-title {
    font-size: 1rem;
    line-height: 1.625;
  }
}

.hcym-wide-table {
  min-width: 960px;
}
