:root {
  --theme-color-1: #69F0AE;
}

body {
  margin: 0;
  height: calc(100vh);
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: system-ui;
}

img {
  pointer-events: none;
  display: block;
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/*导航栏*/
.navbar {
  position: fixed;
  background-color: rgba(255,255,255,.9);
  /*transition: transform ease-in-out .3s,background .3s ease,box-shadow .3s ease;
  */z-index: 2023;
  left: 0px;
  top: 0px;
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  flex-wrap: nowrap;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  backdrop-filter: saturate(150%) blur(12px);
}

.navbar img {
  margin: 4px;
  width: 48px;
}

#logo {
  cursor: pointer;
}

.pages {
  display: flex;
  width: 100%;
  overflow-x: scroll;
  padding-right: 4px;
}

.pages::-webkit-scrollbar {
  display: none;
}

.page-button {
  border: none;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(to bottom right, #69F0AE, #448AFF);
  padding: 2px;
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  align-items: center;
  height: 40px;
  width: 40px;
  border-radius: 22px;
  background-clip: content-box, padding-box;
  transition: filter 0.5s, width 0.5s;
  margin-left: 8px;
  cursor: pointer;
}

.page-button:hover {
  width: 80px !important;
}

.page-button img {
  width: 28px;
  margin: 4px;
  height: 28px;
}

.page-title {
  position: relative;
  margin-left: 6px;
  left: -6px;
  font-size: 16px;
  color: var(--theme-color-1);
  white-space: nowrap;
}

#version {
  position: fixed;
  bottom: 0;
  right: 0;
  color: #9E9E9E;
  font-size: 12px;
  margin: 4px;
}

#main {
  width: 100%;
  height: 100%;
}

#pageview {
  width: 100%;
  height: 100%;
}

.page {
  padding-top: 60px;
  width: 100%;
  height: 100%;
  display: none;
}

#pageview-docs {
  border: none;
  width: 100%;
  height: 100%;
}

/*-----------------------------------------------------------home*/
#page-home {
  overflow-y: auto;
}

#home-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

#page-home .infomations {
}

#home-swiper {
  border-radius: 8px;
  margin: 10px;
}

#home-swiper img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
}

#home-swiper .swiper-slide {
  cursor: pointer;
}

#home-news {
  margin: 10px;
  max-width: 464px;
  box-shadow: 0px 0px 8px #EEEEEE;
  padding: 8px;
  border-radius: 8px;
}

#page-home .head {
  color: var(--theme-color-1);
  font-size: 16px;
}

#home-news .item a, #home-news .item span {
  font-size: 14px;
  color: #424242;
}

#home-news .item span {
  text-align: right;
  display: flex;
  flex-direction: column;
}

#home-hot {
  margin: 10px;
  max-width: 464px;
  box-shadow: 0px 0px 8px #EEEEEE;
  padding: 8px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
}

#home-hot .head {
  grid-column: 1/-1;
}

#home-hot .item {
  text-align: center;
  margin: 4px;
  padding: 8px;
  box-shadow: 0px 0px 8px #EEEEEE;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 8px;
}

#home-hot .rank {
  font-size: 20px;
  font-weight: bold;
  color: #757575;
  margin-left: 12px;
}

#home-hot .data {
  margin-left: 4px;
  margin-right: 8px;
  white-space: nowrap;
}

/*工具页面*/
#page-tools {
  overflow-y: auto;
}

#tools-select {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.tools-class {
  width: fill;
  box-shadow: 0px 0px 8px #EEEEEE;
  margin: 8px;
  border-radius: 8px;
  padding: 0 16px;
  display: flex;
  overflow-x: auto;
}

.tools-class-item {
  margin: 8px 16px;
  white-space: nowrap;
  transition: color 0.5s;
  cursor: pointer;
}

.tools-class-item:hover {
  color: var(--theme-color-1)
}

#tools-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.tools-item {
  margin: 8px;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0px 0px 8px #EEEEEE;
}

.tools-item-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

.tools-item-details {
  margin-left: 12px;
}

.tools-item-name {
  font-size: 18px;

  font-weight: bold;
}

.tools-item-head {
  width:80px;
  height:80px;
}

.tools-item-ctrl {
  display: flex;
  justify-content: space-between;
}

.tools-item-ctrl img {
  width: 24px;
  height: 24px;
  margin-right: 4px;
  cursor: pointer;
}

.tools-item-ctrl div {
  display: flex;
  align-items: center;
  line-height: 14px;
  cursor: pointer;
}











