* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #0d0906;
  color: #f8efe2;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  display: flex;
  justify-content: center;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  border: 0;
  outline: 0;
  font: inherit;
}

button {
  padding: 0;
  background: transparent;
}

img {
  display: block;
  width: 100%;
}

.inner-page {
  position: relative;
  width: 7.5rem;
  min-height: 20.64rem;
  overflow: hidden;
  background: #0d0906 url("./assets/nybg.jpg") top center / 7.5rem auto no-repeat;
}

.inner-content {
  padding: 0.44rem 0.22rem 1.81rem;
}

.search-box {
  position: relative;
  width: 7.06rem;
  height: 0.87rem;
  display: flex;
  align-items: center;
  padding-left: 0.9rem;
  border: 0.015rem solid #957967;
  border-radius: 0.2rem;
  background: rgba(3, 3, 3, 0.32);
  backdrop-filter: blur(0.08rem);
  -webkit-backdrop-filter: blur(0.08rem);
}

.search-box i {
  position: absolute;
  left: 0.29rem;
  top: 0.25rem;
  width: 0.37rem;
  height: 0.37rem;
  background: url("./assets/search.svg") center / contain no-repeat;
}

.search-box input {
  width: 5.55rem;
  background: transparent;
  color: #d4b399;
  font-size: 0.25rem;
  font-weight: 700;
}

.search-box input::placeholder {
  color: #c5a187;
  opacity: 1;
}

.gradient-border {
  position: relative;
}

.gradient-border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 0.015rem;
  border-radius: inherit;
  background: linear-gradient(180deg, #957967 0%, #95836726 100%);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: 7.5rem;
 
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0.12rem 0px;
  background: linear-gradient(90deg, #38291e80 0%, #1c150c80 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

.tabbar a {
  height: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  color: rgba(232, 213, 194, 0.72);
  font-size: 0.24rem;
  font-weight: 700;
}

.tabbar .active {
  color: #ffb078;
  font-weight: 900;
}

.tabbar img {
  width: 0.52rem;
  height: 0.52rem;
  object-fit: contain;
}

.tabbar .active img {
  filter: brightness(0) saturate(100%) invert(79%) sepia(52%) saturate(947%) hue-rotate(318deg) brightness(101%) contrast(101%);
}

.gradient-title {
  background: linear-gradient(270deg, #ffcd9f 0%, #fff5e9fc 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
