:root{
  /* --bg:#f5f6f8; */
  --bg:#202020;
  /* --card:#ffffff; */
  --card:#292929;
  /* --border:#e5e6eb; */
  --border:#353535;
  /* --text:#1d2129; */
  --text:#fff;
  --sub:#86909c;
  --up:#e60012;
  --down:#009944;
  --main:#165dff;
  --remove: rgb(251, 57, 47);
}

*{box-sizing:border-box}

.tip-box {
  margin-top: 15px;
  display: flex;
}

.click-tip {
  font-size: 11px;
  color: var(--sub);
}

.fav-stock-info {
  max-width: 200px;
}

.details-btn {

}
.remove-btn {
  background-color: var(--remove);
}

#no-data-tip {
  /* display: flex; */
  display: none;
  align-items: center;
}
#no-data-tip svg {
  width: 20px;
  margin: 0 5px;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC";
}

.header{
  position:fixed;
  top:0;
  width:100%;
  height:48px;
  /* background:#fff; */
  background:#292929;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
  border-bottom:1px solid var(--border);
  z-index:10;
}

.header.back{
  justify-content:flex-start;
  padding-left:12px;
}

.container{
  padding:60px 12px 80px;
}

.card{
  background:var(--card);
  border-radius:10px;
  padding:12px;
  margin-bottom:10px;
  border:1px solid var(--border);
}

.banner {
  padding: 0;
  background: var(--bg);
  overflow: hidden;
  border-radius: 5px;
  border: 0;
}
.banner img{
  width:100%;
  /* border-radius:8px; */
}

.search{
  width:100%;
  padding:10px;
  border:1px solid var(--border);
  border-radius:8px;
  /* background:#fafafa; */
  background:#292929;
  color: #fff;
}

.section-title{
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
}

.hot span{
  display:inline-block;
  padding:6px 10px;
  /* background:#f2f3f5; */
  background:#353535;
  border-radius:14px;
  margin:4px;
  font-size:12px;
}

.stock{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.stock-name{font-weight:500}
.stock-code{font-size:12px;color:var(--sub)}

.price{font-size:18px;font-weight:600}
.up{color:var(--up)}
.down{color:var(--down)}

.chart{height:260px}

.tabbar{
  position:fixed;
  bottom:0;
  width:100%;
  height:56px;
  /* background:#fff; */
  background:#292929;
  display:flex;
  align-items: center;
  border-top:1px solid var(--border);
}

.tabbar a{
  flex:1;
  text-align:center;
  /* padding-top:6px; */
  font-size:15px;
  color:var(--sub);
  text-decoration: none;
  /* outline: none; */
}

.tabbar .active{
  /* color:var(--main); */
  color: var(--text);
  font-weight:600;
}

.float-btn{
  position:fixed;
  bottom:80px;
  left:50%;
  transform:translateX(-50%);
  padding:10px 26px;
  border:none;
  border-radius:24px;
  background:var(--main);
  color:#fff;
}

.toast{
  position:fixed;
  bottom:100px;
  left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,.75);
  color:#fff;
  padding:8px 16px;
  border-radius:16px;
  font-size:12px;
}
/* ===== 股票列表 · 非交易所风 ===== */

.stock-card{
  padding:14px;
}

.stock-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.stock-meta{
  margin-top:4px;
  font-size:12px;
  color:var(--sub);
}

.stock-meta .tag{
  margin-left:6px;
  padding:2px 6px;
  /* background:#f2f3f5; */
  background:#353535;
  border-radius:6px;
  font-size:11px;
}

.stock-change{
  font-size:14px;
  font-weight:600;
}

.stock-middle{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-top:10px;
}

.stock-middle .price{
  font-size:20px;
  font-weight:600;
}

.stock-middle .sub{
  font-size:12px;
  color:var(--sub);
}

.stock-bottom{
  display:flex;
  justify-content:space-between;
  margin-top:8px;
  font-size:12px;
  color:var(--sub);
}
