html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  text-align: left;
}
p {
  margin: 0;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: none;
  outline: none;
  background: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
}
input,
textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

[v-cloak] {
  visibility: hidden;
}

body {
  background-color: #350e09;
}

.flex-1 {
  flex: 1;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes scroll-down {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(calc(-100% - var(--gap)));
  }
}
/* 墙容器基础样式 */
.wall {
  display: flex;
  gap: var(--gap);
  overflow: hidden;
  user-select: none;
}
.wall-group {
  width: 100%;
  display: flex;
  flex-shrink: 0;
  gap: var(--gap);
  align-items: center;
  will-change: transform;
}
.wall.vertical .wall-group {
  flex-direction: column;
  animation: scroll-down var(--duration) linear infinite;
}

/* 通用弹窗 */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;

  display: flex;
  justify-content: center;
  align-items: center;

  transform: translateZ(0);
}
.modal-wrapper .modal-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}
.modal-wrapper .modal-box {
  position: relative;
  transform: scale(1);
  opacity: 1;
  transition: all 0.3s;
}
.fx-modal-enter .modal-mask,
.fx-modal-leave-active .modal-mask {
  opacity: 0;
}
.fx-modal-enter .modal-box,
.fx-modal-leave-active .modal-box {
  transform: scale(0.9);
  opacity: 0;
}
.fx-modal-enter-active,
.fx-modal-leave-active {
  transition: all 0.3s;
}

.common-modal .modal-box {
  background-image: linear-gradient(0deg, #b9956d 0%, #674333 100%);
  border-radius: 12px;
  padding: 5px 4px;
}
.common-modal .modal-container {
  position: relative;
  min-width: 352px;
  min-height: 130px;
  background-image: linear-gradient(180deg, #ba3e3e 0%, #7d1c23 100%);
  border-radius: 8px;

  display: flex;
  flex-direction: column;
}
.common-modal .modal-container .close-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 34px;
  height: 34px;
  background: url('https://static.fhyx.com/images/application/pc/com/2026shuangdan/button_cancel.png') no-repeat;
  background-size: cover;
}
.common-modal .modal-container .modal-title {
  flex-shrink: 0;
  font-size: 20px;
  height: 46px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.common-modal .modal-container .modal-body {
  flex: 1;
  min-height: 0;
}
.common-modal .modal-container .modal-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 15px 0;
}
.common-modal .modal-container .modal-footer .footer-btn {
  min-width: 96px;
  height: 34px;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 16px;
  color: #ffffff;
  border-radius: 4px;
}
.common-modal .modal-container .modal-footer .footer-btn.cancel {
  color: #362e28;
  background-image: linear-gradient(0deg, #e9b172 0%, #925d43 100%);
}
.common-modal .modal-container .modal-footer .footer-btn.ok {
  background-image: linear-gradient(0deg, #ff7833 0%, #d93b00 100%);
}

.scrollbar {
  overflow-y: auto;
  height: 100%;
}
.scrollbar::-webkit-scrollbar-track {
  background-color: #fffcf2;
  border-radius: 8px;
}
.scrollbar::-webkit-scrollbar-thumb {
  background: #751e24;
  cursor: pointer;
  border-radius: 6px;
}
.scrollbar::-webkit-scrollbar {
  width: 16px;
}
