



.topbar a {
  color: white;
  text-decoration: none;
}



.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 13, 24, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* 菜单展开时盖过侧边快捷按钮（z-index: 30） */
.topbar.menu-open {
  z-index: 100;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
  width: fit-content;
  max-width: 100%;
}

/*
 * Logo 扫光：窄条 + 动画 left（在 overflow 内横向扫过，兼容性好）。
 * 挂在 .brand 上：帝国 temp.header 里即使没有 brand-logo-wrap，只有 img 也能看到。
 */
.brand::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -75%;
  width: 70%;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.2) 38%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.2) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: brand-logo-sweep-x 2.2s ease-in-out infinite;
}

@keyframes brand-logo-sweep-x {
  0%,
  28% {
    left: -75%;
  }
  52% {
    left: 115%;
  }
  100% {
    left: 115%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand::after {
    animation: none;
  }
}

/* 可选内层：只裁切圆角，扫光已由 .brand::after 负责 */
.brand-logo-wrap {
  position: relative;
  display: block;
  line-height: 0;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-box {
  width: auto;
  height: 45px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  vertical-align: top;
}

.brand-text {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

.main-nav {
  display: block;
  color: var(--muted);
  position: relative;
}

.main-nav a:hover {
  color: #fff;
}

.nav-list,
.sub-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  gap: 18px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-block;
  padding: 6px 0;
  white-space: nowrap;
}

.sub-nav {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 140px;
  z-index: 20;
  background: rgba(12, 20, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 8px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sub-nav a {
  display: block;
  padding: 8px 12px;
  color: #dce3f6;
}

.sub-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-item:hover > .sub-nav {
  display: block;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  padding: 9px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.topbar.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.topbar.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.topbar.menu-open .menu-toggle span {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:focus-visible {
  border: 1px solid var(--line);
  outline: 2px solid #fff;
  outline-offset: 2px;
}




@media (max-width: 980px) {
  .topbar-inner {
    position: relative;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(10, 16, 30, 0.96);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
  }

  .topbar.menu-open .main-nav {
    display: flex;
    max-height: min(72vh, calc(100vh - 72px));
    max-height: min(72vh, calc(100dvh - 72px));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-list {
    display: block;
  }

  .nav-item > a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    color: #dce3f6;
    display: block;
  }
  


  .nav-item:last-child > a {
    border-bottom: 0;
  }

  .sub-nav {
    display: block;
    position: static;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
    padding: 0 0 6px 12px;
    min-width: auto;
  }

  .sub-nav a {
    padding: 8px 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
  }

  .sub-nav li:last-child a {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .top-news-carousel {
    height: min(58vw, 360px);
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    min-height: 58px;
    gap: 8px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .top-news-carousel {
    min-height: 220px;
    height: 62vw;
  }

  .carousel-btn {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .carousel-btn.prev {
    left: 8px;
  }

  .carousel-btn.next {
    right: 8px;
  }

  .slide-content h2 {
    margin-bottom: 6px;
  }

  .slide-content p {
    font-size: 0.86rem;
  }

  .hero-main,
  .hero-side {
    padding: 16px;
    border-radius: 12px;
  }

  .news-panel {
    padding: 12px;
  }

  .hot-list {
    grid-auto-columns: 100%;
  }

  .hot-carousel-btn.prev {
    left: 4px;
  }

  .hot-carousel-btn.next {
    right: 4px;
  }

  .day-filter {
    grid-template-columns: 1fr;
  }



  .day-item {
    justify-content: flex-start;
    font-size: 0.8rem;
  }

  .day-heading {
    flex-wrap: wrap;
    font-size: 0.84rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
    width: 100%;
  }

  .games-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-link-box {
    padding: 10px 12px 12px;
  }

  .friend-links {
    gap: 8px 12px;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    min-height: auto;
    padding: 14px 0 12px;
  }

  .footer-desc {
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .side-tools {
    right: 8px;
    bottom: 70px;
  }

  .side-tool-btn {
    min-width: 68px;
    padding: 7px 8px;
    font-size: 0.72rem;
  }
}





.main-nav .nav-search {
  color: var(--muted);
  transition: color 0.18s ease;
}

.main-nav .nav-search:hover {
  color: #93c5fd;
}

.main-nav .nav-search:after {
  color: inherit;
}


.tab_liansais .match-row{
	margin-top:8px
}



.btn-box{
				  	text-align:center;
				  	padding:12px 0;
				  }
				  
				  .btn-sty{
				  	padding:10px 24px;
				  	background:#af8afc;
				  	color:#fff;
				  	border:none;
				  	border-radius:6px;
				  	cursor:pointer;
				  }
				  
				  .citiao-info{
					  display: flex;
				  }
				  
				  .nav-item > a:hover{
				    color: #d8c7fc;
				  }

