/* 全站共用登录条 */
.site-auth-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 60;
}
.site-auth-bar:not(.is-inline) {
  position: fixed;
  top: 0;
  right: 12px;
  height: 56px;
}
.site-auth-bar.is-home:not(.is-inline) {
  /* 与首页 Hero 顶栏 h-14(56px) 同一水平中线 */
  top: 0;
  height: 56px;
  align-items: center;
}
.site-auth-bar.is-inline {
  position: relative;
  height: auto;
  margin-left: 12px;
}
/* 个人中心未登录：停靠到登录卡片，改成上下表单 */
.site-auth-bar.is-docked {
  position: relative;
  top: auto;
  right: auto;
  height: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 10px;
  z-index: 2;
}
.site-auth-bar.is-home.is-docked {
  top: auto;
  height: auto;
}
.site-auth-bar.is-docked .site-auth-input {
  grid-column: 1 / -1;
  width: 100%;
  height: 42px;
  display: block;
  font-size: 14px;
}
.site-auth-bar.is-docked > [hidden] {
  display: none !important;
}
.site-auth-bar.is-docked > .site-auth-btn:not(.site-auth-profile) {
  height: 42px;
  width: 100%;
}
.site-auth-bar.is-docked .site-auth-msg {
  grid-column: 1 / -1;
  max-width: none;
  font-size: 12px;
  line-height: 1.45;
}
.site-auth-input {
  height: 34px;
  width: 100px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f3f4f6;
  font-size: 12px;
  outline: none;
  font-family: inherit;
}
.site-auth-input::placeholder {
  color: rgba(243, 244, 246, 0.45);
}
.site-auth-input:focus {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.site-auth-btn {
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.site-auth-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.28);
}
a.site-auth-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 12px 0 13px;
  max-width: min(248px, 46vw);
  text-decoration: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.26) !important;
}
a.site-auth-profile:hover {
  background: rgba(255, 255, 255, 0.26) !important;
}
.site-auth-who-name {
  min-width: 0;
  max-width: 7.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.site-auth-who-name:empty {
  display: none;
}
.site-auth-who-name:empty + .site-auth-identity-sep {
  display: none;
}
.site-auth-identity-sep {
  width: 1px;
  height: 13px;
  margin: 0 9px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.28);
}
.site-auth-identity-action {
  flex-shrink: 0;
  font-weight: 500;
  opacity: 0.82;
  white-space: nowrap;
}
a.site-auth-profile:hover .site-auth-identity-action {
  opacity: 1;
}
.site-auth-btn-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: none;
}
.site-auth-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
/* 变体只保留轻描边色相，不再用实色填充破坏玻璃感 */
.site-auth-bar.is-hud .site-auth-btn-ghost {
  border-color: rgba(103, 232, 249, 0.28) !important;
}
.site-auth-bar.is-game .site-auth-btn-ghost {
  border-color: rgba(196, 181, 253, 0.28) !important;
}
.site-auth-bar.is-library .site-auth-btn-ghost {
  border-color: rgba(212, 181, 122, 0.28) !important;
}
.site-auth-bar.is-hot .site-auth-btn-ghost {
  border-color: rgba(255, 176, 32, 0.3) !important;
}
.site-auth-bar.is-ink .site-auth-btn-ghost,
.site-auth-bar.is-home .site-auth-btn-ghost {
  border-color: rgba(255, 255, 255, 0.18) !important;
}
.site-auth-msg {
  font-size: 11px;
  color: #f472b6;
  max-width: 220px;
}
.site-auth-status {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.08);
}

/* 产业 HUD */
.site-auth-bar.is-hud .site-auth-input {
  border-color: rgba(103, 232, 249, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #e8f4ff;
}
.site-auth-bar.is-hud .site-auth-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(103, 232, 249, 0.28);
}
.site-auth-bar.is-hud .site-auth-msg {
  color: #ff6b35;
}

/* 游戏 */
.site-auth-bar.is-game .site-auth-input {
  border-color: rgba(196, 181, 253, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f3ff;
}
.site-auth-bar.is-game .site-auth-input::placeholder {
  color: rgba(245, 243, 255, 0.45);
}
.site-auth-bar.is-game .site-auth-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(196, 181, 253, 0.28);
}

/* 工具馆 */
.site-auth-bar.is-library .site-auth-input {
  border-color: rgba(212, 181, 122, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f0e6d6;
}
.site-auth-bar.is-library .site-auth-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(212, 181, 122, 0.28);
}

/* 热点 */
.site-auth-bar.is-hot .site-auth-input {
  border-color: rgba(255, 176, 32, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #ffe8d6;
}
.site-auth-bar.is-hot .site-auth-input:focus {
  border-color: rgba(255, 176, 32, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.site-auth-bar.is-hot .site-auth-btn:not(.site-auth-btn-ghost),
.site-auth-bar.is-hot a.site-auth-profile {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 176, 32, 0.32) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  letter-spacing: 0.02em;
}
.site-auth-bar.is-hot .site-auth-btn:not(.site-auth-btn-ghost):hover,
.site-auth-bar.is-hot a.site-auth-profile:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.site-auth-bar.is-hot .site-auth-btn-ghost {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 176, 32, 0.3) !important;
}
.site-auth-bar.is-hot .site-auth-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 176, 32, 0.45) !important;
}
.site-auth-bar.is-hot .site-auth-msg {
  color: #ff7a45;
}

/* 关于 */
.site-auth-bar.is-ink .site-auth-input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ebe6dc;
}
.site-auth-bar.is-ink .site-auth-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 首页 */
.site-auth-bar.is-home .site-auth-input {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f5f5f4;
}
.site-auth-bar.is-home .site-auth-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 1100px) {
  .site-auth-bar:not(.is-docked) .site-auth-input {
    width: 80px;
  }
}
@media (max-width: 720px) {
  .site-auth-bar:not(.is-inline):not(.is-docked) .site-auth-input {
    display: none;
  }
  .site-auth-who-name {
    max-width: 5.2em;
  }
}
@media (max-width: 520px) {
  .site-auth-identity-sep,
  .site-auth-identity-action {
    display: none;
  }
  a.site-auth-profile {
    padding: 0 12px;
  }
}

/* —— 注册弹窗 —— */
.site-auth-register-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 0;
  max-width: min(400px, calc(100vw - 32px));
  width: 100%;
  height: fit-content;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #14181f;
  color: #f3f4f6;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.site-auth-register-dialog::backdrop {
  background: rgba(6, 8, 12, 0.62);
  backdrop-filter: blur(4px);
}
.site-auth-register-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 18px;
  margin: 0;
}
.site-auth-register-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-auth-register-title {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.site-auth-register-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.site-auth-register-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}
.site-auth-register-desc {
  margin: 0;
  font-size: 12px;
  opacity: 0.65;
  line-height: 1.5;
}
.site-auth-register-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
}
.site-auth-register-field > span {
  opacity: 0.75;
}
.site-auth-register-field input {
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.site-auth-register-field input:focus {
  border-color: rgba(103, 232, 249, 0.55);
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.18);
}
.site-auth-register-msg {
  margin: 0;
  font-size: 12px;
  color: #f472b6;
  line-height: 1.4;
}
.site-auth-register-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}
.site-auth-register-actions .site-auth-btn {
  min-width: 88px;
}

.site-auth-register-dialog.is-hud {
  border-color: rgba(0, 210, 255, 0.35);
  background: #061018;
  color: #e8f4ff;
  border-radius: 0;
  clip-path: polygon(10px 0%, 100% 0%, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0% 100%, 0% 10px);
}
.site-auth-register-dialog.is-hud .site-auth-register-field input {
  border-radius: 0;
  border-color: rgba(0, 210, 255, 0.35);
  background: rgba(0, 210, 255, 0.04);
  clip-path: polygon(4px 0%, 100% 0%, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0% 100%, 0% 4px);
}
.site-auth-register-dialog.is-hud .site-auth-register-msg {
  color: #ff6b35;
}

.site-auth-register-dialog.is-game {
  border-color: rgba(155, 106, 241, 0.4);
  background: #16122a;
  color: #f5f3ff;
}
.site-auth-register-dialog.is-game .site-auth-register-field input {
  border-color: rgba(155, 106, 241, 0.35);
  background: rgba(20, 16, 50, 0.85);
}

.site-auth-register-dialog.is-library {
  border-color: rgba(212, 181, 122, 0.4);
  background: #1a1410;
  color: #f0e6d6;
  border-radius: 4px;
}
.site-auth-register-dialog.is-hot {
  border-color: rgba(255, 90, 31, 0.45);
  background: #1a0e0c;
  color: #ffe8d6;
  border-radius: 4px;
}
.site-auth-register-dialog.is-hot .site-auth-register-field input {
  border-radius: 2px;
  border-color: rgba(255, 90, 31, 0.35);
  background: rgba(255, 90, 31, 0.06);
  color: #ffe8d6;
}
.site-auth-register-dialog.is-library .site-auth-register-field input {
  border-radius: 2px;
  border-color: rgba(212, 181, 122, 0.4);
  background: rgba(26, 20, 16, 0.85);
}

.site-auth-register-dialog.is-ink,
.site-auth-register-dialog.is-home {
  border-color: rgba(196, 165, 116, 0.4);
  background: #12151c;
  color: #ebe6dc;
  border-radius: 4px;
}
.site-auth-register-dialog.is-ink .site-auth-register-field input,
.site-auth-register-dialog.is-home .site-auth-register-field input {
  border-radius: 2px;
  border-color: rgba(196, 165, 116, 0.35);
  background: rgba(16, 19, 26, 0.9);
}
.site-auth-register-dialog.is-home .site-auth-register-field input:focus,
.site-auth-register-dialog.is-ink .site-auth-register-field input:focus {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.18);
}

/* 消息信封（登录后显示在「个人中心」左侧） */
.site-auth-notify-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-auth-notify-wrap[hidden] {
  display: none !important;
}
.site-auth-notify {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.site-auth-notify:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.site-auth-notify.has-unread {
  border-color: rgba(251, 191, 36, 0.65);
  color: #fbbf24;
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.2);
}
.site-auth-notify.has-unread .site-auth-notify-ico {
  stroke-width: 2.1;
}
.site-auth-notify-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}
.site-auth-bar.is-hud .site-auth-notify {
  border-color: rgba(103, 232, 249, 0.3);
  color: rgba(255, 255, 255, 0.92);
  clip-path: none;
  border-radius: 9999px;
  width: 34px;
  height: 34px;
}
.site-auth-bar.is-hud .site-auth-notify.has-unread {
  border-color: rgba(251, 191, 36, 0.7);
  color: #fbbf24;
}
.site-auth-bar.is-game .site-auth-notify {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(196, 181, 253, 0.3);
}
.site-auth-bar.is-library .site-auth-notify,
.site-auth-bar.is-ink .site-auth-notify,
.site-auth-bar.is-home .site-auth-notify {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.18);
}
.site-auth-bar.is-hot .site-auth-notify {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 176, 32, 0.32);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
}
.site-auth-bar.is-hot .site-auth-notify.has-unread {
  border-color: rgba(255, 176, 32, 0.7);
  color: #ffb020;
  box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.2);
}
.site-auth-notify-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  max-height: min(420px, 70vh);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 22, 30, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  color: #e8e6e0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 80;
  overflow: hidden;
}
.site-auth-notify-panel[hidden] {
  display: none !important;
}
.site-auth-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-auth-notify-title {
  font-size: 13px;
  font-weight: 600;
}
.site-auth-notify-markall {
  border: 0;
  background: transparent;
  color: #67e8f9;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}
.site-auth-notify-markall:hover {
  text-decoration: underline;
}
.site-auth-notify-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
}
.site-auth-notify-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: inherit;
  padding: 10px 12px;
  cursor: pointer;
  font-family: inherit;
}
.site-auth-notify-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.site-auth-notify-item.is-unread {
  background: rgba(251, 191, 36, 0.08);
}
.site-auth-notify-item-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}
.site-auth-notify-item.is-unread .site-auth-notify-item-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  margin-bottom: 1px;
  border-radius: 50%;
  background: #fbbf24;
  vertical-align: middle;
}
.site-auth-notify-item-body {
  display: block;
  font-size: 11px;
  color: rgba(232, 230, 224, 0.65);
  line-height: 1.4;
  margin-bottom: 4px;
}
.site-auth-notify-item-time {
  display: block;
  font-size: 10px;
  color: rgba(232, 230, 224, 0.45);
}
.site-auth-notify-empty {
  margin: 0;
  padding: 28px 12px;
  text-align: center;
  font-size: 12px;
  color: rgba(232, 230, 224, 0.5);
}

/* 站内积分金币徽章（全局：顶栏 / 个人中心 / 游戏页） */
.game-points-earn-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  padding: 0.08rem 0.4rem 0.08rem 0.28rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.55);
  background: linear-gradient(
    135deg,
    rgba(245, 197, 66, 0.32),
    rgba(201, 137, 10, 0.16)
  );
  color: #e8c15a;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}
.game-points-earn-ico {
  width: 0.75rem;
  height: 0.75rem;
  flex: 0 0 auto;
  color: #f0c43a;
  filter: drop-shadow(0 0 3px rgba(224, 168, 32, 0.5));
}
.game-points-earn-badge.is-inline {
  margin: 0 0.15em;
  transform: translateY(-0.05em);
}
.game-points-earn-badge.is-ico {
  padding: 0.1rem;
  gap: 0;
}
.game-points-earn-badge.is-lg {
  font-size: 0.7rem;
  padding: 0.12rem 0.5rem 0.12rem 0.35rem;
}
.game-points-earn-badge.is-lg .game-points-earn-ico {
  width: 0.85rem;
  height: 0.85rem;
}
.ac-k .game-points-earn-badge,
.ac-audit-title .game-points-earn-badge,
.ac-users-field > span .game-points-earn-badge,
.ac-table th .game-points-earn-badge {
  vertical-align: middle;
}

/* 积分（登录后显示在「个人中心」左侧、消息右侧） */
.site-auth-points-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-auth-points-wrap[hidden] {
  display: none !important;
}
.site-auth-points {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 34px;
  padding: 0 11px 0 9px;
  border: 1px solid rgba(251, 191, 36, 0.38);
  border-radius: 9999px;
  background: rgba(251, 191, 36, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fbbf24;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.site-auth-points:hover {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fcd34d;
}
.site-auth-points.is-flash {
  animation: site-auth-points-flash 0.9s ease;
}
.site-auth-points-ico {
  flex-shrink: 0;
  opacity: 0.95;
}
.site-auth-points-val {
  font-variant-numeric: tabular-nums;
  min-width: 0.8em;
}
.site-auth-points-delta {
  position: absolute;
  top: -10px;
  right: -2px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #f59e0b;
  color: #1c1410;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.site-auth-points-delta[hidden] {
  display: none !important;
}
@keyframes site-auth-points-flash {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.55); }
  40% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
  100% { box-shadow: none; }
}
.site-auth-bar.is-hud .site-auth-points {
  border-color: rgba(103, 232, 249, 0.4);
  background: rgba(103, 232, 249, 0.1);
  color: #67e8f9;
}
.site-auth-bar.is-hud .site-auth-points:hover {
  border-color: rgba(103, 232, 249, 0.6);
  color: #a5f3fc;
  background: rgba(103, 232, 249, 0.15);
}
.site-auth-bar.is-game .site-auth-points {
  border-color: rgba(196, 181, 253, 0.42);
  background: rgba(196, 181, 253, 0.1);
  color: #c4b5fd;
}
.site-auth-bar.is-hot .site-auth-points {
  border-color: rgba(255, 176, 32, 0.45);
  background: rgba(255, 176, 32, 0.12);
  color: #ffb020;
}
.site-auth-points-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(300px, calc(100vw - 24px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 22, 30, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  color: #e8e6e0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 40px rgba(0, 0, 0, 0.35);
  z-index: 80;
}
.site-auth-points-panel[hidden] {
  display: none !important;
}
.site-auth-points-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.site-auth-points-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.site-auth-points-panel-close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
}
.site-auth-points-panel-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}
.site-auth-points-balance {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 4px 0 2px;
}
.site-auth-points-balance-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #fbbf24;
  line-height: 1;
}
.site-auth-bar.is-hud .site-auth-points-balance-num { color: #67e8f9; }
.site-auth-bar.is-game .site-auth-points-balance-num { color: #c4b5fd; }
.site-auth-bar.is-hot .site-auth-points-balance-num { color: #ffb020; }
.site-auth-points-balance-unit {
  font-size: 12px;
  color: rgba(232, 230, 224, 0.55);
}
.site-auth-points-lead {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(232, 230, 224, 0.58);
}
.site-auth-points-ways {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-auth-points-way {
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.site-auth-points-way-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.site-auth-points-way-name {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 12px;
  font-weight: 600;
  color: #f3f4f6;
}
.site-auth-points-way-delta {
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  font-variant-numeric: tabular-nums;
}
.site-auth-bar.is-hud .site-auth-points-way-delta { color: #67e8f9; }
.site-auth-bar.is-game .site-auth-points-way-delta { color: #c4b5fd; }
.site-auth-bar.is-hot .site-auth-points-way-delta { color: #ffb020; }
.site-auth-points-way-desc {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  color: rgba(232, 230, 224, 0.55);
}
.site-auth-points-footer {
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  font-size: 12px;
  color: #67e8f9;
  text-decoration: none;
}
.site-auth-points-footer:hover {
  text-decoration: underline;
}
.site-auth-bar.is-game .site-auth-points-footer { color: #c4b5fd; }
.site-auth-bar.is-hot .site-auth-points-footer { color: #ffb020; }
.site-auth-bar.is-home .site-auth-points-footer,
.site-auth-bar.is-ink .site-auth-points-footer,
.site-auth-bar.is-library .site-auth-points-footer { color: #fbbf24; }

@media (max-width: 720px) {
  .site-auth-points {
    padding: 0 9px;
  }
}


