/* UtopiaGM Maple package 套图 preview — CTqInc02 (touch + close) */
.ugm-maple-pkg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 12000;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.ugm-maple-pkg-layer.is-open {
  opacity: 1;
}
.ugm-maple-pkg-layer.is-open[data-pinned='1'] {
  pointer-events: auto;
  background: rgba(8, 10, 16, 0.28);
}
.ugm-maple-pkg-pop {
  position: fixed;
  width: min(340px, calc(100vw - 24px));
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #d8dde5;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18);
  border-radius: 10px;
  padding: 14px 14px 12px;
  pointer-events: auto;
  font-family: ui-sans-serif, system-ui, Segoe UI, sans-serif;
}
.ugm-maple-pkg-pop__close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #667;
  padding: 4px 6px;
}
.ugm-maple-pkg-pop__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 24px 8px 0;
}
.ugm-maple-pkg-pop__list {
  list-style: disc;
  margin: 0 0 8px 1.1rem;
  padding: 0;
  display: grid;
  gap: 6px;
}
.ugm-maple-pkg-pop__item {
  font-size: 12.5px;
  line-height: 1.35;
  cursor: pointer;
}
.ugm-maple-pkg-pop__item:hover,
.ugm-maple-pkg-pop__item:active {
  color: #b7791f;
}
.ugm-maple-pkg-pop__note {
  font-size: 11.5px;
  color: #667;
}
.ugm-maple-pkg-itemtip {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e7ebf0;
}
.ugm-maple-pkg-itemtip__name {
  font-size: 12.5px;
  font-weight: 700;
}
.ugm-maple-pkg-itemtip__body {
  font-size: 11.5px;
  color: #556;
  margin-top: 2px;
}
.ugm-maple-pkg-card {
  cursor: pointer;
}
@media (max-width: 900px) {
  .ugm-maple-pkg-pop {
    width: min(92vw, 360px);
  }
}
