#head{
  position:static !important;
}
#head #top{
  position:static !important;
}
#head .topa{
  position:static !important;
}
#head .header-wrap,
#head .dh-left ul.main-nav,
#head .dh-right ul.main-nav{
  background:unset !important;
}
.interaction-page ~ #head .topa #tel,
.interaction-page ~ #head .topa .lmd,
.interaction-page ~ #head .topa .lmd i{
  display:none !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.interaction-page {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 120px);
  background:
    radial-gradient(circle at top, rgba(255, 215, 120, 0.25), transparent 60%),
    linear-gradient(0deg, #2a1a10 30%, #ff6000 100%);
  overflow: hidden;
}
.scene {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60px;
  z-index: 1;
  gap: 12px;
  padding-bottom: 80px;
}
.hall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1)),
    repeating-linear-gradient(
      90deg,
      rgba(120, 60, 20, 0.35) 0px,
      rgba(80, 40, 15, 0.35) 60px,
      rgba(120, 60, 20, 0.35) 120px
    );
  z-index: 1;
}
.deity {
  width: 600px;
  max-width: 70%;
  text-align: center;
  position: relative;
  z-index: 3;
  background-image: url("/../skin/images/sanshan.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  height: 350px;
}
.deity img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.altar {
  width: 800px;
  max-width: 90%;
  height: 181px;
  background: linear-gradient(180deg, #6b3410, #3d1c08);
  border-radius: 10px;
  position: relative;
  z-index: 4;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 0, 0, 0.4);
  border-color: #ffe9a8;
  margin-top: -10px;
  overflow: hidden;
}
.altar-items {
  position: absolute;
  top: 14px;
  left: 47%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 760px;
  height: 120px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 0;
  overflow: hidden;
}
.item-on-table {
  width: 64px;
  height: 82px;
  flex: 0 0 64px;
  cursor: pointer;
  transition: transform 0.25s ease;
  animation: dropIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}
.item-on-table img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
}
.item-on-table:hover {
  transform: scale(1.12) translateY(-3px);
}
@keyframes dropIn {
  0% {
    transform: translateY(-60px) scale(0.6);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
.tip {
  position: relative;
  z-index: 9;
  background: rgba(40, 22, 10, 0.78);
  border: 1px solid #b8842a;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #ffe9a8;
  max-width: 380px;
  width: 92%;
  text-align: center;
  margin-top: 18px;
  margin-bottom: 14px;
}
.tool-left-bar {
  position: relative;
  z-index: 10;
  border-radius: 14px;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  margin-bottom: 70px;
}
.tool-left-bar .toolbar-title {
  text-align: center;
  font-size: 14px;
  color: #ffd77a;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
/* 【修复1：提升flex布局权重，防止被覆盖纵向堆叠】 */
.tool-left-bar .tool-list {
  list-style: none !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 !important;
}
.tool-left-bar .tool-list li {
  width: 90px;
  height: 120px;
  background: linear-gradient(180deg, #5c2a0a, #3d1c08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.tool-left-bar .tool-list li:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: #ffd77a;
  box-shadow: 0 0 15px rgba(255, 215, 122, 0.45);
}
.tool-left-bar .tool-list li.active {
  background: linear-gradient(180deg, #8a5a1c, #b8842a);
  border-color: #ffe9a8;
}
/* 【修复2：清除点击后focus持续发光外框，PC+移动端全部生效】 */
.tool-left-bar .tool-list li:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
.tool-left-bar .tool-list li:active {
  outline: none !important;
  box-shadow: none !important;
}
.tool-left-bar .tool-icon {
  width: 90px;
  height: 110px;
}
.tool-left-bar .tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.tool-left-bar .tool-name {
  font-size: 12px;
  color: #fff3c4;
  margin-top: 4px;
}
.tool-left-bar .tool-count {
  font-size: 12px;
  color: #ffd77a;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .scene{
    gap: 10px;
    padding-top: 40px;
    padding-bottom: 60px;
  }
  .deity {
    max-width: 80%;
    margin-top: -60px;
  }
  .altar {
    width: 100%;
    height: 140px;
    margin-top: -80px;
  }
  .altar-items {
    top: 0px;
    height: 110px;
    gap: 30px;
  }
  .item-on-table {
    width: 56px;
    height: 74px;
    flex: 0 0 56px;
  }
  .tip{
    margin-top: 14px;
    margin-bottom: 12px;
  }
  .tool-left-bar{
    margin-bottom: 50px;
  }
  .tool-left-bar .tool-list li {
    width: 60px;
    height: 90px;
  }
  .tool-left-bar .tool-icon {
    width: 26px;
    height: 26px;
  }
  .tool-left-bar .tool-name {
    font-size: 11px;
  }
  .tool-left-bar .tool-count {
    font-size: 10px;
    margin-top: 1px;
  }
}
.blessing-btn{
  width:90px;
  height:120px;
  background: linear-gradient(180deg, #5c2a0a, #3d1c08);
  border-radius:12px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: all 0.25s ease;
  color:#fff3c4;
  user-select:none;
  border:none;
  box-shadow:none;
  outline:none;
}
.blessing-btn:hover{
  transform: translateY(-4px) scale(1.06);
  border:2px solid #ffd77a;
  box-shadow: 0 0 15px rgba(255, 215, 122, 0.45);
}
.blessing-btn:active{
  box-shadow:none;
  border:none;
  outline:none;
}
/* 祈福按钮清除focus持续发光 */
.blessing-btn:focus{
  box-shadow:none !important;
  border:none !important;
  outline:none !important;
}
.blessing-btn .btn-name{
  font-size:18px;
  margin-top:8px;
}
.blessing-btn .bless-count{
  font-size:12px;
  color: #ffd77a;
  margin-top:4px;
}
.blessing-text{
  position: absolute;
  color: #ffd77a;
  font-size: 14px;
  font-family: "Microsoft Yahei", "PingFang SC", SimSun, serif;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.65);
  pointer-events: none;
  z-index: 2;
  opacity: 0.88;
  will-change: transform, left, top;
}
@media (max-width: 900px) {
  .blessing-btn{
    width:60px;
    height:90px;
  }
  .blessing-btn .btn-name{
    font-size:14px;
  }
  .blessing-btn .bless-count{
    font-size:10px;
  }
  .blessing-text{
    font-size: 13px;
  }
}
/* ========== 新增弹窗完整样式 ========== */
.custom-modal-mask {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.65);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}
.custom-modal-box {
    background:#fffbf0;
    border:2px solid #e6b84e;
    border-radius:14px;
    padding:30px 40px;
    text-align:center;
    max-width:420px;
}
.custom-modal-text {
    font-size:17px;
    color:#664411;
    margin-bottom:24px;
}
.custom-modal-close {
    background:#d49b26;
    color:#fff;
    border:none;
    border-radius:30px;
    padding:8px 26px;
    font-size:16px;
    cursor:pointer;
}
.custom-modal-close:hover{
    background:#c48c20;
}
