/* ============================================================
   CKB-CMS-VERTICAL-SLICE-R1-C-R2-R1
   Language Switch Divider Visibility & Final Optical Reclosure

   Presentation-only closure on top of bilingual-stability-r2.css.
   - A real 1px divider is drawn from currentColor so it remains visible
     on both dark and light Header/Curtain states.
   - Chinese Event H1 receives a deliberately tiny optical reduction;
     block origins, fixed anchors and routing remain unchanged.
   ============================================================ */

/* 1) DE | 中文 divider: do not rely on a font glyph whose inherited color
      can disappear against the dark Header. Keep the existing fixed track. */
.language-switch .lang-divider,
.mobile-root-meta.ckb-language-switcher .lang-divider {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: inherit !important;
  opacity: 1 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.language-switch .lang-divider::before,
.mobile-root-meta.ckb-language-switcher .lang-divider::before {
  content: "";
  display: block;
  inline-size: 1px;
  block-size: 15px;
  flex: 0 0 1px;
  background: currentColor;
  border-radius: 1px;
  opacity: .50;
}
.mobile-root-meta.ckb-language-switcher .lang-divider::before {
  block-size: 18px;
  opacity: .46;
}

/* 2) Final CJK optical calibration. German keeps the inherited 0.4.3 metrics.
      Chinese is one CSS pixel smaller across the responsive scale and uses a
      slightly tighter line box. This is optical matching, not geometric drift. */
html[data-review-lang="zh"] .ckb-event-detail__header h1 {
  font-size: clamp(43px, calc(6.25vw - 1px), 85px);
  line-height: 1.01;
  letter-spacing: -.016em;
}
@media (max-width: 860px) {
  html[data-review-lang="zh"] .ckb-event-detail__header h1 {
    font-size: clamp(35px, calc(11vw - 1px), 55px);
  }
}

/* CKB-CMS-HOMEPAGE-R1-R1-R1 — real-phone language pill vertical alignment.
   Inherited phone pill has 7px top/bottom padding and 44px-tall grid
   children inside a 44px outer box. Remove only the conflicting vertical
   padding; preserve pill box, hit targets, tracks, divider and typography. */
@media (max-width: 640px) {
  .ckb-language-switcher.language-switch {
    padding-block: 0 !important;
    align-content: center !important;
  }
}
