#zyl-token-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: 38px;
  overflow: hidden;
  background: linear-gradient(90deg, #120d04 0%, #2a210c 40%, #1a1408 100%);
  border-bottom: 1px solid rgba(248, 200, 53, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
#zyl-token-ticker .zyl-ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: linear-gradient(90deg, #f8c835 0%, #ffe36a 100%);
  color: #1a1204;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}
#zyl-token-ticker .zyl-ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  padding-left: 108px;
  animation: zylTickerScroll 28s linear infinite;
}
#zyl-token-ticker:hover .zyl-ticker-track {
  animation-play-state: paused;
}
.zyl-ticker-chip {
  display: inline-flex;
  align-items: center;
  margin-right: 28px;
  padding: 4px 12px;
  border-radius: 16px;
  border: 1px solid rgba(248, 200, 53, 0.35);
  background: rgba(248, 200, 53, 0.08);
  color: #ffe9a3;
  white-space: nowrap;
  animation: zylChipFloat 2.8s ease-in-out infinite;
}
.zyl-ticker-chip:nth-child(2n) { animation-delay: 0.6s; }
.zyl-ticker-chip:nth-child(3n) { animation-delay: 1.2s; }
.zyl-ticker-chip .name {
  font-weight: 800;
  color: #ffd24a;
  margin-right: 8px;
  font-size: 13px;
}
.zyl-ticker-chip .kind {
  font-size: 11px;
  color: #cbb57a;
  margin-right: 8px;
}
.zyl-ticker-chip .amt {
  font-size: 12px;
  color: #fff6d2;
  margin-right: 8px;
}
.zyl-ticker-chip .h {
  font-size: 11px;
  color: #9e8b55;
}
.zyl-ticker-chip .new {
  margin-left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: #1a1204;
  background: #ffd24a;
  border-radius: 8px;
  padding: 1px 6px;
}
@keyframes zylTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes zylChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
body.zyl-ticker-on {
  padding-top: 38px !important;
}
@media (max-width: 769px) {
  #zyl-token-ticker { height: 34px; }
  #zyl-token-ticker .zyl-ticker-label { padding: 0 8px; font-size: 11px; }
  #zyl-token-ticker .zyl-ticker-track { padding-left: 86px; }
  body.zyl-ticker-on { padding-top: 34px !important; }
}

/* PC wallet logo + 区块浏览器 title: stop overlap from old absolute layout */
.header-content-logo {
  width: 52px !important;
  height: 52px !important;
  margin: 0 18px 0 0 !important;
  padding: 0 !important;
  float: none !important;
  display: block !important;
  border-radius: 10px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  background: transparent !important;
}
.logo-title-content {
  float: none !important;
  margin: 0 !important;
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
}
.logo-title-eid {
  margin: 0 !important;
  height: auto !important;
  letter-spacing: 1px !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}
.logo-title-text {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 !important;
  height: auto !important;
  letter-spacing: 6px !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  color: #f0d36a !important;
  opacity: 0.95;
}
@media (min-width: 770px) {
  .header-toolbar .header-content {
    display: flex !important;
    align-items: center !important;
  }
  .search-header-input {
    margin-top: 0 !important;
    margin-left: auto !important;
    float: none !important;
  }
}
@media (max-width: 769px) {
  .header-title {
    display: flex !important;
    align-items: center !important;
  }
  .header-content-logo {
    width: 40px !important;
    height: 40px !important;
    margin: 0 12px 0 0 !important;
  }
  .logo-title-eid {
    font-size: 18px !important;
    letter-spacing: 0.5px !important;
  }
  .logo-title-text {
    letter-spacing: 4px !important;
    font-size: 12px !important;
  }
}
