@import url("./styles-desktop.css");

/* 窄平板 / 双折叠手机专用适配 */
html,
body {
  display: block;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  justify-content: flex-start;
  align-items: stretch;
}

.Pixso-frame-12_4 {
  transform: translate(-50%, -50%) scale(1.2) !important;
  transform-origin: center;
}

.scale-container,
.scroll-container-2_1,
.Pixso-frame-2_1 {
  position: relative;
  z-index: 1;
}

.Pixso-rectangle-2_24 {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url(./assets/images/kuanbj.jpg);
  pointer-events: none;
  z-index: 0;
}

.incense-group {
  width: 620px !important;
  height: 380px !important;
  position: absolute !important;
  left: 50% !important;
  top: auto !important;
  bottom: -200px !important;
  transform: translateX(-50%) !important;
  z-index: 8000 !important;
  overflow: visible !important;
}

.incense-wrapper {
  position: absolute !important;
  inset: 0 !important;
}

.incense-btn-wrap {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 70% !important;
  display: flex !important;
  justify-content: center !important;
  z-index: 9000 !important;
  margin: 380px auto 0;
}

.incense-group .worship-btn {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  padding: 40px 64px !important;
  font-size: 56px !important;
  margin: 0 !important;
}

.incense-group .worship-btn .btn-icon {
  display: none !important;
}

.incense-group .worship-btn .btn-text {
  font-size: 56px !important;
  display: block;
  text-align: center;
  white-space: normal;
  line-height: 1.1;
}

.incense-wrapper .Pixso-rectangle-2_30 {
  width: 100% !important;
  height: 100% !important;
  left: 0 !important;
  bottom: 0 !important;
  top: 0 !important;
  transform: scale(1.6) translateY(-10px) !important;
  transform-origin: top center !important;
  opacity: 0 !important;
}

.incense-wrapper .incense-stick {
  bottom: 70% !important;
}

.incense-wrapper .Pixso-rectangle-2_30.show-incense-burner {
  transform: scale(1.6) translateY(-80px) !important;
  opacity: 1 !important;
}

.Pixso-rectangle-2_30.show-incense-burner {
  transform: translateX(-50%) scale(1.6) translateY(-80px) !important;
  opacity: 1 !important;
}

.genealogy-entry {
  position: fixed !important;
  left: 50% !important;
  top: -12rem !important;
  transform: translateX(-50%) !important;
}

.genealogy-entry img {
  width: 220px !important;
  height: 220px !important;
}

.modal,
.blessing-modal {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  z-index: 6000 !important;
}

.blessing-text {
  font-size: 4rem !important;
  margin-bottom: 1.5rem !important;
}

.blessing-subtext {
  font-size: 1.5rem !important;
}

.messages-clip {
  --drawer-width: 240px;
  --show-button-height: 120px;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  max-height: 100vh;
}

.messages-title {
  font-size: 14px;
  padding: 8px;
}

.messages-body-wrap {
  height: 320px;
}

.message-item {
  padding: 6px;
  margin-bottom: 4px;
  min-height: 34px;
}

.message-user,
.message-content {
  font-size: 12px;
}

.message-time {
  font-size: 10px;
}

.incense-hint {
  bottom: calc(100% - 50px);
  padding: 10px 24px;
  font-size: 128px;
  background: transparent;
}

.genealogy-modal {
  position: fixed;
  z-index: 6000;
}

.genealogy-content {
  width: 92%;
  max-width: 900px;
  height: 90%;
  max-height: 90vh;
  border-radius: 12px;
}

.return-btn {
  right: 20px;
  bottom: 20px;
  padding: 12px 22px;
  font-size: 16px;
}
