.site-data-announcement {
  margin: 0 auto 18px;
  padding: 11px 18px;
  max-width: 1160px;
  color: #fff;
  background: rgba(23, 36, 53, .86);
  border: 1px solid rgba(255, 206, 120, .38);
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.7;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track {
  display: inline-block;
  min-width: max-content;
  padding-left: 100%;
  animation: cms-marquee var(--announcement-duration, 22s) linear infinite;
}

@keyframes cms-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* The original template used the three download images as backgrounds and
   hid the anchor text off-screen. The CMS now controls the label, so render
   each label as live text while keeping the same button size and position. */
.gamedown .pc,
.gamedown .android,
.gamedown .ios {
  background-image: none !important;
}

.gamedown a.cms-download-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 220px !important;
  height: 80px !important;
  padding: 0 16px;
  box-sizing: border-box;
  color: #583517 !important;
  background: linear-gradient(180deg, #ffe6a8 0%, #e8b766 48%, #ffd88e 100%);
  border: 3px solid #a96d27;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(255, 239, 182, .9), inset 0 0 0 5px rgba(132, 76, 24, .55), 0 3px 0 rgba(37, 25, 16, .45);
  font: 700 24px/1.2 "Microsoft YaHei", sans-serif;
  letter-spacing: 1px;
  text-align: center;
  text-indent: 0 !important;
  text-shadow: 0 1px 0 rgba(255, 237, 177, .7);
  white-space: normal;
}

.gamedown a.cms-download-link:hover {
  color: #3e220e !important;
  filter: brightness(1.06);
  text-decoration: none;
}

.gamedown a.cms-download-link::after {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(120, 73, 24, .55);
}

/* The original customer-service buttons were also flattened images. Render
   their text as live HTML so labels changed in the CMS are immediately visible. */
.fixedbox .cms-service-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 26px;
  padding: 0 9px;
  box-sizing: border-box;
  border-radius: 3px;
  border: 1px solid #1689ba;
  background: linear-gradient(#57c3ed, #159bd1);
  color: #fff !important;
  font: 13px/24px "Microsoft YaHei", sans-serif;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  text-decoration: none;
  vertical-align: middle;
}

.fixedbox .cms-service-button:hover { filter: brightness(1.08); text-decoration: none; }
.fixedbox .cms-service-button img { display: none !important; }
.fixedbox .cms-service-button span { display: inline-block; color: inherit; }
.fixedbox .cms-recharge-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 160px !important;
  height: 60px !important;
  box-sizing: border-box;
  border: 2px solid #9c1d11;
  background: linear-gradient(#ed4d22, #bb180d);
  color: #ffd66b !important;
  font: 700 21px/1.2 "Microsoft YaHei", sans-serif;
  text-shadow: 0 1px 1px #6c1208;
  text-decoration: none;
}
.fixedbox .cms-recharge-link:hover { filter: brightness(1.08); text-decoration: none; }
.fixedbox .cms-recharge-image { display: none !important; }
.fixedbox .cms-recharge-label { display: inline-block; }
