/* INOWNESS Poster — overlay only; button reuses theme .wpb_button.wpb_btn-inverse.btn */

.inowness-poster-wrap {
  margin: 28px 0 8px;
  text-align: left;
}

.inowness-poster-btn {
  cursor: pointer;
}

.inowness-poster-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(8, 8, 10, 0.82);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.inowness-poster-overlay[hidden] {
  display: none !important;
}

.inowness-poster-dialog {
  position: relative;
  width: min(420px, 86vw);
  max-width: 86vw;
  margin: auto;
  color: #f2f0ea;
  text-align: center;
}

.inowness-poster-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #1a1a1e;
  color: #f2f0ea;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.inowness-poster-canvas-wrap {
  width: 100%;
  background: #08080a;
}

.inowness-poster-canvas-wrap canvas,
.inowness-poster-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.inowness-poster-actions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.inowness-poster-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(242, 240, 234, 0.72);
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
}

body.inowness-poster-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .inowness-poster-overlay {
    align-items: flex-start;
    padding: 48px 7vw 32px;
  }

  .inowness-poster-dialog {
    width: 86vw;
  }
}
