/* ── Toggle —  */
  .lang-toggle-wrap {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      
}  
  .lang-badges { display: flex; align-items: center; gap: 7px; }

  .badge-main {
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    padding: 2px 5px; border-radius: 4px; border: 1px solid transparent;
    transition: all 0.3s ease; color: #fff;
    line-height:normal;
  }
  .badge-ru { background: #1585f8; border-color: rgba(255,255,255,0.35); opacity: 1; }
  .badge-en { background: #d30101; opacity: 0.3; }

  .lang-toggle {
    position: relative; width: 55px; height: 26px;
    cursor: pointer; user-select: none;
  }
  .lang-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }

  .track {
    position: absolute; inset: 0; border-radius: 13px;
    background: linear-gradient(90deg, #1b4fe8 0%, #0033a0 100%);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 2px 12px rgba(0,51,160,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
    overflow: hidden;
  }
  .track::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(120deg, transparent, transparent 6px, rgba(255,255,255,0.03) 6px, rgba(255,255,255,0.03) 12px);
    border-radius: inherit;
  }

  .thumb {
    position: absolute; top: 2px; left: 2px;
    width: 22px; height: 22px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.6);
    overflow: hidden; display: flex; align-items: center; justify-content: center;
    transition: transform 0.1s ease;
  }
  .lang-toggle:active .thumb { transform: scale(0.93); }

  .flag-face { position: absolute; width: 100%; height: 100%; border-radius: 50%; }
  .flag-face svg { 
      width: 22px; 
      height: 22px; 
      border-radius: 50%; 
      vertical-align: baseline !important }

  .lang-toggle::before {
    content: "Switch to EN →";
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: rgba(20,30,60,0.95); color: #aac4ee;
    font-size: 10px; letter-spacing: 0.5px; padding: 4px 8px;
    border-radius: 6px; border: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease; z-index: 10;
    font-family: 'Segoe UI', system-ui, sans-serif;
  }
  .lang-toggle:hover::before { opacity: 1; }
