html[data-lang="zh"] .en,
html[data-lang="zh"] .lang-en { display: none !important; }

html[data-lang="en"] .zh,
html[data-lang="en"] .lang-zh { display: none !important; }

#lang-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 10000;
  display: flex;
  gap: 6px;
  align-items: center;
  font-family: ui-sans-serif, "Segoe UI", sans-serif;
}

#lang-switch button,
#lang-switch a {
  appearance: none;
  background: rgba(0, 0, 0, 0.78);
  color: rgba(0, 255, 204, 0.86);
  border: 1px solid rgba(0, 255, 204, 0.4);
  border-radius: 999px;
  padding: 7px 12px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
}

#lang-switch button.is-on,
#lang-switch button:hover,
#lang-switch a:hover {
  color: #04120f;
  background: #00ffcc;
  border-color: #00ffcc;
}

@media print {
  #lang-switch,
  .resume-lang-jump { display: none !important; }
}

.resume-lang-jump {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 10px 18px;
  background: #041018;
  color: rgba(0, 255, 204, 0.8);
  font-family: ui-sans-serif, "Segoe UI", sans-serif;
  font-size: 13px;
}

.resume-lang-jump a { color: #00ffcc; }
