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

body {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .scale-container {
    position: relative;
    left: 0;
    top: 0;
    width: calc(1920px * var(--scale));
    height: calc(1362px * var(--scale));
    transform: none;
    margin-top: 15vh;
  }

  .scroll-container-2_1 {
    width: 1920px;
    height: 1362px;
    transform: scale(var(--scale));
    transform-origin: top left;
    overflow: visible;
  }

  .Pixso-frame-2_1 {
    width: 1920px;
    height: 1362px;
  }

  .Pixso-frame-12_1 {
    width: 100% !important;
    height: 1362px;
    left: 0 !important;
    transform: none !important;
    overflow: visible;
  }

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

  .Pixso-rectangle-2_24 {
    width: 100% !important;
    height: 100% !important;
    background-size: 100% auto !important;
    background-position: center top !important;
    background-repeat: no-repeat;
    background-image: url(./assets/images/74724c97f1452701c2acd89ae9b8066897abce2e.png);
  }

  .incense-group {
    width: 760px !important;
    height: 460px !important;
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: -320px !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: 100% !important;
    display: flex !important;
    justify-content: center !important;
    z-index: 9000 !important;
    margin-top: 380px;
  }

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

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

  .incense-group .worship-btn .btn-text {
    font-size: 78px !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(2) translateY(-20px) !important;
    transform-origin: top center !important;
    opacity: 0 !important;
  }

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

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

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

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

  .genealogy-entry img {
    width: 300px !important;
    height: 300px !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: 3rem !important;
    margin-bottom: 1rem !important;
  }

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

  .mobile-controls {
    position: fixed !important;
    left: 50% !important;
    bottom: 20px !important;
    top: auto !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 520px) !important;
    height: min(50vh, 30%) !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;
    padding: 0;
    overflow: hidden;
    z-index: 5600 !important;
  }

  .worship-btn {
    position: absolute;
    justify-content: center;
  }

  .messages-clip {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    height: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    transform: none !important;
    z-index: 5500 !important;
    --drawer-width: 100% !important;
    --show-button-height: 120px;
  }

  .mobile-controls .messages-body-wrap {
    height: auto !important;
    flex: 1;
    min-height: 90px;
  }

  .messages-title {
    display: block;
    font-size: 11px;
    padding: 4px 6px;
  }

  .messages-module {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .messages-stack {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-height: 0;
  }

  .message-manager-entry {
    margin-top: 0 !important;
  }

  .message-manager-btn {
    width: auto;
    min-width: 0;
    font-size: 10px;
    padding: 4px 8px;
    line-height: 1.1;
    display: inline-flex;
    align-self: center;
    height: 28px;
    justify-content: center;
    align-items: center;
  }

  .messages-stack .messages-body-wrap {
    order: 1;
    height: min(var(--show-button-height), 80px) !important;
  }

  .messages-stack .message-manager-entry {
    order: 2;
  }

  .messages-drawer-toggle {
    display: flex;
    width: 20px;
    background: rgba(0, 0, 0, 0.2);
  }

  .drawer-text {
    font-size: 12px;
  }

  .messages-show-toggle {
    --show-button: 80px !important;
    --show-button-height: 36px !important;
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: 80px !important;
    height: 36px !important;
    border-radius: 12px 12px 0 0 !important;
    border: 1px solid rgba(212, 175, 55, 0.6) !important;
    border-bottom: none !important;
  }

  .messages-container {
    height: 100%;
  }

.message-manager-entry {
    margin-top: 0 !important;
  }

  /* 手机端留言内容卡片适配 */
  .message-item {
    padding: 4px;
    margin-bottom: 3px;
    min-height: 30px;
  }

  .message-user {
    font-size: 10px;
    margin-bottom: 1px;
  }

  .message-content {
    font-size: 10px;
    line-height: 1.2;
    margin-bottom: 1px;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }

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

  .incense-hint {
    bottom: calc(100% - 300px);
    padding: 10px 22px;
    font-size: 112px;
    background: transparent;
  }

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

  .genealogy-content {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .return-btn {
    right: 16px;
    bottom: 16px;
    padding: 10px 18px;
    font-size: 14px;
    border-width: 2px;
    border-radius: 999px;
  }
