/* One header style for the homepage and every server-rendered news page. */
.topbar {
  box-sizing: border-box;
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 23px;
  background: #07091a;
  color: #fff;
  border-bottom: 1px solid rgba(195, 202, 226, .14);
  position: relative;
  z-index: 2;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}
.topbar .brands, .topbar .top-actions, .topbar .top-actions button {
  display: flex;
  align-items: center;
}
.topbar .brands { gap: 15px; height: 100%; }
.topbar .top-actions { gap: 8px; }
.topbar .top-actions button {
  box-sizing: border-box;
  height: 37px;
  border-radius: 22px;
  padding: 0 20px;
  border: 1px solid rgba(230, 236, 255, .52);
  background: transparent;
  color: #f3f5ff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.topbar .top-actions .invite { background: rgba(240, 244, 255, .13); padding: 0 16px; }
.topbar .coin {
  width: 17px;
  height: 19px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 3px;
  background: linear-gradient(#ffc75c 0 45%, #ff7e57 46% 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}
.topbar .coin::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #ffe8a0; left: 6px; top: 4px; }
.topbar .top-actions .news-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 37px;
  padding: 0 12px;
  color: #f3f5ff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.topbar .top-actions .news-nav:hover { color: #00ead7; }
.topbar button:focus-visible, .topbar a:focus-visible { outline: 3px solid #49dfe2; outline-offset: 3px; }
.topbar .news-nav:focus-visible { border-radius: 6px; }
.action-dialog {
  box-sizing: border-box;
  width: min(440px, calc(100% - 32px));
  margin: auto;
  padding: 27px;
  border: 1px solid #e5ebf2;
  border-radius: 19px;
  color: #23334b;
  background: #fff;
  box-shadow: 0 24px 80px rgba(4, 14, 36, .26);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
}
.action-dialog::backdrop { background: rgba(5, 11, 28, .58); backdrop-filter: blur(4px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; }
.dialog-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: #ecf8ff; color: #1389bd; font-size: 18px; font-weight: 800; }
.dialog-close { width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f3f6f9; color: #718095; font-family: inherit; font-size: 21px; cursor: pointer; }
.action-dialog h2 { margin: 19px 0 8px; font-size: 21px; }
.action-dialog p { margin: 0; color: #758397; font-size: 14px; line-height: 1.8; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.dialog-actions button, .dialog-actions a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #dfe6ed; border-radius: 10px; font: inherit; font-size: 13px; font-weight: 650; text-decoration: none; cursor: pointer; }
.dialog-later { color: #617087; background: #fff; }
.dialog-link { color: #fff; background: #101b35; border-color: #101b35 !important; }
@media (max-width: 900px) {
  .topbar { padding: 0 14px; }
  .topbar .top-actions { gap: 5px; }
  .topbar .top-actions button { padding: 0 12px; font-size: 12px; }
}
@media (max-width: 700px) {
  .topbar .top-actions .news-nav { height: 32px; padding: 0 7px; font-size: 11px; }
}
@media (max-width: 560px) {
  .topbar { height: 58px; padding: 0 10px; }
  .topbar .brands { gap: 9px; }
  .topbar .top-actions { gap: 4px; }
  .topbar .top-actions button { height: 32px; padding: 0 9px; font-size: 11px; }
  .topbar .top-actions .invite { display: none; }
}
